Chaste
Build::
|
#include <DiscreteContinuumMeshActorGenerator.hpp>
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 |
This class generates Vtk actors for DiscreteContinuumMeshs
Definition at line 53 of file DiscreteContinuumMeshActorGenerator.hpp.
DiscreteContinuumMeshActorGenerator< DIM >::DiscreteContinuumMeshActorGenerator | ( | ) |
Constructor
Definition at line 71 of file DiscreteContinuumMeshActorGenerator.cpp.
DiscreteContinuumMeshActorGenerator< DIM >::~DiscreteContinuumMeshActorGenerator | ( | ) |
Destructor
Definition at line 79 of file DiscreteContinuumMeshActorGenerator.cpp.
|
virtual |
Add the DiscreteContinuumMesh actor to the renderer
pRenderer | the current renderer |
Implements AbstractActorGenerator< DIM >.
Definition at line 85 of file DiscreteContinuumMeshActorGenerator.cpp.
References DiscreteContinuumMeshActorGenerator< DIM >::mpDiscreteContinuumMesh.
void DiscreteContinuumMeshActorGenerator< DIM >::SetDiscreteContinuumMesh | ( | boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > | pDiscreteContinuumMesh | ) |
Set the DiscreteContinuumMesh
pDiscreteContinuumMesh | the DiscreteContinuumMesh to render |
Definition at line 113 of file DiscreteContinuumMeshActorGenerator.cpp.
References DiscreteContinuumMeshActorGenerator< DIM >::mpDiscreteContinuumMesh.
|
private |
Definition at line 58 of file DiscreteContinuumMeshActorGenerator.hpp.
Referenced by DiscreteContinuumMeshActorGenerator< DIM >::AddActor(), and DiscreteContinuumMeshActorGenerator< DIM >::SetDiscreteContinuumMesh().