60#ifndef vtkBalloonRepresentation_h
61#define vtkBalloonRepresentation_h
63#include "vtkInteractionWidgetsModule.h"
111 vtkSetStringMacro(BalloonText);
121 vtkSetVector2Macro(ImageSize,
int);
122 vtkGetVector2Macro(ImageSize,
int);
161 vtkGetMacro(BalloonLayout,
int);
179 vtkSetVector2Macro(Offset,
int);
180 vtkGetVector2Macro(Offset,
int);
188 vtkSetClampMacro(Padding,
int,0,100);
189 vtkGetMacro(Padding,
int);
a actor that draws 2D data
represent the vtkBalloonWidget
virtual void BuildRepresentation()
void SetBalloonLayoutToTextRight()
void SetBalloonLayoutToImageLeft()
void SetBalloonLayoutToTextTop()
virtual void SetBalloonImage(vtkImageData *img)
Specify/retrieve the image to display in the balloon.
void SetBalloonLayoutToImageRight()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataMapper2D * TextureMapper
virtual void ReleaseGraphicsResources(vtkWindow *w)
Methods required by vtkProp superclass.
virtual int RenderOverlay(vtkViewport *viewport)
_InteractionState
State is either outside, or inside (on the text portion ot the image).
virtual void StartWidgetInteraction(double e[2])
These are methods that satisfy vtkWidgetRepresentation's API.
virtual int ComputeInteractionState(int X, int Y, int modify=0)
virtual void SetTextProperty(vtkTextProperty *p)
Set/get the text property (relevant only if text is shown).
vtkTextProperty * TextProperty
vtkPolyData * TexturePolyData
vtkPolyDataMapper2D * FrameMapper
void SetBalloonLayoutToImageTop()
void SetBalloonLayoutToTextLeft()
void AdjustImageSize(double imageSize[2])
void SetBalloonLayoutToImageBottom()
vtkImageData * BalloonImage
void SetBalloonLayoutToTextBottom()
vtkCellArray * FramePolygon
virtual void EndWidgetInteraction(double e[2])
vtkTexturedActor2D * TextureActor
virtual void SetImageProperty(vtkProperty2D *p)
Set/get the image property (relevant only if an image is shown).
vtkPolyData * FramePolyData
vtkBalloonRepresentation()
~vtkBalloonRepresentation()
void ScaleImage(double imageSize[2], double scale)
static vtkBalloonRepresentation * New()
Instantiate the class.
vtkTextMapper * TextMapper
vtkProperty2D * ImageProperty
vtkProperty2D * FrameProperty
virtual void SetFrameProperty(vtkProperty2D *p)
Set/get the frame property (relevant only if text is shown).
vtkPoints * TexturePoints
object to represent cell connectivity
topologically and geometrically regular array of data
a simple class to control print indentation
represent and manipulate 3D points
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a 2D image
An actor that displays text.
represent text properties.
handles properties associated with a texture map
actor that draws 2D data with texture support
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.