54 #ifndef vtkImageTracerWidget_h 55 #define vtkImageTracerWidget_h 58 #include "vtkInteractionWidgetsModule.h" 74 #define VTK_ITW_PROJECTION_YZ 0 75 #define VTK_ITW_PROJECTION_XZ 1 76 #define VTK_ITW_PROJECTION_XY 2 77 #define VTK_ITW_SNAP_CELLS 0 78 #define VTK_ITW_SNAP_POINTS 1 97 void PlaceWidget()
override { this->Superclass::PlaceWidget(); }
99 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override 101 this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
112 virtual void SetSelectedHandleProperty(
vtkProperty*);
113 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
123 virtual void SetSelectedLineProperty(
vtkProperty*);
124 vtkGetObjectMacro(SelectedLineProperty,
vtkProperty);
130 void SetViewProp(
vtkProp* prop);
149 vtkGetMacro(ProjectionNormal,
int);
163 void SetProjectionPosition(
double position);
164 vtkGetMacro(ProjectionPosition,
double);
194 vtkSetMacro(CaptureRadius,
double);
195 vtkGetMacro(CaptureRadius,
double);
217 vtkGetMacro(ImageSnapType,
int);
224 void SetHandlePosition(
int handle,
double xyz[3]);
225 void SetHandlePosition(
int handle,
double x,
double y,
double z);
226 void GetHandlePosition(
int handle,
double xyz[3]);
234 vtkGetMacro(NumberOfHandles,
int);
264 vtkBooleanMacro(HandleLeftMouseButton,
vtkTypeBool);
267 vtkBooleanMacro(HandleMiddleMouseButton,
vtkTypeBool);
270 vtkBooleanMacro(HandleRightMouseButton,
vtkTypeBool);
293 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
296 void OnLeftButtonDown();
297 void OnLeftButtonUp();
298 void OnMiddleButtonDown();
299 void OnMiddleButtonUp();
300 void OnRightButtonDown();
301 void OnRightButtonUp();
319 void Trace(
int,
int);
321 void MovePoint(
const double*,
const double*);
322 void Translate(
const double*,
const double*);
335 void AppendHandles(
double*);
337 void AllocateHandles(
const int&);
338 void AdjustHandlePosition(
const int&,
double*);
340 void EraseHandle(
const int&);
342 void InsertHandleOnLine(
double*);
358 void HighlightLine(
const int&);
359 void BuildLinesFromHandles();
360 void ResetLine(
double*);
361 void AppendLine(
double*);
378 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