#include <colorExtensions.h>
Inheritance diagram for VIEW::MultiColorExtension:
Public Member Functions | |
Constructors | |
MultiColorExtension () throw () | |
Default Constructor. | |
MultiColorExtension (const MultiColorExtension &color_extension) throw () | |
Copy constructor. | |
virtual | ~MultiColorExtension () throw () |
Destructor. | |
virtual void | clear () throw () |
Explicit default initialization. | |
Assignment methods | |
void | set (const MultiColorExtension &color_extension) throw () |
Assignment. | |
const MultiColorExtension & | operator= (const MultiColorExtension &color_extension) throw () |
Assignment operator. | |
void | swap (MultiColorExtension &color_extension) throw () |
Swapping of colorExtensions. | |
Accessors: inspectors and mutators | |
void | setColors (const vector< ColorRGBA > &colors) throw () |
Change the colors. | |
vector< ColorRGBA > & | getColors () throw () |
Mutable inspection of the colors. | |
const vector< ColorRGBA > & | getColors () const throw () |
Non-mutable inspection of the colors. | |
void | setAlphas (Size alpha) |
Set the alpha values for all colors. | |
debuggers and diagnostics | |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const throw () |
Internal value dump. | |
Public Attributes | |
vector< ColorRGBA > | colors |
It provides the derived class with methods for accessing these colors.
|
Default Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Explicit default initialization. Clears the color vector. Reimplemented in VIEW::Mesh, and VIEW::MultiLine. |
|
Internal value dump. Dump the current state of this colorExtension2 to the output ostream s with dumping depth depth.
Reimplemented in VIEW::Mesh, and VIEW::MultiLine. |
|
Assignment operator. Calls set. |
|
Assignment.
|
|
Swapping of colorExtensions.
|