57 #ifndef vtkImageTracerWidget_h 58 #define vtkImageTracerWidget_h 61 #include "vtkInteractionWidgetsModule.h" 77 #define VTK_ITW_PROJECTION_YZ 0 78 #define VTK_ITW_PROJECTION_XZ 1 79 #define VTK_ITW_PROJECTION_XY 2 80 #define VTK_ITW_SNAP_CELLS 0 81 #define VTK_ITW_SNAP_POINTS 1 102 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override 104 this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
115 virtual void SetSelectedHandleProperty(
vtkProperty*);
116 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
126 virtual void SetSelectedLineProperty(
vtkProperty*);
127 vtkGetObjectMacro(SelectedLineProperty,
vtkProperty);
133 void SetViewProp(
vtkProp* prop);
152 vtkGetMacro(ProjectionNormal,
int);
166 void SetProjectionPosition(
double position);
167 vtkGetMacro(ProjectionPosition,
double);
197 vtkSetMacro(CaptureRadius,
double);
198 vtkGetMacro(CaptureRadius,
double);
220 vtkGetMacro(ImageSnapType,
int);
227 void SetHandlePosition(
int handle,
double xyz[3]);
228 void SetHandlePosition(
int handle,
double x,
double y,
double z);
229 void GetHandlePosition(
int handle,
double xyz[3]);
237 vtkGetMacro(NumberOfHandles,
int);
267 vtkBooleanMacro(HandleLeftMouseButton,
vtkTypeBool);
270 vtkBooleanMacro(HandleMiddleMouseButton,
vtkTypeBool);
273 vtkBooleanMacro(HandleRightMouseButton,
vtkTypeBool);
296 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
299 void OnLeftButtonDown();
300 void OnLeftButtonUp();
301 void OnMiddleButtonDown();
302 void OnMiddleButtonUp();
303 void OnRightButtonDown();
304 void OnRightButtonUp();
322 void Trace(
int,
int);
324 void MovePoint(
const double*,
const double*);
325 void Translate(
const double*,
const double*);
338 void AppendHandles(
double*);
340 void AllocateHandles(
const int&);
341 void AdjustHandlePosition(
const int&,
double*);
343 void EraseHandle(
const int&);
345 void InsertHandleOnLine(
double*);
361 void HighlightLine(
const int&);
362 void BuildLinesFromHandles();
363 void ResetLine(
double*);
364 void AppendLine(
double*);
381 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