Chaste  Build::
RegularGridActorGenerator< DIM > Class Template Reference

#include <RegularGridActorGenerator.hpp>

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

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
 

Detailed Description

template<unsigned DIM>
class RegularGridActorGenerator< DIM >

This class generates Vtk actors for RegularGrids

Definition at line 53 of file RegularGridActorGenerator.hpp.

Constructor & Destructor Documentation

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

Constructor

Definition at line 79 of file RegularGridActorGenerator.cpp.

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

Destructor

Definition at line 89 of file RegularGridActorGenerator.cpp.

Member Function Documentation

template<unsigned DIM>
void RegularGridActorGenerator< DIM >::SetEdgeOpacity ( double  opacity)

Set the opacity for the edges

Parameters
opacitythe opacity for the edges

Definition at line 255 of file RegularGridActorGenerator.cpp.

References RegularGridActorGenerator< DIM >::mEdgeOpacity.

template<unsigned DIM>
void RegularGridActorGenerator< DIM >::SetRegularGrid ( boost::shared_ptr< RegularGrid< DIM > >  pRegularGrid)

Set the RegularGrid

Parameters
pRegularGridthe RegularGrid to render

Definition at line 249 of file RegularGridActorGenerator.cpp.

References RegularGridActorGenerator< DIM >::mpRegularGrid.

Member Data Documentation

template<unsigned DIM>
double RegularGridActorGenerator< DIM >::mEdgeOpacity
private
template<unsigned DIM>
boost::shared_ptr<RegularGrid<DIM> > RegularGridActorGenerator< DIM >::mpRegularGrid
private

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