Chaste  Build::
PartActorGenerator< DIM > Class Template Reference

#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
 

Detailed Description

template<unsigned DIM>
class PartActorGenerator< DIM >

This class generates Vtk actors for Parts

Definition at line 53 of file PartActorGenerator.hpp.

Constructor & Destructor Documentation

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

Constructor

Definition at line 71 of file PartActorGenerator.cpp.

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

Destructor

Definition at line 79 of file PartActorGenerator.cpp.

Member Function Documentation

template<unsigned DIM>
void PartActorGenerator< DIM >::SetPart ( boost::shared_ptr< Part< DIM > >  pPart)

Set the part

Parameters
pPartthe part to render

Definition at line 175 of file PartActorGenerator.cpp.

References PartActorGenerator< DIM >::mpPart.

Member Data Documentation

template<unsigned DIM>
boost::shared_ptr<Part<DIM> > PartActorGenerator< DIM >::mpPart
private

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