39 #ifndef vtkCaptionRepresentation_h 40 #define vtkCaptionRepresentation_h 42 #include "vtkInteractionWidgetsModule.h" 72 void SetAnchorPosition(
double pos[3]);
73 void GetAnchorPosition(
double pos[3]);
100 {size[0]=2.0; size[1]=2.0;}
120 vtkSetClampMacro(FontFactor,
double, 0.1, 10.0);
121 vtkGetMacro(FontFactor,
double);
133 int DisplayAttachmentPoint[2];
140 virtual void AdjustCaptionBoundary();
int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
vtkConeSource * CaptionGlyph
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
represent the position of a point in 3D space
abstract specification for Viewports
void GetSize(double size[2]) override
Subclasses should implement these methods.
int RenderOpaqueGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void GetActors2D(vtkPropCollection *) override
These methods are necessary to make this representation behave as a vtkProp.
abstract specification for renderers
static vtkBorderRepresentation * New()
Instantiate this class.
void PrintSelf(ostream &os, vtkIndent indent) override
Define standard methods.
window superclass for vtkRenderWindow
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
represents vtkCaptionWidget in the scene
void BuildRepresentation() override
Subclasses should implement these methods.
a simple class to control print indentation
vtkCaptionActor2D * CaptionActor2D
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
represent a vtkBorderWidget
draw text label associated with a point
vtkPointHandleRepresentation3D * AnchorRepresentation