#include <colorExtensions.h>
Inheritance diagram for VIEW::ColorExtension2:
Public Member Functions | |
Constructors | |
ColorExtension2 () throw () | |
Default Constructor. | |
ColorExtension2 (const ColorExtension2 &color_extension) throw () | |
Copy constructor. | |
virtual | ~ColorExtension2 () throw () |
Destructor. | |
virtual void | clear () throw () |
Explicit default initialization. | |
Assignment methods | |
void | set (const ColorExtension2 &color_extension) throw () |
Assignment. | |
const ColorExtension2 & | operator= (const ColorExtension2 &color_extension) throw () |
Assignment operator. | |
void | swap (ColorExtension2 &color_extension) throw () |
Swapping of colorExtensions. | |
Accessors: inspectors and mutators | |
void | setColor2 (const ColorRGBA &color) throw () |
Change the second color. | |
ColorRGBA & | getColor2 () throw () |
Mutable inspection of the second color of this colorExtension2. | |
const ColorRGBA & | getColor2 () const throw () |
Non-mutable inspection of the second color. | |
void | getColor2 (ColorRGBA &color) const throw () |
Inspection of the second color of this colorExtension2. | |
debuggers and diagnostics | |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const throw () |
Internal value dump. |
It provides the derived class with methods for accessing these colors.
|
Default Constructor. The colors are set to (0.0, 0.0, 0.0, 1.0). |
|
Copy constructor.
|
|
Destructor.
|
|
Explicit default initialization. Set the colors of this colorExtension2 to the color (0.0, 0.0, 0.0, 1.0). Calls ColorRGBA::clear. Reimplemented in VIEW::TwoColoredLine, and VIEW::TwoColoredTube. |
|
Internal value dump. Dump the current state of this colorExtension2 to the output ostream s with dumping depth depth.
Reimplemented in VIEW::TwoColoredLine, and VIEW::TwoColoredTube. |
|
Inspection of the second color of this colorExtension2.
|
|
Mutable inspection of the second color of this colorExtension2.
|
|
Assignment operator. Calls set. |
|
Assignment.
|
|
Swapping of colorExtensions.
|