27 #ifndef vtkPointHandleRepresentation3D_h 28 #define vtkPointHandleRepresentation3D_h 32 #include "vtkInteractionWidgetsModule.h" 73 void SetOutline(
int o) { this->Cursor3D->SetOutline(o); }
74 int GetOutline() {
return this->Cursor3D->GetOutline(); }
155 vtkSetClampMacro(HotSpotSize,
double, 0.0, 1.0);
156 vtkGetMacro(HotSpotSize,
double);
175 unsigned long event,
void* calldata)
override;
177 unsigned long event,
void* calldata)
override;
179 unsigned long event,
void* calldata,
int modify = 0)
override;
238 double LastPickPosition[3];
239 double LastEventPosition[3];
243 virtual void Translate(
const double* p1,
const double* p2)
override;
244 void Scale(
const double* p1,
const double* p2,
const double eventPos[2]);
245 void MoveFocus(
const double* p1,
const double* p2);
259 void MoveFocusRequest(
260 const double* p1,
const double* p2,
const double currPos[2],
double center[3]);
266 void CreateDefaultProperties();
270 int DetermineConstraintAxis(
int constraint,
double* x,
double* startPoint);
abstract superclass for all actors, volumes and annotations
vtkTypeBool TranslationMode
virtual void SetWorldPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
represents an object (geometry & properties) in a rendered scene
abstract class for representing widget handles
represent the position of a point in 3D space
abstract specification for Viewports
represent surface properties of a geometric object
void AllOn()
Convenience methods to turn outline and shadows on and off.
vtkPolyDataMapper * Mapper
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
virtual void SetVisibility(vtkTypeBool)
Set/Get visibility of this vtkProp.
vtkCellPicker * CursorPicker
void SetYShadows(int o)
Turn on/off the wireframe y-shadows.
window superclass for vtkRenderWindow
platform-independent render window interaction including picking and frame rate control.
void SetZShadows(int o)
Turn on/off the wireframe z-shadows.
void SetOutline(int o)
Turn on/off the wireframe bounding box.
a simple class to control print indentation
#define VTK_SIZEHINT(...)
virtual void DeepCopy(vtkProp *prop)
Methods to make this class properly act like a vtkWidgetRepresentation.
map vtkPolyData to graphics primitives
vtkProperty * SelectedProperty
ray-cast cell picker for all kinds of Prop3Ds
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
generate a 3D cursor representation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any. ...
void SetXShadows(int o)
Turn on/off the wireframe x-shadows.
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...