Chaste
Build::
|
#include <CellPopulationActorGenerator.hpp>
Public Member Functions | |
CellPopulationActorGenerator () | |
~CellPopulationActorGenerator () | |
void | AddActor (vtkSmartPointer< vtkRenderer > pRenderer) |
void | AddMeshBasedCellPopulationActor (vtkSmartPointer< vtkRenderer > pRenderer) |
void | SetCellPopulation (boost::shared_ptr< AbstractCellPopulation< DIM > > pCellPopulation) |
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< AbstractCellPopulation< DIM > > | mpCellPopulation |
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 CellPopulations
Definition at line 55 of file CellPopulationActorGenerator.hpp.
CellPopulationActorGenerator< DIM >::CellPopulationActorGenerator | ( | ) |
Constructor
Definition at line 71 of file CellPopulationActorGenerator.cpp.
CellPopulationActorGenerator< DIM >::~CellPopulationActorGenerator | ( | ) |
Destructor
Definition at line 79 of file CellPopulationActorGenerator.cpp.
|
virtual |
Add the CellPopulation actor to the renderer
pRenderer | the current renderer |
Implements AbstractActorGenerator< DIM >.
Definition at line 85 of file CellPopulationActorGenerator.cpp.
References CellPopulationActorGenerator< DIM >::AddMeshBasedCellPopulationActor(), and CellPopulationActorGenerator< DIM >::mpCellPopulation.
void CellPopulationActorGenerator< DIM >::AddMeshBasedCellPopulationActor | ( | vtkSmartPointer< vtkRenderer > | pRenderer | ) |
Add the CellPopulation actor to the renderer
pRenderer | the current renderer |
Definition at line 150 of file CellPopulationActorGenerator.cpp.
References CellPopulationActorGenerator< DIM >::mpCellPopulation.
Referenced by CellPopulationActorGenerator< DIM >::AddActor().
void CellPopulationActorGenerator< DIM >::SetCellPopulation | ( | boost::shared_ptr< AbstractCellPopulation< DIM > > | pCellPopulation | ) |
Set the CellPopulation
pCellPopulation | the CellPopulation to render |
Definition at line 376 of file CellPopulationActorGenerator.cpp.
References CellPopulationActorGenerator< DIM >::mpCellPopulation.
|
private |
The CellPopulation
Definition at line 60 of file CellPopulationActorGenerator.hpp.
Referenced by CellPopulationActorGenerator< DIM >::AddActor(), CellPopulationActorGenerator< DIM >::AddMeshBasedCellPopulationActor(), and CellPopulationActorGenerator< DIM >::SetCellPopulation().