31 #ifndef vtkBiDimensionalRepresentation_h
32 #define vtkBiDimensionalRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
57 virtual void SetPoint1WorldPosition(
double pos[3]);
58 virtual void SetPoint2WorldPosition(
double pos[3]);
59 virtual void SetPoint3WorldPosition(
double pos[3]);
60 virtual void SetPoint4WorldPosition(
double pos[3]);
61 virtual void GetPoint1WorldPosition(
double pos[3]);
62 virtual void GetPoint2WorldPosition(
double pos[3]);
63 virtual void GetPoint3WorldPosition(
double pos[3]);
64 virtual void GetPoint4WorldPosition(
double pos[3]);
65 virtual void SetPoint1DisplayPosition(
double pos[3]);
66 virtual void SetPoint2DisplayPosition(
double pos[3]);
67 virtual void SetPoint3DisplayPosition(
double pos[3]);
68 virtual void SetPoint4DisplayPosition(
double pos[3]);
69 virtual void GetPoint1DisplayPosition(
double pos[3]);
70 virtual void GetPoint2DisplayPosition(
double pos[3]);
71 virtual void GetPoint3DisplayPosition(
double pos[3]);
72 virtual void GetPoint4DisplayPosition(
double pos[3]);
116 virtual void InstantiateHandleRepresentation();
125 vtkSetClampMacro(Tolerance,
int, 1, 100);
126 vtkGetMacro(Tolerance,
int);
133 virtual double GetLength1();
139 virtual double GetLength2();
147 vtkSetStringMacro(LabelFormat);
148 vtkGetStringMacro(LabelFormat);
173 vtkBooleanMacro(ShowLabelAboveWidget,
vtkTypeBool);
187 virtual char* GetLabelText() = 0;
193 virtual double* GetLabelPosition() = 0;
194 virtual void GetLabelPosition(
double pos[3]) = 0;
195 virtual void GetWorldLabelPosition(
double pos[3]) = 0;
202 virtual void StartWidgetDefinition(
double e[2]) = 0;
203 virtual void Point2WidgetInteraction(
double e[2]) = 0;
204 virtual void Point3WidgetInteraction(
double e[2]) = 0;
205 virtual void StartWidgetManipulation(
double e[2]) = 0;
241 double CenterWorld[3];
242 double StartEventPositionWorld[4];
255 VTK_ABI_NAMESPACE_END
vtkTypeBool Line1Visibility
abstract class for representing widget handles
represent the vtkBiDimensionalWidget
vtkHandleRepresentation * Point3Representation
vtkHandleRepresentation * Point1Representation
vtkHandleRepresentation * Point2Representation
a simple class to control print indentation
vtkTypeBool ShowLabelAboveWidget
vtkHandleRepresentation * Point4Representation
vtkTypeBool Line2Visibility
vtkHandleRepresentation * HandleRepresentation