![]() |
Chaste
Build::
|
#include <PartActorGenerator.hpp>
Inheritance diagram for PartActorGenerator< DIM >:
Collaboration diagram for PartActorGenerator< DIM >:Public Member Functions | |
| PartActorGenerator () | |
| ~PartActorGenerator () | |
| void | AddActor (vtkSmartPointer< vtkRenderer > pRenderer) |
| void | SetPart (boost::shared_ptr< Part< DIM > > pPart) |
Public Member Functions inherited from AbstractActorGenerator< DIM > | |
| AbstractActorGenerator () | |
| virtual | ~AbstractActorGenerator () |
| void | SetShowEdges (bool show) |
| void | SetShowPoints (bool show) |
| void | SetShowVolume (bool show) |
| void | SetEdgeColor (const c_vector< double, 3 > &rColor) |
| void | SetPointColor (const c_vector< double, 3 > &rColor) |
| void | SetVolumeColor (const c_vector< double, 3 > &rColor) |
| void | SetVolumeOpacity (double opacity) |
| void | SetPointSize (double size) |
| void | SetEdgeSize (double size) |
| void | SetDataLabel (const std::string &rLabel) |
Private Attributes | |
| boost::shared_ptr< Part< DIM > > | mpPart |
Additional Inherited Members | |
Protected Attributes inherited from AbstractActorGenerator< DIM > | |
| vtkSmartPointer< vtkColorTransferFunction > | mpColorTransferFunction |
| units::quantity< unit::length > | mLengthScale |
| bool | mShowEdges |
| bool | mShowPoints |
| bool | mShowVolume |
| c_vector< double, 3 > | mEdgeColor |
| c_vector< double, 3 > | mPointColor |
| c_vector< double, 3 > | mVolumeColor |
| std::vector< c_vector< double, 3 > > | mViridisColorMap |
| double | mVolumeOpacity |
| double | mPointSize |
| double | mEdgeSize |
| std::string | mDataLabel |
This class generates Vtk actors for Parts
Definition at line 53 of file PartActorGenerator.hpp.
| PartActorGenerator< DIM >::PartActorGenerator | ( | ) |
Constructor
Definition at line 71 of file PartActorGenerator.cpp.
| PartActorGenerator< DIM >::~PartActorGenerator | ( | ) |
Destructor
Definition at line 79 of file PartActorGenerator.cpp.
|
virtual |
Add the part actor to the renderer
| pRenderer | the current renderer |
Implements AbstractActorGenerator< DIM >.
Definition at line 85 of file PartActorGenerator.cpp.
References AbstractActorGenerator< DIM >::mEdgeColor, AbstractActorGenerator< DIM >::mPointColor, PartActorGenerator< DIM >::mpPart, AbstractActorGenerator< DIM >::mShowEdges, AbstractActorGenerator< DIM >::mShowPoints, AbstractActorGenerator< DIM >::mShowVolume, AbstractActorGenerator< DIM >::mVolumeColor, and AbstractActorGenerator< DIM >::mVolumeOpacity.
| void PartActorGenerator< DIM >::SetPart | ( | boost::shared_ptr< Part< DIM > > | pPart | ) |
Set the part
| pPart | the part to render |
Definition at line 175 of file PartActorGenerator.cpp.
References PartActorGenerator< DIM >::mpPart.
|
private |
The part
Definition at line 58 of file PartActorGenerator.hpp.
Referenced by PartActorGenerator< DIM >::AddActor(), and PartActorGenerator< DIM >::SetPart().