33 #ifndef vtkAbstractPolygonalHandleRepresentation3D_h
34 #define vtkAbstractPolygonalHandleRepresentation3D_h
110 vtkSetMacro( LabelVisibility,
int );
111 vtkGetMacro( LabelVisibility,
int );
112 vtkBooleanMacro( LabelVisibility,
int );
113 virtual void SetLabelText(
const char * label );
114 virtual char * GetLabelText();
119 virtual void SetLabelTextScale(
double scale[3] );
122 double scale[3] = {x, y, z};
123 this->SetLabelTextScale(scale);
125 virtual double * GetLabelTextScale();
136 virtual void SetUniformScale(
double scale );
140 vtkSetMacro( HandleVisibility,
int );
141 vtkGetMacro( HandleVisibility,
int );
142 vtkBooleanMacro( HandleVisibility,
int );
158 vtkSetMacro( SmoothMotion,
int );
159 vtkGetMacro( SmoothMotion,
int );
160 vtkBooleanMacro( SmoothMotion,
int );
173 double LastPickPosition[3];
174 double LastEventPosition[2];
186 virtual void Translate(
double *p1,
double *p2);
187 virtual void Scale(
double *p1,
double *p2,
double eventPos[2]);
188 virtual void MoveFocus(
double *p1,
double *p2);
190 void CreateDefaultProperties();
201 void MoveFocusRequest(
double *p1,
double *p2,
202 double eventPos[2],
double requestedDisplayPos[3] );
204 int DetermineConstraintAxis(
int constraint,
double *x,
double *startPickPos);
213 virtual void UpdateHandle();
216 virtual void UpdateLabel();
abstract superclass for all actors, volumes and annotations
vtkPolyDataMapper * LabelTextMapper
virtual void SetWorldPosition(double pos[3])
represents an object (geometry & properties) in a rendered scene
vtkCellPicker * HandlePicker
represent and manipulate 4x4 transformation matrices
abstract class for representing widget handles
vtkVectorText * LabelTextInput
abstract specification for Viewports
represent surface properties of a geometric object
vtkFollower * LabelTextActor
vtkPolyDataMapper * Mapper
vtkTransformPolyDataFilter * HandleTransformFilter
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkProperty * SelectedProperty
virtual void ShallowCopy(vtkProp *prop)
window superclass for vtkRenderWindow
bool LabelAnnotationTextScaleInitialized
a simple class to control print indentation
represent a user defined handle geometry in 3D while maintaining a fixed orientation w...
void PrintSelf(ostream &os, vtkIndent indent)
virtual void DeepCopy(vtkProp *prop)
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
vtkMatrixToLinearTransform * HandleTransform
ray-cast cell picker for all kinds of Prop3Ds
vtkMatrix4x4 * HandleTransformMatrix
virtual void SetDisplayPosition(double pos[3])
void SetLabelTextScale(double x, double y, double z)