31 #ifndef vtkBiDimensionalRepresentation_h
32 #define vtkBiDimensionalRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
38 VTK_ABI_NAMESPACE_BEGIN
59 virtual void SetPoint1WorldPosition(
double pos[3]);
60 virtual void SetPoint2WorldPosition(
double pos[3]);
61 virtual void SetPoint3WorldPosition(
double pos[3]);
62 virtual void SetPoint4WorldPosition(
double pos[3]);
63 virtual void GetPoint1WorldPosition(
double pos[3]) VTK_FUTURE_CONST;
64 virtual void GetPoint2WorldPosition(
double pos[3]) VTK_FUTURE_CONST;
65 virtual void GetPoint3WorldPosition(
double pos[3]);
66 virtual void GetPoint4WorldPosition(
double pos[3]);
67 virtual void SetPoint1DisplayPosition(
double pos[3]);
68 virtual void SetPoint2DisplayPosition(
double pos[3]);
69 virtual void SetPoint3DisplayPosition(
double pos[3]);
70 virtual void SetPoint4DisplayPosition(
double pos[3]);
71 virtual void GetPoint1DisplayPosition(
double pos[3]) VTK_FUTURE_CONST;
72 virtual void GetPoint2DisplayPosition(
double pos[3]) VTK_FUTURE_CONST;
73 virtual void GetPoint3DisplayPosition(
double pos[3]);
74 virtual void GetPoint4DisplayPosition(
double pos[3]);
118 virtual void InstantiateHandleRepresentation();
127 vtkSetClampMacro(Tolerance,
int, 1, 100);
128 vtkGetMacro(Tolerance,
int);
135 virtual double GetLength1();
141 virtual double GetLength2();
149 vtkSetStringMacro(LabelFormat);
150 vtkGetStringMacro(LabelFormat);
175 vtkBooleanMacro(ShowLabelAboveWidget,
vtkTypeBool);
189 virtual char* GetLabelText() = 0;
195 virtual double* GetLabelPosition() = 0;
196 virtual void GetLabelPosition(
double pos[3]) = 0;
197 virtual void GetWorldLabelPosition(
double pos[3]) = 0;
204 virtual void StartWidgetDefinition(
double e[2]) = 0;
205 virtual void Point2WidgetInteraction(
double e[2]) = 0;
206 virtual void Point3WidgetInteraction(
double e[2]) = 0;
207 virtual void StartWidgetManipulation(
double e[2]) = 0;
243 double CenterWorld[3];
244 double StartEventPositionWorld[4];
257 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