|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
12 #ifndef CXGRAPHICALPRIMITIVES_H_
13 #define CXGRAPHICALPRIMITIVES_H_
15 #include "cxResourceVisualizationExport.h"
17 #include <boost/shared_ptr.hpp>
21 #include <vtkPolyDataAlgorithm.h>
22 #include <vtkGlyph3DMapper.h>
23 #include <vtkColorSeries.h>
24 #include <vtkLookupTable.h>
25 #include <vtkMapper.h>
45 void setBackfaceCulling(
bool val);
46 void setVisibility(
bool visible);
47 void setFrontfaceCulling(
bool val);
49 void setColor(
double red,
double green,
double blue);
54 void setOpacity(
double val);
55 void setUserMatrix(vtkMatrix4x4 *matrix);
56 void setPointSize(
int pointSize);
57 void setScalarVisibility(
bool show);
58 void setScalarModeToUseCellData();
88 void setIsWireFrame(
bool val);
108 void setOrientationArray(
const char* orientationArray);
109 void setColorArray(
const char* colorArray);
110 void setLUT(
const char* lut);
111 void setScaleFactor(
double scaleFactor);
128 void setRadius(
double radius);
130 void setColor(QColor color);
152 void setColor(QColor color);
154 void setStipple(
int stipple);
172 void setColor(QColor color);
174 void setStipple(
int stipple);
192 void setColor(QColor color);
205 class cxResourceVisualization_EXPORT
Rect3D
210 void setColor(QColor color);
212 void setLine(
bool on,
int width);
213 void setSurface(
bool on);
223 typedef boost::shared_ptr<class Rect3D>
Rect3DPtr;
235 void setColor(QColor color);
236 void setText(QString text);
239 void setSize(
double val);
240 void setSizeInNormalizedViewport(
bool on,
double size);
265 void setColor(QColor color);
266 void setText(QString text);
269 void setSize(
double val);
275 void placeBelowCenter();
276 void placeAboveCenter();
277 void setVisibility(
bool visible);
vtkSmartPointer< class vtkCellArray > vtkCellArrayPtr
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
vtkPolyDataAlgorithmPtr mSource
Helper for rendering 3D text that faces the camera and has a constant viewed size,...
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,...
Helper for rendering 3D text that faces the camera and has a constant viewed size.
vtkSmartPointer< class vtkMapper > vtkMapperPtr
Namespace for all CustusX production code.
vtkSmartPointer< class vtkFollower > vtkFollowerPtr
Helper for rendering a line in 3D.
boost::shared_ptr< GraphicalGlyph3DData > GraphicalGlyph3DDataPtr
vtkSmartPointer< class vtkCaptionActor2D > vtkCaptionActor2DPtr
vtkSmartPointer< class vtkPolyDataMapper > vtkPolyDataMapperPtr
boost::shared_ptr< CaptionText3D > CaptionText3DPtr
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
RealScalar length() const
boost::shared_ptr< class Rect3D > Rect3DPtr
Helper for rendering a a glyph in 3D.
Helper for drawing a rectangle in 3D.
Helper for rendering an arrow in 3D.
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< vtkPoints > vtkPointsPtr
boost::shared_ptr< GraphicalArrow3D > GraphicalArrow3DPtr
vtkSmartPointer< class vtkGlyph3DMapper > vtkGlyph3DMapperPtr
vtkSmartPointer< class vtkProperty > vtkPropertyPtr
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Helper for rendering a point in 3D.
vtkSmartPointer< class vtkActor > vtkActorPtr
vtkSmartPointer< class vtkPolyDataAlgorithm > vtkPolyDataAlgorithmPtr
boost::shared_ptr< FollowerText3D > FollowerText3DPtr
PlainObject normal() const
vtkSmartPointer< class vtkTexture > vtkTexturePtr
boost::shared_ptr< class GraphicalLine3D > GraphicalLine3DPtr
Helper for rendering a a polydata in 3D.
vtkSmartPointer< class vtkArrowSource > vtkArrowSourcePtr
boost::shared_ptr< GraphicalPolyData3D > GraphicalPolyData3DPtr
vtkSmartPointer< class vtkVectorText > vtkVectorTextPtr
vtkSmartPointer< class vtkSphereSource > vtkSphereSourcePtr
Helper for rendering a line in 3D.
boost::shared_ptr< GraphicalArc3D > GraphicalArc3DPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
vtkSmartPointer< class vtkArcSource > vtkArcSourcePtr
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
vtkSmartPointer< class vtkLineSource > vtkLineSourcePtr
vtkSmartPointer< class vtkPolyDataAlgorithm > vtkPolyDataAlgorithmPtr