26 #ifndef ATOMDECORATION_H 27 #define ATOMDECORATION_H 59 void update(
const double,
const double,
const double);
67 void update(
const double[3]);
73 void show(
const bool);
76 void setColor(
const double,
const double,
const double);
79 void setSize(
const double);
82 void setPosition(
const double,
const double,
const double);
85 void setDirection(
const double,
const double,
const double);
88 void setDirection(
const double[3]);
100 return myObject->getType();
This class allows you to display a geometric object (arrow, sphere, ...) positionned on an atom...
Definition: AtomDecoration.h:46
#define PHYSICALMODEL_COMPONENT_API
Definition: PMComponentAPI.h:54
A geometric object allows one to create geometric object (sphere, arrow, ...) that can be added direc...
Definition: GeometricObject.h:54
virtual void setColor(const double, const double, const double)=0
change the color of the geometric object
virtual void update()=0
update the position of the geometric object (using the atom's position)
The manager of the Atom data.
Definition: AtomDC.h:74
camitk::GeometricObject * myObject
Definition: AtomDecoration.h:94
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:49
abstract class representing a decoration added to a DC
Definition: Decoration.h:33
Atom * myAtom
Definition: AtomDecoration.h:95
virtual void show(const bool)=0
show the geometric object in 3D or not depending on the paramater
Geometry
the geometric type
Definition: GeometricObject.h:58
camitk::GeometricObject::Geometry getType() const
Definition: AtomDecoration.h:99