Go to the documentation of this file.
34 #ifndef vtkAbstractPolygonalHandleRepresentation3D_h
35 #define vtkAbstractPolygonalHandleRepresentation3D_h
37 #include "vtkInteractionWidgetsModule.h"
140 double scale[3] = {x, y, z};
141 this->SetLabelTextScale(
scale);
203 double LastPickPosition[3];
204 double LastEventPosition[2];
214 virtual void Scale(
double *p1,
double *p2,
double eventPos[2]);
229 double eventPos[2],
double requestedDisplayPos[3] );
map vtkPolyData to graphics primitives
void SetSelectedProperty(vtkProperty *)
vtkTypeBool HasTranslucentPolygonalGeometry() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
a subclass of actor that always faces the camera
vtkTypeBool HandleVisibility
~vtkAbstractPolygonalHandleRepresentation3D() override
void WidgetInteraction(double eventPos[2]) override
vtkPolyDataMapper * Mapper
void Highlight(int highlight) override
void DeepCopy(vtkProp *prop) override
bool LabelAnnotationTextScaleInitialized
void BuildRepresentation() override
Methods to make this class properly act like a vtkWidgetRepresentation.
abstract class for representing widget handles
void StartWidgetInteraction(double eventPos[2]) override
represent a user defined handle geometry in 3D while maintaining a fixed orientation w....
virtual void Translate(double *p1, double *p2)
virtual void SetLabelTextScale(double scale[3])
Scale text (font size along each dimension).
void RegisterPickers() override
Register internal Pickers in the Picking Manager.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
void SetProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
vtkTransformPolyDataFilter * HandleTransformFilter
vtkPolyData * GetHandle()
window superclass for vtkRenderWindow
virtual void SetUniformScale(double scale)
The handle may be scaled uniformly in all three dimensions using this API.
vtkProperty * SelectedProperty
void CreateDefaultProperties()
void GetActors(vtkPropCollection *) override
For some exporters and other other operations we must be able to collect all the actors or volumes.
int DetermineConstraintAxis(int constraint, double *x, double *startPickPos)
vtkMatrixToLinearTransform * HandleTransform
vtkFollower * LabelTextActor
virtual void SetLabelText(const char *label)
virtual void UpdateHandle()
Update the actor position.
void MoveFocusRequest(double *p1, double *p2, double eventPos[2], double requestedDisplayPos[3])
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
virtual vtkAbstractTransform * GetTransform()
Get the transform used to transform the generic handle polydata before placing it in the render windo...
virtual char * GetLabelText()
vtkAbstractPolygonalHandleRepresentation3D()
virtual void MoveFocus(double *p1, double *p2)
abstract specification for Viewports
vtkVectorText * LabelTextInput
vtkTypeBool LabelVisibility
void SetWorldPosition(double p[3]) override
Set the position of the point in world and display coordinates.
vtkPolyDataMapper * LabelTextMapper
abstract superclass for all actors, volumes and annotations
void ShallowCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
void SetLabelTextScale(double x, double y, double z)
vtkCellPicker * HandlePicker
virtual void Scale(double *p1, double *p2, double eventPos[2])
virtual double * GetLabelTextScale()
concrete dataset represents vertices, lines, polygons, and triangle strips
int ComputeInteractionState(int X, int Y, int modify=0) override
vtkMatrix4x4 * HandleTransformMatrix
represent surface properties of a geometric object
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
ray-cast cell picker for all kinds of Prop3Ds
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double * GetBounds() override
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetHandle(vtkPolyData *)
Set/get the handle polydata.
void SetDisplayPosition(double p[3]) override
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
virtual void UpdateLabel()
Opportunity to update the label position and text during each render.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override