Go to the documentation of this file.
48 #ifndef vtkHandleRepresentation_h
49 #define vtkHandleRepresentation_h
51 #include "vtkInteractionWidgetsModule.h"
81 virtual
void SetWorldPosition(
double pos[3]);
82 virtual
void GetWorldPosition(
double pos[3]);
92 vtkSetClampMacro(Tolerance,
int,1,100);
93 vtkGetMacro(Tolerance,
int);
123 vtkSetClampMacro(InteractionState,
int,Outside,Scaling);
vtkTypeBool ActiveRepresentation
Abstract interface to translate 2D display positions to world coordinates.
record modification and/or execution time
vtkHandleRepresentation()
abstract class for representing widget handles
virtual double * GetDisplayPosition()
vtkMTimeType GetMTime() override
Overload the superclasses' GetMTime() because the internal vtkCoordinates are used to keep the state ...
vtkTimeStamp WorldPositionTime
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SIZEHINT(...)
vtkCoordinate * DisplayPosition
a simple class to control print indentation
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
virtual int CheckConstraint(vtkRenderer *renderer, double pos[2])
Method has to be overridden in the subclasses which has constraints on placing the handle (Ex.
virtual void GetDisplayPosition(double pos[3])
abstract superclass for all actors, volumes and annotations
virtual void DeepCopy(vtkProp *prop)
abstract specification for renderers
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
vtkCoordinate * WorldPosition
~vtkHandleRepresentation() override
vtkTimeStamp DisplayPositionTime
void SetRenderer(vtkRenderer *ren) override
Subclasses of vtkWidgetRepresentation must implement these methods.
vtkPointPlacer * PointPlacer
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
virtual void SetPointPlacer(vtkPointPlacer *)
Set/Get the point placer.
vtkTypeUInt32 vtkMTimeType