62 #ifndef __vtkImageTracerWidget_h
63 #define __vtkImageTracerWidget_h
82 #define VTK_ITW_PROJECTION_YZ 0
83 #define VTK_ITW_PROJECTION_XZ 1
84 #define VTK_ITW_PROJECTION_XY 2
85 #define VTK_ITW_SNAP_CELLS 0
86 #define VTK_ITW_SNAP_POINTS 1
102 {this->Superclass::PlaceWidget();}
103 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
104 double zmin,
double zmax)
105 {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
114 virtual void SetSelectedHandleProperty(
vtkProperty*);
123 virtual void SetSelectedLineProperty(
vtkProperty*);
128 void SetViewProp(
vtkProp* prop);
145 { this->SetProjectionNormal(0); }
147 { this->SetProjectionNormal(1); }
149 { this->SetProjectionNormal(2); }
158 void SetProjectionPosition(
double position);
164 void SetSnapToImage(
int snap);
205 void SetHandlePosition(
int handle,
double xyz[3]);
206 void SetHandlePosition(
int handle,
double x,
double y,
double z);
207 void GetHandlePosition(
int handle,
double xyz[3]);
208 double* GetHandlePosition(
int handle);
218 void SetInteraction(
int interact);
244 #ifdef VTK_WORKAROUND_WINDOWS_MANGLE
245 # define SetPropA SetProp
246 # define SetPropW SetProp
253 #ifdef VTK_WORKAROUND_WINDOWS_MANGLE
288 void OnLeftButtonDown();
289 void OnLeftButtonUp();
290 void OnMiddleButtonDown();
291 void OnMiddleButtonUp();
292 void OnRightButtonDown();
293 void OnRightButtonUp();
311 void Trace(
int ,
int );
313 void MovePoint(
const double* ,
const double* );
314 void Translate(
const double* ,
const double* );
327 void AppendHandles(
double*);
329 void AllocateHandles(
const int& );
330 void AdjustHandlePosition(
const int& ,
double*);
331 int HighlightHandle(
vtkProp* );
332 void EraseHandle(
const int& );
334 void InsertHandleOnLine(
double* );
350 void HighlightLine(
const int& );
351 void BuildLinesFromHandles();
352 void ResetLine(
double* );
353 void AppendLine(
double* );
370 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)
#define vtkGetMacro(name, type)
virtual void SetEnabled(int)
dynamic, self-adjusting array of float
#define vtkSetClampMacro(name, type, min, max)
concrete dataset represents vertices, lines, polygons, and triangle strips
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
virtual void RegisterPickers()
GLint GLint GLint GLint GLint x
a simple class to control print indentation
#define vtkGetObjectMacro(name, type)
#define VTK_LEGACY(method)
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
#define vtkBooleanMacro(name, type)
create 2D glyphs represented by vtkPolyData
represent and manipulate 3D points
#define vtkSetMacro(name, type)