Go to the documentation of this file.
27 #ifndef vtkCurveRepresentation_h
28 #define vtkCurveRepresentation_h
44 #define VTK_PROJECTION_YZ 0
45 #define VTK_PROJECTION_XZ 1
46 #define VTK_PROJECTION_XY 2
47 #define VTK_PROJECTION_OBLIQUE 3
91 { this->SetProjectionNormal(0); }
93 { this->SetProjectionNormal(1); }
95 { this->SetProjectionNormal(2); }
97 { this->SetProjectionNormal(3); }
201 double LastEventPosition[3];
234 double LastPickPosition[3];
243 void Scale(
double *p1,
double *p2,
int X,
int Y);
245 void Spin(
double *p1,
double *p2,
double *vpn);
represent and manipulate 3D points
void SetProjectionPosition(double position)
void CreateDefaultProperties()
#define vtkGetObjectMacro(name, type)
void Spin(double *p1, double *p2, double *vpn)
void SetProjectionNormalToYAxes()
void ProjectPointsToPlane()
void SetProjectionNormalToOblique()
GLboolean GLboolean GLboolean b
virtual void SetNumberOfHandles(int npts)=0
#define VTK_PROJECTION_YZ
void SetPlaneSource(vtkPlaneSource *plane)
vtkSphereSource ** HandleGeometry
vtkCellPicker * LinePicker
vtkWidgetRepresentation base class for a widget that represents an curve that connects control points...
vtkProperty * SelectedHandleProperty
create an array of quadrilaterals located in a plane
void ProjectPointsToOrthoPlane()
#define vtkTypeMacro(thisClass, superclass)
int HighlightHandle(vtkProp *prop)
GLint GLint GLint GLint GLint x
virtual void StartWidgetInteraction(double e[2])
virtual double * GetBounds()
void Scale(double *p1, double *p2, int X, int Y)
GLsizei const GLfloat * points
window superclass for vtkRenderWindow
#define VTK_PROJECTION_OBLIQUE
void PrintSelf(ostream &os, vtkIndent indent)
virtual void WidgetInteraction(double e[2])
virtual int HasTranslucentPolygonalGeometry()
#define vtkSetClampMacro(name, type, min, max)
void ProjectPointsToObliquePlane()
double ProjectionPosition
virtual void EndWidgetInteraction(double e[2])
void MovePoint(double *p1, double *p2)
virtual int RenderOpaqueGeometry(vtkViewport *)
void SetLineColor(double r, double g, double b)
create a polygonal sphere centered at the origin
void SetClosed(int closed)
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void SetProjectionNormalToZAxes()
virtual void GetPolyData(vtkPolyData *pd)=0
virtual void SetHandlePosition(int handle, double x, double y, double z)
#define vtkGetMacro(name, type)
virtual void GetHandlePosition(int handle, double xyz[3])
virtual int ComputeInteractionState(int X, int Y, int modify=0)
virtual void RegisterPickers()
abstract specification for Viewports
virtual void InitializeHandles(vtkPoints *points)=0
vtkProperty * HandleProperty
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
abstract superclass for all actors, volumes and annotations
void EraseHandle(const int &)
void HighlightLine(int highlight)
virtual void ReleaseGraphicsResources(vtkWindow *)
GLdouble GLdouble GLdouble r
GLint GLint GLint GLint GLint GLint y
vtkCellPicker * HandlePicker
void Translate(double *p1, double *p2)
virtual vtkDoubleArray * GetHandlePositions()=0
virtual void SetHandlePosition(int handle, double xyz[3])
virtual double * GetHandlePosition(int handle)
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void BuildRepresentation()=0
vtkProperty * SelectedLineProperty
virtual void InsertHandleOnLine(double *pos)=0
dynamic, self-adjusting array of double
represent surface properties of a geometric object
virtual void SizeHandles()
virtual double GetSummedLength()=0
vtkProperty * LineProperty
ray-cast cell picker for all kinds of Prop3Ds
void SetProjectionNormalToXAxes()
virtual int RenderOverlay(vtkViewport *)
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
~vtkCurveRepresentation()
vtkPlaneSource * PlaneSource