63 #ifndef vtkImageTracerWidget_h 64 #define vtkImageTracerWidget_h 67 #include "vtkInteractionWidgetsModule.h" 83 #define VTK_ITW_PROJECTION_YZ 0 84 #define VTK_ITW_PROJECTION_XZ 1 85 #define VTK_ITW_PROJECTION_XY 2 86 #define VTK_ITW_SNAP_CELLS 0 87 #define VTK_ITW_SNAP_POINTS 1 108 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override 110 this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
121 virtual void SetSelectedHandleProperty(
vtkProperty*);
122 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
132 virtual void SetSelectedLineProperty(
vtkProperty*);
133 vtkGetObjectMacro(SelectedLineProperty,
vtkProperty);
139 void SetViewProp(
vtkProp* prop);
158 vtkGetMacro(ProjectionNormal,
int);
172 void SetProjectionPosition(
double position);
173 vtkGetMacro(ProjectionPosition,
double);
203 vtkSetMacro(CaptureRadius,
double);
204 vtkGetMacro(CaptureRadius,
double);
226 vtkGetMacro(ImageSnapType,
int);
233 void SetHandlePosition(
int handle,
double xyz[3]);
234 void SetHandlePosition(
int handle,
double x,
double y,
double z);
235 void GetHandlePosition(
int handle,
double xyz[3]);
243 vtkGetMacro(NumberOfHandles,
int);
273 vtkBooleanMacro(HandleLeftMouseButton,
vtkTypeBool);
276 vtkBooleanMacro(HandleMiddleMouseButton,
vtkTypeBool);
279 vtkBooleanMacro(HandleRightMouseButton,
vtkTypeBool);
302 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
305 void OnLeftButtonDown();
306 void OnLeftButtonUp();
307 void OnMiddleButtonDown();
308 void OnMiddleButtonUp();
309 void OnRightButtonDown();
310 void OnRightButtonUp();
328 void Trace(
int,
int);
330 void MovePoint(
const double*,
const double*);
331 void Translate(
const double*,
const double*);
344 void AppendHandles(
double*);
346 void AllocateHandles(
const int&);
347 void AdjustHandlePosition(
const int&,
double*);
349 void EraseHandle(
const int&);
351 void InsertHandleOnLine(
double*);
367 void HighlightLine(
const int&);
368 void BuildLinesFromHandles();
369 void ResetLine(
double*);
370 void AppendLine(
double*);
387 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