36 #ifndef vtkCaptionRepresentation_h
37 #define vtkCaptionRepresentation_h
39 #include "vtkInteractionWidgetsModule.h"
69 void SetAnchorPosition(
double pos[3]);
70 void GetAnchorPosition(
double pos[3]);
96 void GetSize(
double size[2]) VTK_OVERRIDE
105 void ReleaseGraphicsResources(
vtkWindow*) VTK_OVERRIDE;
107 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
108 int RenderTranslucentPolygonalGeometry(
vtkViewport*) VTK_OVERRIDE;
109 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
117 vtkSetClampMacro(FontFactor,
double, 0.1, 10.0);
118 vtkGetMacro(FontFactor,
double);
123 ~vtkCaptionRepresentation() VTK_OVERRIDE;
129 int PointWidgetState;
130 int DisplayAttachmentPoint[2];
137 virtual
void AdjustCaptionBoundary();
140 vtkCaptionRepresentation(const vtkCaptionRepresentation&) VTK_DELETE_FUNCTION;
141 void operator=(const vtkCaptionRepresentation&) VTK_DELETE_FUNCTION;
represent the position of a point in 3D space
abstract specification for Viewports
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
represents vtkCaptionWidget in the scene
void BuildRepresentation() override
Subclasses should implement these methods.
a simple class to control print indentation
represent a vtkBorderWidget
draw text label associated with a point