CustusX
22.04
An IGT application
|
#include <cxGraphicalPrimitives.h>
Public Member Functions | |
GraphicalGeometricBase (vtkPolyDataAlgorithmPtr source=vtkPolyDataAlgorithmPtr(), vtkRendererPtr renderer=vtkRendererPtr()) | |
~GraphicalGeometricBase () | |
void | setRenderer (vtkRendererPtr renderer=vtkRendererPtr()) |
void | setSource (vtkPolyDataAlgorithmPtr source) |
void | setBackfaceCulling (bool val) |
void | setVisibility (bool visible) |
void | setFrontfaceCulling (bool val) |
void | setColor (double red, double green, double blue) |
void | setColor (Vector3D color) |
void | setPosition (Vector3D point) |
void | setOpacity (double val) |
void | setUserMatrix (vtkMatrix4x4 *matrix) |
void | setPointSize (int pointSize) |
void | setScalarVisibility (bool show) |
void | setScalarModeToUseCellData () |
vtkActorPtr | getActor () |
vtkPropertyPtr | getProperty () |
vtkPolyDataPtr | getPolyData () |
Vector3D | getPosition () const |
vtkPolyDataAlgorithmPtr | getSource () |
Protected Member Functions | |
virtual vtkMapperPtr | getMapper ()=0 |
Protected Attributes | |
vtkPolyDataAlgorithmPtr | mSource |
vtkPropertyPtr | mProperty |
vtkActorPtr | mActor |
vtkPolyDataPtr | mData |
vtkRendererPtr | mRenderer |
Definition at line 36 of file cxGraphicalPrimitives.h.
cx::GraphicalGeometricBase::GraphicalGeometricBase | ( | vtkPolyDataAlgorithmPtr | source = vtkPolyDataAlgorithmPtr() , |
vtkRendererPtr | renderer = vtkRendererPtr() |
||
) |
Definition at line 40 of file cxGraphicalPrimitives.cpp.
cx::GraphicalGeometricBase::~GraphicalGeometricBase | ( | ) |
Definition at line 47 of file cxGraphicalPrimitives.cpp.
vtkActorPtr cx::GraphicalGeometricBase::getActor | ( | ) |
Definition at line 137 of file cxGraphicalPrimitives.cpp.
|
protectedpure virtual |
Implemented in cx::GraphicalGlyph3DData, and cx::GraphicalPolyData3D.
vtkPolyDataPtr cx::GraphicalGeometricBase::getPolyData | ( | ) |
Definition at line 147 of file cxGraphicalPrimitives.cpp.
Vector3D cx::GraphicalGeometricBase::getPosition | ( | ) | const |
Definition at line 132 of file cxGraphicalPrimitives.cpp.
vtkPropertyPtr cx::GraphicalGeometricBase::getProperty | ( | ) |
Definition at line 142 of file cxGraphicalPrimitives.cpp.
vtkPolyDataAlgorithmPtr cx::GraphicalGeometricBase::getSource | ( | ) |
Definition at line 155 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setBackfaceCulling | ( | bool | val | ) |
Definition at line 80 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setColor | ( | double | red, |
double | green, | ||
double | blue | ||
) |
Definition at line 90 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setColor | ( | Vector3D | color | ) |
Definition at line 95 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setFrontfaceCulling | ( | bool | val | ) |
Definition at line 85 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setOpacity | ( | double | val | ) |
Definition at line 105 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setPointSize | ( | int | pointSize | ) |
Definition at line 115 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setPosition | ( | Vector3D | point | ) |
Definition at line 100 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 63 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setScalarModeToUseCellData | ( | ) |
Definition at line 127 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setScalarVisibility | ( | bool | show | ) |
Definition at line 122 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setSource | ( | vtkPolyDataAlgorithmPtr | source | ) |
Definition at line 52 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setUserMatrix | ( | vtkMatrix4x4 * | matrix | ) |
Definition at line 110 of file cxGraphicalPrimitives.cpp.
void cx::GraphicalGeometricBase::setVisibility | ( | bool | visible | ) |
Definition at line 74 of file cxGraphicalPrimitives.cpp.
|
protected |
Definition at line 69 of file cxGraphicalPrimitives.h.
|
protected |
Definition at line 70 of file cxGraphicalPrimitives.h.
|
protected |
Definition at line 68 of file cxGraphicalPrimitives.h.
|
protected |
Definition at line 71 of file cxGraphicalPrimitives.h.
|
protected |
Definition at line 67 of file cxGraphicalPrimitives.h.