Chaste  Build::
CellPopulationActorGenerator< DIM > Class Template Reference

#include <CellPopulationActorGenerator.hpp>

+ Inheritance diagram for CellPopulationActorGenerator< DIM >:
+ Collaboration diagram for CellPopulationActorGenerator< DIM >:

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
 

Detailed Description

template<unsigned DIM>
class CellPopulationActorGenerator< DIM >

This class generates Vtk actors for CellPopulations

Definition at line 55 of file CellPopulationActorGenerator.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
CellPopulationActorGenerator< DIM >::CellPopulationActorGenerator ( )

Constructor

Definition at line 71 of file CellPopulationActorGenerator.cpp.

template<unsigned DIM>
CellPopulationActorGenerator< DIM >::~CellPopulationActorGenerator ( )

Destructor

Definition at line 79 of file CellPopulationActorGenerator.cpp.

Member Function Documentation

template<unsigned DIM>
void CellPopulationActorGenerator< DIM >::AddActor ( vtkSmartPointer< vtkRenderer >  pRenderer)
virtual

Add the CellPopulation actor to the renderer

Parameters
pRendererthe current renderer

Implements AbstractActorGenerator< DIM >.

Definition at line 85 of file CellPopulationActorGenerator.cpp.

References CellPopulationActorGenerator< DIM >::AddMeshBasedCellPopulationActor(), and CellPopulationActorGenerator< DIM >::mpCellPopulation.

template<unsigned DIM>
void CellPopulationActorGenerator< DIM >::AddMeshBasedCellPopulationActor ( vtkSmartPointer< vtkRenderer >  pRenderer)

Add the CellPopulation actor to the renderer

Parameters
pRendererthe current renderer

Definition at line 150 of file CellPopulationActorGenerator.cpp.

References CellPopulationActorGenerator< DIM >::mpCellPopulation.

Referenced by CellPopulationActorGenerator< DIM >::AddActor().

template<unsigned DIM>
void CellPopulationActorGenerator< DIM >::SetCellPopulation ( boost::shared_ptr< AbstractCellPopulation< DIM > >  pCellPopulation)

Set the CellPopulation

Parameters
pCellPopulationthe CellPopulation to render

Definition at line 376 of file CellPopulationActorGenerator.cpp.

References CellPopulationActorGenerator< DIM >::mpCellPopulation.

Member Data Documentation

template<unsigned DIM>
boost::shared_ptr<AbstractCellPopulation<DIM> > CellPopulationActorGenerator< DIM >::mpCellPopulation
private

The documentation for this class was generated from the following files: