33 #ifndef CXGRAPHICALPRIMITIVES_H_
34 #define CXGRAPHICALPRIMITIVES_H_
36 #include "cxResourceVisualizationExport.h"
38 #include <boost/shared_ptr.hpp>
42 #include <vtkPolyDataAlgorithm.h>
43 #include <vtkGlyph3DMapper.h>
44 #include <vtkColorSeries.h>
45 #include <vtkLookupTable.h>
46 #include <vtkMapper.h>
66 void setBackfaceCulling(
bool val);
67 void setVisibility(
bool visible);
68 void setFrontfaceCulling(
bool val);
69 void setRepresentation();
70 void setColor(
double red,
double green,
double blue);
75 void setOpacity(
double val);
76 void setUserMatrix(vtkMatrix4x4 *matrix);
77 void setPointSize(
int pointSize);
78 void setScalarVisibility(
bool show);
107 void setIsWireFrame(
bool val);
108 void setRepresentation();
132 void setOrientationArray(
const char* orientationArray);
133 void setColorArray(
const char* colorArray);
134 void setLUT(
const char* lut);
135 void setScaleFactor(
double scaleFactor);
156 void setRadius(
double radius);
158 void setColor(QColor color);
180 void setColor(QColor color);
182 void setStipple(
int stipple);
200 void setColor(QColor color);
202 void setStipple(
int stipple);
220 void setColor(QColor color);
233 class cxResourceVisualization_EXPORT
Rect3D
238 void setColor(QColor color);
240 void setLine(
bool on,
int width);
241 void setSurface(
bool on);
251 typedef boost::shared_ptr<class Rect3D>
Rect3DPtr;
263 void setColor(QColor color);
264 void setText(QString text);
267 void setSize(
double val);
268 void setSizeInNormalizedViewport(
bool on,
double size);
293 void setColor(QColor color);
294 void setText(QString text);
297 void setSize(
double val);
vtkSmartPointer< class vtkActor > vtkActorPtr
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
vtkSmartPointer< class vtkPolyDataAlgorithm > vtkPolyDataAlgorithmPtr
PlainObject normal() const
vtkSmartPointer< class vtkPolyDataMapper > vtkPolyDataMapperPtr
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
vtkSmartPointer< class vtkProperty > vtkPropertyPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkCellArray > vtkCellArrayPtr
boost::shared_ptr< GraphicalGlyph3DData > GraphicalGlyph3DDataPtr
Helper for rendering a line in 3D.
boost::shared_ptr< GraphicalArc3D > GraphicalArc3DPtr
vtkSmartPointer< class vtkLineSource > vtkLineSourcePtr
Helper for rendering a point in 3D.
Helper for rendering an arrow in 3D.
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
vtkSmartPointer< class vtkFollower > vtkFollowerPtr
Helper for rendering a a polydata in 3D.
vtkSmartPointer< class vtkMapper > vtkMapperPtr
Helper for rendering a line in 3D.
vtkSmartPointer< class vtkCaptionActor2D > vtkCaptionActor2DPtr
Helper for rendering 3D text that faces the camera and has a constant viewed size, always on top.
vtkSmartPointer< class vtkSphereSource > vtkSphereSourcePtr
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
Helper for rendering 3D text that faces the camera and has a constant viewed size.
vtkSmartPointer< class vtkVectorText > vtkVectorTextPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
vtkSmartPointer< class vtkGlyph3DMapper > vtkGlyph3DMapperPtr
boost::shared_ptr< FollowerText3D > FollowerText3DPtr
vtkSmartPointer< class vtkArcSource > vtkArcSourcePtr
vtkSmartPointer< class vtkPolyDataAlgorithm > vtkPolyDataAlgorithmPtr
RealScalar length() const
boost::shared_ptr< GraphicalPolyData3D > GraphicalPolyData3DPtr
boost::shared_ptr< class GraphicalLine3D > GraphicalLine3DPtr
vtkPolyDataAlgorithmPtr mSource
vtkSmartPointer< class vtkArrowSource > vtkArrowSourcePtr
Helper for rendering a a glyph in 3D.
boost::shared_ptr< CaptionText3D > CaptionText3DPtr
boost::shared_ptr< class Rect3D > Rect3DPtr
boost::shared_ptr< GraphicalArrow3D > GraphicalArrow3DPtr
vtkSmartPointer< class vtkPoints > vtkPointsPtr
Helper for drawing a rectangle in 3D.