Go to the documentation of this file.
30 #ifndef vtkPointHandleRepresentation3D_h
31 #define vtkPointHandleRepresentation3D_h
33 #include "vtkInteractionWidgetsModule.h"
75 {this->Cursor3D->SetOutline(o);}
77 {
return this->Cursor3D->GetOutline();}
79 {this->Cursor3D->OutlineOn();}
81 {this->Cursor3D->OutlineOff();}
87 {this->Cursor3D->SetXShadows(o);}
89 {
return this->Cursor3D->GetXShadows();}
91 {this->Cursor3D->XShadowsOn();}
93 {this->Cursor3D->XShadowsOff();}
99 {this->Cursor3D->SetYShadows(o);}
101 {
return this->Cursor3D->GetYShadows();}
103 {this->Cursor3D->YShadowsOn();}
105 {this->Cursor3D->YShadowsOff();}
111 {this->Cursor3D->SetZShadows(o);}
113 {
return this->Cursor3D->GetZShadows();}
115 {this->Cursor3D->ZShadowsOn();}
117 {this->Cursor3D->ZShadowsOff();}
132 vtkGetMacro(TranslationMode,
int);
173 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
174 vtkGetMacro(HotSpotSize,
double);
222 vtkGetMacro( SmoothMotion,
int );
238 double LastPickPosition[3];
239 double LastEventPosition[2];
247 void Scale(
double *p1,
double *p2,
double eventPos[2]);
261 double eventPos[2],
double requestedDisplayPos[3] );
map vtkPolyData to graphics primitives
~vtkPointHandleRepresentation3D()
void SetSelectedProperty(vtkProperty *)
void SetXShadows(int o)
Turn on/off the wireframe x-shadows.
generate a 3D cursor representation
void SetYShadows(int o)
Turn on/off the wireframe y-shadows.
represent the position of a point in 3D space
void Highlight(int highlight)
abstract class for representing widget handles
int DetermineConstraintAxis(int constraint, double *x, double *startPoint)
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes.
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class behave as a vtkProp.
virtual void SetWorldPosition(double p[3])
Set the position of the point in world and display coordinates.
void MoveFocus(double *p1, double *p2)
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void AllOn()
Convenience methods to turn outline and shadows on and off.
void SetOutline(int o)
Turn on/off the wireframe bounding box.
virtual void WidgetInteraction(double eventPos[2])
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
vtkPolyDataMapper * Mapper
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkCellPicker * CursorPicker
vtkProperty * SelectedProperty
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual void SetDisplayPosition(double p[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
void SetTranslationMode(int mode)
If translation mode is on, as the widget is moved the bounding box, shadows, and cursor are all trans...
void SetProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
void SetZShadows(int o)
Turn on/off the wireframe z-shadows.
virtual void StartWidgetInteraction(double eventPos[2])
void CreateDefaultProperties()
abstract specification for Viewports
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
virtual void BuildRepresentation()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
void MoveFocusRequest(double *p1, double *p2, double eventPos[2], double requestedDisplayPos[3])
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
static vtkPointHandleRepresentation3D * New()
Instantiate this class.
virtual double * GetBounds()
Methods to make this class properly act like a vtkWidgetRepresentation.
virtual int ComputeInteractionState(int X, int Y, int modify=0)
represent surface properties of a geometric object
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
virtual void SetHandleSize(double size)
Overload the superclasses SetHandleSize() method to update internal variables.
void Translate(double *p1, double *p2)
ray-cast cell picker for all kinds of Prop3Ds
virtual void PlaceWidget(double bounds[6])
vtkPointHandleRepresentation3D()
void Scale(double *p1, double *p2, double eventPos[2])
virtual void DeepCopy(vtkProp *prop)