kalzium
Avogadro::ElementColor Class Reference
#include <elementcolor.h>
Inheritance diagram for Avogadro::ElementColor:

Detailed Description
This class provides a default mapping for colors based on elements.
Definition at line 40 of file elementcolor.h.
Public Member Functions | |
| ElementColor () | |
| virtual void | set (const Primitive *) |
| virtual QString | type () const |
| virtual | ~ElementColor () |
Constructor & Destructor Documentation
| Avogadro::ElementColor::ElementColor | ( | ) |
Definition at line 34 of file elementcolor.cpp.
| Avogadro::ElementColor::~ElementColor | ( | ) | [virtual] |
Definition at line 37 of file elementcolor.cpp.
Member Function Documentation
| void Avogadro::ElementColor::set | ( | const Primitive * | p | ) | [virtual] |
Set the color based on the supplied Primitive If NULL is passed, do nothing.
Reimplemented from Avogadro::Color.
Definition at line 40 of file elementcolor.cpp.
| virtual QString Avogadro::ElementColor::type | ( | ) | const [inline, virtual] |
- Returns:
- the type of the Color class.
Reimplemented from Avogadro::Color.
Definition at line 51 of file elementcolor.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference