89 #ifndef vtkSplineWidget_h 90 #define vtkSplineWidget_h 107 #define VTK_PROJECTION_YZ 0 108 #define VTK_PROJECTION_XZ 1 109 #define VTK_PROJECTION_XY 2 110 #define VTK_PROJECTION_OBLIQUE 3 126 {this->Superclass::PlaceWidget();}
127 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
128 double zmin,
double zmax)
129 {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
151 { this->SetProjectionNormal(0); }
153 { this->SetProjectionNormal(1); }
155 { this->SetProjectionNormal(2); }
157 { this->SetProjectionNormal(3); }
165 void SetProjectionPosition(
double position);
183 virtual void SetSelectedHandleProperty(
vtkProperty*);
192 virtual void SetSelectedLineProperty(
vtkProperty*);
198 virtual void SetNumberOfHandles(
int npts);
223 void SetHandlePosition(
int handle,
double x,
double y,
double z);
224 void SetHandlePosition(
int handle,
double xyz[3]);
225 void GetHandlePosition(
int handle,
double xyz[3]);
226 double* GetHandlePosition(
int handle);
235 void SetClosed(
int closed);
248 double GetSummedLength();
283 static void ProcessEventsHandler(
vtkObject*
object,
289 void OnLeftButtonDown();
290 void OnLeftButtonUp();
291 void OnMiddleButtonDown();
292 void OnMiddleButtonUp();
293 void OnRightButtonDown();
294 void OnRightButtonUp();
304 void ProjectPointsToPlane();
305 void ProjectPointsToOrthoPlane();
306 void ProjectPointsToObliquePlane();
313 void BuildRepresentation();
317 void HighlightLine(
int highlight);
324 int HighlightHandle(
vtkProp *prop);
326 void InsertHandleOnLine(
double* pos);
327 void EraseHandle(
const int&);
339 void MovePoint(
double *p1,
double *p2);
340 void Scale(
double *p1,
double *p2,
int X,
int Y);
341 void Translate(
double *p1,
double *p2);
342 void Spin(
double *p1,
double *p2,
double *vpn);
353 void CreateDefaultProperties();
357 void CalculateCentroid();
abstract superclass for all actors, volumes and annotations
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
represent surface properties of a geometric object
#define vtkGetMacro(name, type)
virtual void SetEnabled(int)
#define vtkSetClampMacro(name, type, min, max)
concrete dataset represents vertices, lines, polygons, and triangle strips
#define vtkTypeMacro(thisClass, superclass)
virtual void RegisterPickers()
create a polygonal sphere centered at the origin
parametric function for 1D interpolating splines
a simple class to control print indentation
#define vtkGetObjectMacro(name, type)
create an array of quadrilaterals located in a plane
ray-cast cell picker for all kinds of Prop3Ds
#define vtkBooleanMacro(name, type)
represent and manipulate 3D points
tessellate parametric functions
#define vtkSetMacro(name, type)