Computer Assited Medical Intervention Tool Kit  version 4.0
Public Member Functions | Protected Attributes | List of all members
Decoration Class Referenceabstract

abstract class representing a decoration added to a DC More...

#include <Decoration.h>

Inherited by AnyDecoration, and AtomDecoration.

Public Member Functions

 Decoration (camitk::Component *theDC)
 
virtual void setColor (const double, const double, const double)=0
 change the color of the geometric object More...
 
virtual void show (const bool)=0
 show the geometric object in 3D or not depending on the paramater More...
 
virtual void update ()=0
 update the position of the geometric object (using the atom's position) More...
 
virtual ~Decoration ()
 virtual destructor More...
 

Protected Attributes

camitk::Componentdc
 the data component where the decoration is attached to More...
 

Detailed Description

abstract class representing a decoration added to a DC

Constructor & Destructor Documentation

◆ Decoration()

Decoration::Decoration ( camitk::Component theDC)
inline

◆ ~Decoration()

virtual Decoration::~Decoration ( )
inlinevirtual

virtual destructor

References setColor(), show(), and update().

Member Function Documentation

◆ setColor()

virtual void Decoration::setColor ( const double  ,
const double  ,
const double   
)
pure virtual

change the color of the geometric object

Implemented in AtomDecoration, and AnyDecoration.

Referenced by ~Decoration().

◆ show()

virtual void Decoration::show ( const bool  )
pure virtual

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

Implemented in AtomDecoration, and AnyDecoration.

Referenced by ~Decoration().

◆ update()

virtual void Decoration::update ( )
pure virtual

update the position of the geometric object (using the atom's position)

Implemented in AtomDecoration, and AnyDecoration.

Referenced by ~Decoration().

Member Data Documentation

◆ dc

camitk::Component* Decoration::dc
protected

the data component where the decoration is attached to

Referenced by AnyDecoration::show(), AtomDecoration::show(), AnyDecoration::~AnyDecoration(), and AtomDecoration::~AtomDecoration().


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