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);
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
abstract class for representing widget handles
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
~vtkHandleRepresentation()
virtual void SetPointPlacer(vtkPointPlacer *)
Set/Get the point placer.
vtkHandleRepresentation()
virtual void SetRenderer(vtkRenderer *ren)
Subclasses of vtkWidgetRepresentation must implement these methods.
vtkTimeStamp WorldPositionTime
virtual double * GetDisplayPosition()
vtkPointPlacer * PointPlacer
virtual void DeepCopy(vtkProp *prop)
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
virtual double * GetWorldPosition()
vtkTimeStamp DisplayPositionTime
virtual void GetDisplayPosition(double pos[3])
vtkCoordinate * DisplayPosition
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class properly act like a vtkWidgetRepresentation.
virtual void SetWorldPosition(double pos[3])
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 vtkMTimeType GetMTime()
Overload the superclasses' GetMTime() because the internal vtkCoordinates are used to keep the state ...
virtual void GetWorldPosition(double pos[3])
vtkCoordinate * WorldPosition
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
record modification and/or execution time
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType