26 #ifndef ANYDECORATION_H 27 #define ANYDECORATION_H 58 void show(
const bool);
61 void setColor(
const double,
const double,
const double);
void show(const bool)
show the geometric object in 3D or not depending on the parameter
Definition: AnyDecoration.cpp:96
camitk::Geometry * myGeometry
the list of geometric object
Definition: AnyDecoration.h:68
AnyDecoration(StructuralComponentDC *theDC)
this constructor set the current atom to follow
Definition: AnyDecoration.cpp:46
void update()
update the 3D representation: use the current position of the atoms to represent the geometric struct...
Definition: AnyDecoration.cpp:78
std::AtomVtkPointsIndexMap atomMap
map atom -> id (order index) in the vtk point set
Definition: AnyDecoration.h:71
The manager of the Structural component data.
Definition: StructuralComponentDC.h:83
abstract class representing a decoration added to a DC
Definition: Decoration.h:33
void setColor(const double, const double, const double)
change the color of the geometric object
Definition: AnyDecoration.cpp:124
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126
This class allows you to display any geometric object represented by a SC (e.g.
Definition: AnyDecoration.h:44
~AnyDecoration()
Definition: AnyDecoration.cpp:68
StructuralComponent * mySC
the represented SC
Definition: AnyDecoration.h:65
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:52
std::map< Atom *, unsigned int > AtomVtkPointsIndexMap
definition of the association map (=STL map) AtomVtkPointsIndexMap.
Definition: StructuralComponentDC.h:68