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] );
represents an object (geometry & properties) in a rendered scene
ray-cast cell picker for all kinds of Prop3Ds
generate a 3D cursor representation
abstract class for representing widget handles
a simple class to control print indentation
represent the position of a point in 3D space
virtual void StartWidgetInteraction(double eventPos[2])
void AllOn()
Convenience methods to turn outline and shadows on and off.
virtual void DeepCopy(vtkProp *prop)
int DetermineConstraintAxis(int constraint, double *x, double *startPoint)
void SetYShadows(int o)
Turn on/off the wireframe y-shadows.
virtual void WidgetInteraction(double eventPos[2])
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 MoveFocus(double *p1, double *p2)
void MoveFocusRequest(double *p1, double *p2, double eventPos[2], double requestedDisplayPos[3])
void Highlight(int highlight)
virtual void SetHandleSize(double size)
Overload the superclasses SetHandleSize() method to update internal variables.
virtual void SetDisplayPosition(double p[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
void CreateDefaultProperties()
vtkPolyDataMapper * Mapper
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int ComputeInteractionState(int X, int Y, int modify=0)
void SetOutline(int o)
Turn on/off the wireframe bounding box.
void SetProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes.
virtual double * GetBounds()
Methods to make this class properly act like a vtkWidgetRepresentation.
void SetZShadows(int o)
Turn on/off the wireframe z-shadows.
void SetTranslationMode(int mode)
If translation mode is on, as the widget is moved the bounding box, shadows, and cursor are all trans...
void SetXShadows(int o)
Turn on/off the wireframe x-shadows.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
vtkPointHandleRepresentation3D()
vtkProperty * SelectedProperty
virtual void BuildRepresentation()
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
virtual void SetWorldPosition(double p[3])
Set the position of the point in world and display coordinates.
void SetSelectedProperty(vtkProperty *)
void Scale(double *p1, double *p2, double eventPos[2])
vtkCellPicker * CursorPicker
void Translate(double *p1, double *p2)
~vtkPointHandleRepresentation3D()
virtual void PlaceWidget(double bounds[6])
static vtkPointHandleRepresentation3D * New()
Instantiate this class.
map vtkPolyData to graphics primitives
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.