Chaste  Build::
AbstractActorGenerator< DIM > Class Template Referenceabstract

#include <AbstractActorGenerator.hpp>

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

Public Member Functions

 AbstractActorGenerator ()
 
virtual ~AbstractActorGenerator ()
 
virtual void AddActor (vtkSmartPointer< vtkRenderer > pRenderer)=0
 
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)
 

Protected Attributes

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

This class generates Vtk actors for geometric features.

Definition at line 52 of file AbstractActorGenerator.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
AbstractActorGenerator< DIM >::~AbstractActorGenerator ( )
virtual

Destructor

Definition at line 355 of file AbstractActorGenerator.cpp.

Member Function Documentation

template<unsigned DIM>
virtual void AbstractActorGenerator< DIM >::AddActor ( vtkSmartPointer< vtkRenderer >  pRenderer)
pure virtual
template<unsigned DIM>
void AbstractActorGenerator< DIM >::SetEdgeColor ( const c_vector< double, 3 > &  rColor)

Set the edge color in RGB (e.g. (255,255,255) is white)

Parameters
rColorthe edge color

Definition at line 391 of file AbstractActorGenerator.cpp.

References AbstractActorGenerator< DIM >::mEdgeColor.

template<unsigned DIM>
void AbstractActorGenerator< DIM >::SetPointColor ( const c_vector< double, 3 > &  rColor)

Set the point color in RGB (e.g. (255,255,255) is white)

Parameters
rColorthe point color

Definition at line 397 of file AbstractActorGenerator.cpp.

References AbstractActorGenerator< DIM >::mPointColor.

template<unsigned DIM>
void AbstractActorGenerator< DIM >::SetShowEdges ( bool  show)

Set whether to show the edges

Parameters
showwhether to show the edges

Definition at line 361 of file AbstractActorGenerator.cpp.

References AbstractActorGenerator< DIM >::mShowEdges.

template<unsigned DIM>
void AbstractActorGenerator< DIM >::SetShowPoints ( bool  show)

Set whether to show the points

Parameters
showwhether to show the points

Definition at line 367 of file AbstractActorGenerator.cpp.

References AbstractActorGenerator< DIM >::mShowPoints.

template<unsigned DIM>
void AbstractActorGenerator< DIM >::SetShowVolume ( bool  show)

Set whether to show the volume

Parameters
showwhether to show the volumes

Definition at line 385 of file AbstractActorGenerator.cpp.

References AbstractActorGenerator< DIM >::mShowVolume.

template<unsigned DIM>
void AbstractActorGenerator< DIM >::SetVolumeColor ( const c_vector< double, 3 > &  rColor)

Set the volume color in RGB (e.g. (255,255,255) is white)

Parameters
rColorthe volume color

Definition at line 403 of file AbstractActorGenerator.cpp.

References AbstractActorGenerator< DIM >::mVolumeColor.

template<unsigned DIM>
void AbstractActorGenerator< DIM >::SetVolumeOpacity ( double  opacity)

Set the opacity for the volume

Parameters
opacitythe opacity for the volume

Definition at line 409 of file AbstractActorGenerator.cpp.

References AbstractActorGenerator< DIM >::mVolumeOpacity.

Member Data Documentation

template<unsigned DIM>
c_vector<double, 3> AbstractActorGenerator< DIM >::mEdgeColor
protected
template<unsigned DIM>
units::quantity<unit::length> AbstractActorGenerator< DIM >::mLengthScale
protected

Scale features using this length. e.g. set to micron if we want to render features in microns

Definition at line 66 of file AbstractActorGenerator.hpp.

template<unsigned DIM>
vtkSmartPointer<vtkColorTransferFunction> AbstractActorGenerator< DIM >::mpColorTransferFunction
protected

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