33 #ifndef __vtkAbstractPolygonalHandleRepresentation3D_h
34 #define __vtkAbstractPolygonalHandleRepresentation3D_h
109 vtkSetMacro( LabelVisibility,
int );
110 vtkGetMacro( LabelVisibility,
int );
111 vtkBooleanMacro( LabelVisibility,
int );
112 virtual void SetLabelText(
const char * label );
113 virtual char * GetLabelText();
118 virtual void SetLabelTextScale(
double scale[3] );
121 double scale[3] = {x, y, z};
122 this->SetLabelTextScale(scale);
124 virtual double * GetLabelTextScale();
135 virtual void SetUniformScale(
double scale );
139 vtkSetMacro( HandleVisibility,
int );
140 vtkGetMacro( HandleVisibility,
int );
141 vtkBooleanMacro( HandleVisibility,
int );
155 double LastPickPosition[3];
156 double LastEventPosition[2];
166 virtual void Translate(
double *p1,
double *p2);
167 virtual void Scale(
double *p1,
double *p2,
double eventPos[2]);
168 virtual void MoveFocus(
double *p1,
double *p2);
170 void CreateDefaultProperties();
178 virtual void MoveFocusRequest(
179 double *p1,
double *p2,
double requestedDisplayPos[3] );
181 int DetermineConstraintAxis(
int constraint,
double *x,
double *startPickPos);
190 virtual void UpdateHandle();
193 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)