35 #ifndef vtkAbstractPolygonalHandleRepresentation3D_h
36 #define vtkAbstractPolygonalHandleRepresentation3D_h
39 #include "vtkInteractionWidgetsModule.h"
131 virtual void SetLabelText(
const char* label);
132 virtual char* GetLabelText();
139 virtual void SetLabelTextScale(
double scale[3]);
142 double scale[3] = { x, y, z };
143 this->SetLabelTextScale(scale);
145 virtual double* GetLabelTextScale();
160 virtual void SetUniformScale(
double scale);
205 double LastPickPosition[3];
206 double LastEventPosition[2];
215 void Translate(
const double* p1,
const double* p2)
override;
216 virtual void Scale(
const double* p1,
const double* p2,
const double eventPos[2]);
217 virtual void MoveFocus(
const double* p1,
const double* p2);
219 void CreateDefaultProperties();
230 void MoveFocusRequest(
231 const double* p1,
const double* p2,
const double eventPos[2],
double requestedDisplayPos[3]);
233 int DetermineConstraintAxis(
int constraint,
double* x,
double* startPickPos);
244 virtual void UpdateHandle();
249 virtual void UpdateLabel();
abstract superclass for all actors, volumes and annotations
vtkPolyDataMapper * LabelTextMapper
virtual void SetWorldPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
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
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
vtkProperty * SelectedProperty
window superclass for vtkRenderWindow
bool LabelAnnotationTextScaleInitialized
vtkTypeBool LabelVisibility
a simple class to control print indentation
represent a user defined handle geometry in 3D while maintaining a fixed orientation w...
vtkTypeBool HandleVisibility
virtual void DeepCopy(vtkProp *prop)
Methods to make this class properly act like a vtkWidgetRepresentation.
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
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any. ...
vtkMatrix4x4 * HandleTransformMatrix
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
void SetLabelTextScale(double x, double y, double z)
Scale text (font size along each dimension).