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);}
 
  139   vtkSetMacro(ProjectToPlane,
int);
 
  140   vtkGetMacro(ProjectToPlane,
int);
 
  141   vtkBooleanMacro(ProjectToPlane,
int);
 
  149   vtkGetMacro(ProjectionNormal,
int);
 
  151     { this->SetProjectionNormal(0); }
 
  153     { this->SetProjectionNormal(1); }
 
  155     { this->SetProjectionNormal(2); }
 
  157     { this->SetProjectionNormal(3); }
 
  165   void SetProjectionPosition(
double position);
 
  166   vtkGetMacro(ProjectionPosition, 
double);
 
  183   virtual void SetSelectedHandleProperty(
vtkProperty*);
 
  184   vtkGetObjectMacro(SelectedHandleProperty, 
vtkProperty);
 
  192   virtual void SetSelectedLineProperty(
vtkProperty*);
 
  193   vtkGetObjectMacro(SelectedLineProperty, 
vtkProperty);
 
  198   virtual void SetNumberOfHandles(
int npts);
 
  199   vtkGetMacro(NumberOfHandles, 
int);
 
  206   vtkGetMacro(Resolution,
int);
 
  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);
 
  236   vtkGetMacro(Closed,
int);
 
  237   vtkBooleanMacro(Closed,
int);
 
  248   double GetSummedLength();
 
  259   vtkSetClampMacro(ProcessEvents, 
int, 0, 1);
 
  260   vtkGetMacro(ProcessEvents, 
int);
 
  261   vtkBooleanMacro( ProcessEvents, 
int );
 
  282   static void ProcessEventsHandler(
vtkObject* 
object,
 
  288   void OnLeftButtonDown();
 
  289   void OnLeftButtonUp();
 
  290   void OnMiddleButtonDown();
 
  291   void OnMiddleButtonUp();
 
  292   void OnRightButtonDown();
 
  293   void OnRightButtonUp();
 
  303   void ProjectPointsToPlane();
 
  304   void ProjectPointsToOrthoPlane();
 
  305   void ProjectPointsToObliquePlane();
 
  312   void BuildRepresentation();
 
  316   void HighlightLine(
int highlight);
 
  323   int  HighlightHandle(
vtkProp *prop); 
 
  325   void InsertHandleOnLine(
double* pos);
 
  326   void EraseHandle(
const int&);
 
  338   void MovePoint(
double *p1, 
double *p2);
 
  339   void Scale(
double *p1, 
double *p2, 
int X, 
int Y);
 
  340   void Translate(
double *p1, 
double *p2);
 
  341   void Spin(
double *p1, 
double *p2, 
double *vpn);
 
  352   void CreateDefaultProperties();
 
  356   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)
 
concrete dataset represents vertices, lines, polygons, and triangle strips 
 
virtual void RegisterPickers()
 
create a polygonal sphere centered at the origin 
 
parametric function for 1D interpolating splines 
 
a simple class to control print indentation 
 
create an array of quadrilaterals located in a plane 
 
ray-cast cell picker for all kinds of Prop3Ds 
 
represent and manipulate 3D points 
 
tessellate parametric functions