Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
AnyDecoration Class Reference

This class allows you to display any geometric object represented by a SC (e.g. More...

#include <AnyDecoration.h>

+ Inheritance diagram for AnyDecoration:

Public Member Functions

 AnyDecoration (StructuralComponentDC *theDC)
 this constructor set the current atom to follow More...
 
void setColor (const double, const double, const double)
 change the color of the geometric object More...
 
void show (const bool)
 show the geometric object in 3D or not depending on the parameter More...
 
void update ()
 update the 3D representation: use the current position of the atoms to represent the geometric structure More...
 
 ~AnyDecoration ()
 
- Public Member Functions inherited from Decoration
 Decoration (camitk::Component *theDC)
 
virtual ~Decoration ()
 virtual destructor More...
 

Private Attributes

std::AtomVtkPointsIndexMap atomMap
 map atom -> id (order index) in the vtk point set More...
 
camitk::GeometrymyGeometry
 the list of geometric object More...
 
StructuralComponentmySC
 the represented SC More...
 

Additional Inherited Members

- Protected Attributes inherited from Decoration
camitk::Componentdc
 the data component where the decoration is attached to More...
 

Detailed Description

This class allows you to display any geometric object represented by a SC (e.g.

a list of nodes, lines, triangles, etc...)

Constructor & Destructor Documentation

AnyDecoration::AnyDecoration ( StructuralComponentDC theDC)

this constructor set the current atom to follow

AnyDecoration::~AnyDecoration ( )

Member Function Documentation

void AnyDecoration::setColor ( const double  ,
const double  ,
const double   
)
virtual

change the color of the geometric object

Implements Decoration.

void AnyDecoration::show ( const bool  )
virtual

show the geometric object in 3D or not depending on the parameter

Implements Decoration.

void AnyDecoration::update ( )
virtual

update the 3D representation: use the current position of the atoms to represent the geometric structure

Implements Decoration.

Member Data Documentation

std::AtomVtkPointsIndexMap AnyDecoration::atomMap
private

map atom -> id (order index) in the vtk point set

camitk::Geometry* AnyDecoration::myGeometry
private

the list of geometric object

StructuralComponent* AnyDecoration::mySC
private

the represented SC


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