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