Chaste  Build::
DiscreteContinuumMeshActorGenerator< DIM > Class Template Reference

#include <DiscreteContinuumMeshActorGenerator.hpp>

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

Public Member Functions

 DiscreteContinuumMeshActorGenerator ()
 
 ~DiscreteContinuumMeshActorGenerator ()
 
void AddActor (vtkSmartPointer< vtkRenderer > pRenderer)
 
void SetDiscreteContinuumMesh (boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > pDiscreteContinuumMesh)
 
- 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< DiscreteContinuumMesh< DIM, DIM > > mpDiscreteContinuumMesh
 

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 DiscreteContinuumMeshActorGenerator< DIM >

This class generates Vtk actors for DiscreteContinuumMeshs

Definition at line 53 of file DiscreteContinuumMeshActorGenerator.hpp.

Constructor & Destructor Documentation

Constructor

Definition at line 71 of file DiscreteContinuumMeshActorGenerator.cpp.

Destructor

Definition at line 79 of file DiscreteContinuumMeshActorGenerator.cpp.

Member Function Documentation

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

Add the DiscreteContinuumMesh actor to the renderer

Parameters
pRendererthe current renderer

Implements AbstractActorGenerator< DIM >.

Definition at line 85 of file DiscreteContinuumMeshActorGenerator.cpp.

References DiscreteContinuumMeshActorGenerator< DIM >::mpDiscreteContinuumMesh.

template<unsigned DIM>
void DiscreteContinuumMeshActorGenerator< DIM >::SetDiscreteContinuumMesh ( boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > >  pDiscreteContinuumMesh)

Set the DiscreteContinuumMesh

Parameters
pDiscreteContinuumMeshthe DiscreteContinuumMesh to render

Definition at line 113 of file DiscreteContinuumMeshActorGenerator.cpp.

References DiscreteContinuumMeshActorGenerator< DIM >::mpDiscreteContinuumMesh.

Member Data Documentation


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