Go to the documentation of this file.
48 #ifndef vtkHandleRepresentation_h
49 #define vtkHandleRepresentation_h
51 #include "vtkInteractionWidgetsModule.h"
92 vtkSetClampMacro(Tolerance,
int,1,100);
93 vtkGetMacro(Tolerance,
int);
103 vtkGetMacro(ActiveRepresentation,
int);
123 vtkSetClampMacro(InteractionState,
int,Outside,Scaling);
133 vtkGetMacro(Constrained,
int);
virtual vtkMTimeType GetMTime()
Overload the superclasses' GetMTime() because the internal vtkCoordinates are used to keep the state ...
Abstract interface to translate 2D display positions to world coordinates.
record modification and/or execution time
vtkHandleRepresentation()
virtual void SetWorldPosition(double pos[3])
abstract class for representing widget handles
virtual double * GetDisplayPosition()
vtkTimeStamp WorldPositionTime
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class properly act like a vtkWidgetRepresentation.
vtkTypeUInt64 vtkMTimeType
~vtkHandleRepresentation()
vtkCoordinate * DisplayPosition
virtual double * GetWorldPosition()
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])
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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
vtkTimeStamp DisplayPositionTime
vtkPointPlacer * PointPlacer
virtual void GetWorldPosition(double pos[3])
virtual void SetRenderer(vtkRenderer *ren)
Subclasses of vtkWidgetRepresentation must implement these methods.
virtual void SetPointPlacer(vtkPointPlacer *)
Set/Get the point placer.