81 #ifndef vtkSplineWidget_h 82 #define vtkSplineWidget_h 85 #include "vtkInteractionWidgetsModule.h" 99 #define VTK_PROJECTION_YZ 0 100 #define VTK_PROJECTION_XZ 1 101 #define VTK_PROJECTION_XY 2 102 #define VTK_PROJECTION_OBLIQUE 3 123 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override 125 this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
150 vtkGetMacro(ProjectionNormal,
int);
164 void SetProjectionPosition(
double position);
165 vtkGetMacro(ProjectionPosition,
double);
184 virtual void SetSelectedHandleProperty(
vtkProperty*);
185 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
195 virtual void SetSelectedLineProperty(
vtkProperty*);
196 vtkGetObjectMacro(SelectedLineProperty,
vtkProperty);
203 virtual void SetNumberOfHandles(
int npts);
204 vtkGetMacro(NumberOfHandles,
int);
213 vtkGetMacro(Resolution,
int);
234 void SetHandlePosition(
int handle,
double x,
double y,
double z);
235 void SetHandlePosition(
int handle,
double xyz[3]);
236 void GetHandlePosition(
int handle,
double xyz[3]);
265 double GetSummedLength();
280 vtkSetClampMacro(ProcessEvents,
vtkTypeBool, 0, 1);
303 static void ProcessEventsHandler(
304 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
307 void OnLeftButtonDown();
308 void OnLeftButtonUp();
309 void OnMiddleButtonDown();
310 void OnMiddleButtonUp();
311 void OnRightButtonDown();
312 void OnRightButtonUp();
322 void ProjectPointsToPlane();
323 void ProjectPointsToOrthoPlane();
324 void ProjectPointsToObliquePlane();
331 void BuildRepresentation();
335 void HighlightLine(
int highlight);
342 int HighlightHandle(
vtkProp* prop);
344 void InsertHandleOnLine(
double* pos);
345 void EraseHandle(
const int&);
357 void MovePoint(
double* p1,
double* p2);
358 void Scale(
double* p1,
double* p2,
int X,
int Y);
359 void Translate(
double* p1,
double* p2);
360 void Spin(
double* p1,
double* p2,
double* vpn);
371 void CreateDefaultProperties();
375 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
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
create a polygonal sphere centered at the origin
parametric function for 1D interpolating splines
a simple class to control print indentation
#define VTK_SIZEHINT(...)
create an array of quadrilaterals located in a plane
ray-cast cell picker for all kinds of Prop3Ds
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points
tessellate parametric functions