Go to the documentation of this file.
31 #ifndef vtkAbstractPolygonalHandleRepresentation3D_h
32 #define vtkAbstractPolygonalHandleRepresentation3D_h
34 #include "vtkInteractionWidgetsModule.h"
126 virtual void SetLabelText(
const char * label );
127 virtual char * GetLabelText();
134 virtual void SetLabelTextScale(
double scale[3] );
137 double scale[3] = {x, y, z};
138 this->SetLabelTextScale(
scale);
140 virtual double * GetLabelTextScale();
155 virtual void SetUniformScale(
double scale );
200 double LastPickPosition[3];
201 double LastEventPosition[2];
210 virtual void Translate(
double *p1,
double *p2);
211 virtual void Scale(
double *p1,
double *p2,
double eventPos[2]);
212 virtual void MoveFocus(
double *p1,
double *p2);
214 void CreateDefaultProperties();
225 void MoveFocusRequest(
double *p1,
double *p2,
226 double eventPos[2],
double requestedDisplayPos[3] );
228 int DetermineConstraintAxis(
int constraint,
double *x,
double *startPickPos);
239 virtual void UpdateHandle();
244 virtual void UpdateLabel();
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
vtkTypeBool HandleVisibility
vtkPolyDataMapper * Mapper
bool LabelAnnotationTextScaleInitialized
virtual void SetWorldPosition(double pos[3])
abstract class for representing widget handles
represent a user defined handle geometry in 3D while maintaining a fixed orientation w....
vtkTransformPolyDataFilter * HandleTransformFilter
window superclass for vtkRenderWindow
vtkProperty * SelectedProperty
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMatrixToLinearTransform * HandleTransform
vtkFollower * LabelTextActor
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
abstract specification for Viewports
vtkVectorText * LabelTextInput
vtkTypeBool LabelVisibility
vtkPolyDataMapper * LabelTextMapper
abstract superclass for all actors, volumes and annotations
void SetLabelTextScale(double x, double y, double z)
vtkCellPicker * HandlePicker
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)...
concrete dataset represents vertices, lines, polygons, and triangle strips
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
vtkMatrix4x4 * HandleTransformMatrix
represent surface properties of a geometric object
ray-cast cell picker for all kinds of Prop3Ds