inline int DVbasic_color::has_color() const

member function to check if RGB values have been set

[more]friend ostream& operator<<(ostream &, const DVbasic_color&)
[more] DVbasic_color()
[more] DVbasic_color(float, float, float)
constructor
[more] DVbasic_color(float*)
constructor with RGB
[more] DVbasic_color(const DVbasic_color&)
constructor with RGB array
[more] ~DVbasic_color()
copy constructor
[more]DVbasic_color& operator=(const DVbasic_color&)
destructor
[more]int operator==(const DVbasic_color&) const
assignment operator
[more]int operator!=(const DVbasic_color&) const
equality operator
[more]float* get_color() const
not equal operator
[more]float* copy_color() const
get the color
[more]void set_color(float*)
copy the color
[more]void set_color(float = 1.0, float = 1.0, float = 1.0)
set color with RGB values, default is white
[more]void remove_color()
[more]int has_color() const
get rid of the RGB values
oint has_color_flag
are the RGB values set?
ofloat* rgb
o
pointer to vector of RGB values (v[3])


Documentation

member function to check if RGB values have been set
ofriend ostream& operator<<(ostream &, const DVbasic_color&)

o DVbasic_color()

o DVbasic_color(float, float, float)
constructor

o DVbasic_color(float*)
constructor with RGB

o DVbasic_color(const DVbasic_color&)
constructor with RGB array

o ~DVbasic_color()
copy constructor

oDVbasic_color& operator=(const DVbasic_color&)
destructor

oint operator==(const DVbasic_color&) const
assignment operator

oint operator!=(const DVbasic_color&) const
equality operator

ofloat* get_color() const
not equal operator

ofloat* copy_color() const
get the color

ovoid set_color(float*)
copy the color

ovoid set_color(float = 1.0, float = 1.0, float = 1.0)
set color with RGB values, default is white

ovoid remove_color()

oint has_color() const
get rid of the RGB values

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.