60 #ifndef vtkImageTracerWidget_h
61 #define vtkImageTracerWidget_h
64 #include "vtkInteractionWidgetsModule.h"
80 #define VTK_ITW_PROJECTION_YZ 0
81 #define VTK_ITW_PROJECTION_XZ 1
82 #define VTK_ITW_PROJECTION_XY 2
83 #define VTK_ITW_SNAP_CELLS 0
84 #define VTK_ITW_SNAP_POINTS 1
105 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override
107 this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
118 virtual void SetSelectedHandleProperty(
vtkProperty*);
119 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
129 virtual void SetSelectedLineProperty(
vtkProperty*);
130 vtkGetObjectMacro(SelectedLineProperty,
vtkProperty);
136 void SetViewProp(
vtkProp* prop);
155 vtkGetMacro(ProjectionNormal,
int);
169 void SetProjectionPosition(
double position);
170 vtkGetMacro(ProjectionPosition,
double);
200 vtkSetMacro(CaptureRadius,
double);
201 vtkGetMacro(CaptureRadius,
double);
223 vtkGetMacro(ImageSnapType,
int);
230 void SetHandlePosition(
int handle,
double xyz[3]);
231 void SetHandlePosition(
int handle,
double x,
double y,
double z);
232 void GetHandlePosition(
int handle,
double xyz[3]);
240 vtkGetMacro(NumberOfHandles,
int);
270 vtkBooleanMacro(HandleLeftMouseButton,
vtkTypeBool);
273 vtkBooleanMacro(HandleMiddleMouseButton,
vtkTypeBool);
276 vtkBooleanMacro(HandleRightMouseButton,
vtkTypeBool);
299 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
302 void OnLeftButtonDown();
303 void OnLeftButtonUp();
304 void OnMiddleButtonDown();
305 void OnMiddleButtonUp();
306 void OnRightButtonDown();
307 void OnRightButtonUp();
325 void Trace(
int,
int);
327 void MovePoint(
const double*,
const double*);
328 void Translate(
const double*,
const double*);
341 void AppendHandles(
double*);
343 void AllocateHandles(
const int&);
344 void AdjustHandlePosition(
const int&,
double*);
346 void EraseHandle(
const int&);
348 void InsertHandleOnLine(
double*);
364 void HighlightLine(
const int&);
365 void BuildLinesFromHandles();
366 void ResetLine(
double*);
367 void AppendLine(
double*);
384 void CreateDefaultProperties();
abstract superclass for all actors, volumes and annotations
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
pick an actor/prop using graphics hardware
represent surface properties of a geometric object
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
Handles the char widget activation event.
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
dynamic, self-adjusting array of float
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
a simple class to control print indentation
#define VTK_SIZEHINT(...)
object to represent cell connectivity
abstract API for pickers that can pick an instance of vtkProp
ray-cast cell picker for all kinds of Prop3Ds
create 2D glyphs represented by vtkPolyData
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points