 |
VTK
9.0.1
|
Go to the documentation of this file.
43 #ifndef vtkBiDimensionalRepresentation_h
44 #define vtkBiDimensionalRepresentation_h
46 #include "vtkInteractionWidgetsModule.h"
136 vtkSetClampMacro(Tolerance,
int, 1, 100);
137 vtkGetMacro(Tolerance,
int);
158 vtkSetStringMacro(LabelFormat);
159 vtkGetStringMacro(LabelFormat);
252 double CenterWorld[3];
253 double StartEventPositionWorld[4];
virtual void GetPoint3DisplayPosition(double pos[3])
virtual void SetPoint1DisplayPosition(double pos[3])
virtual void SetPoint4WorldPosition(double pos[3])
virtual double GetLength2()
Return the length of the line defined by (Point3,Point4).
vtkTypeBool ShowLabelAboveWidget
virtual void GetWorldLabelPosition(double pos[3])=0
virtual void GetPoint4WorldPosition(double pos[3])
virtual void InstantiateHandleRepresentation()
abstract class for representing widget handles
vtkHandleRepresentation * HandleRepresentation
vtkTypeBool Line2Visibility
virtual void GetPoint1WorldPosition(double pos[3])
virtual void GetPoint3WorldPosition(double pos[3])
virtual void GetPoint2WorldPosition(double pos[3])
virtual double * GetLabelPosition()=0
Get the position of the widget's label in display coordinates.
virtual void Point2WidgetInteraction(double e[2])=0
void SetID(vtkIdType id)
Set/get the id to display in the label.
void SetHandleRepresentation(vtkHandleRepresentation *handle)
This method is used to specify the type of handle representation to use for the four internal vtkHand...
virtual void SetPoint2DisplayPosition(double pos[3])
virtual void StartWidgetDefinition(double e[2])=0
These are methods that satisfy vtkWidgetRepresentation's API.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHandleRepresentation * Point2Representation
virtual void SetPoint4DisplayPosition(double pos[3])
a simple class to control print indentation
vtkHandleRepresentation * Point4Representation
represent the vtkBiDimensionalWidget
vtkTypeBool Line1Visibility
virtual char * GetLabelText()=0
Get the text shown in the widget's label.
virtual void SetPoint1WorldPosition(double pos[3])
Methods to Set/Get the coordinates of the four points defining this representation.
virtual double GetLength1()
Return the length of the line defined by (Point1,Point2).
virtual void StartWidgetManipulation(double e[2])=0
virtual void SetPoint2WorldPosition(double pos[3])
virtual void SetPoint3WorldPosition(double pos[3])
virtual void GetPoint2DisplayPosition(double pos[3])
vtkBiDimensionalRepresentation()
virtual void GetPoint4DisplayPosition(double pos[3])
virtual void Point3WidgetInteraction(double e[2])=0
vtkHandleRepresentation * Point1Representation
virtual void SetPoint3DisplayPosition(double pos[3])
~vtkBiDimensionalRepresentation() override
virtual void GetLabelPosition(double pos[3])=0
vtkHandleRepresentation * Point3Representation
virtual void GetPoint1DisplayPosition(double pos[3])