Chaste
Build::
|
#include <RegularGridActorGenerator.hpp>
Public Member Functions | |
RegularGridActorGenerator () | |
~RegularGridActorGenerator () | |
void | AddActor (vtkSmartPointer< vtkRenderer > pRenderer) |
void | SetRegularGrid (boost::shared_ptr< RegularGrid< DIM > > pRegularGrid) |
void | SetEdgeOpacity (double opacity) |
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< RegularGrid< DIM > > | mpRegularGrid |
double | mEdgeOpacity |
bool | mUseTubesForEdges |
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 RegularGrids
Definition at line 53 of file RegularGridActorGenerator.hpp.
RegularGridActorGenerator< DIM >::RegularGridActorGenerator | ( | ) |
Constructor
Definition at line 79 of file RegularGridActorGenerator.cpp.
RegularGridActorGenerator< DIM >::~RegularGridActorGenerator | ( | ) |
Destructor
Definition at line 89 of file RegularGridActorGenerator.cpp.
|
virtual |
Add the RegularGrid actor to the renderer
pRenderer | the current renderer |
Implements AbstractActorGenerator< DIM >.
Definition at line 95 of file RegularGridActorGenerator.cpp.
References AbstractActorGenerator< DIM >::mEdgeColor, RegularGridActorGenerator< DIM >::mEdgeOpacity, AbstractActorGenerator< DIM >::mpColorTransferFunction, AbstractActorGenerator< DIM >::mPointColor, RegularGridActorGenerator< DIM >::mpRegularGrid, AbstractActorGenerator< DIM >::mShowEdges, AbstractActorGenerator< DIM >::mShowPoints, AbstractActorGenerator< DIM >::mShowVolume, AbstractActorGenerator< DIM >::mVolumeColor, and AbstractActorGenerator< DIM >::mVolumeOpacity.
void RegularGridActorGenerator< DIM >::SetEdgeOpacity | ( | double | opacity | ) |
Set the opacity for the edges
opacity | the opacity for the edges |
Definition at line 255 of file RegularGridActorGenerator.cpp.
References RegularGridActorGenerator< DIM >::mEdgeOpacity.
void RegularGridActorGenerator< DIM >::SetRegularGrid | ( | boost::shared_ptr< RegularGrid< DIM > > | pRegularGrid | ) |
Set the RegularGrid
pRegularGrid | the RegularGrid to render |
Definition at line 249 of file RegularGridActorGenerator.cpp.
References RegularGridActorGenerator< DIM >::mpRegularGrid.
|
private |
The edge opacity
Definition at line 63 of file RegularGridActorGenerator.hpp.
Referenced by RegularGridActorGenerator< DIM >::AddActor(), and RegularGridActorGenerator< DIM >::SetEdgeOpacity().
|
private |
The RegularGrid
Definition at line 58 of file RegularGridActorGenerator.hpp.
Referenced by RegularGridActorGenerator< DIM >::AddActor(), and RegularGridActorGenerator< DIM >::SetRegularGrid().