class DVcolor

A class which encapsulates a color.

Public Fields

[more]DVcolor_float R
The red value.
[more]DVcolor_float G
The green value.
[more]DVcolor_float B
The blue value.
[more]DVcolor_float A
The transparency value.

Public Methods

[more] DVcolor( const DVcolor_float R_val=1.0, const DVcolor_float G_val=1.0, const DVcolor_float B_val=1.0, const DVcolor_float A_val=1.0 )
Constructor.
[more] ~DVcolor()
Distructor
[more] DVcolor(const DVcolor&)
Copy constructor
[more]const DVcolor& operator=(const DVcolor&)
Assignment operator
[more]int operator==(const DVcolor&) const
Check equality
[more]int operator!=(const DVcolor&) const
Check inequality
[more]void set_data( const DVcolor_float R_val=1.0, const DVcolor_float G_val=1.0, const DVcolor_float B_val=1.0, const DVcolor_float A_val=1.0 )
Set_data routine to match contructor
[more]void set_data(const DVcolor&)
[more]void set_data(const DVcolor_float*)
[more]void get_data( DVcolor_float&, DVcolor_float&, DVcolor_float&, DVcolor_float& ) const
[more]void get_data(DVcolor_float*)
[more]void get_data(DVcolor&) const
[more]DVcolor_float& operator[](const int)
We want foo[0] to be foo.R, ... foo[3] to be foo.A
[more] DVcolor(FileOption)
Methods concrening the reading from a file
[more] DVcolor(FileOption, int &)
Methods concrening the reading from a file
[more]void print(ostream &, FileOption)
Methods concrening the reading from a file
[more]void print(ostream &) const
Methods concrening the reading from a file
[more]inline DVcolor( const DVcolor_float R_val, const DVcolor_float G_val, const DVcolor_float B_val, const DVcolor_float A_val )
constructor
[more]inline DVcolor(const DVcolor &data)
copy constructor
[more]inline void get_data( DVcolor_float &R_val, DVcolor_float &G_val, DVcolor_float &B_val, DVcolor_float &A_val ) const
[more]inline void get_data( DVcolor_float *rgba_vals)
[more]inline void get_data(DVcolor &r) const
[more]inline int operator!=(const DVcolor &data) const
check not equal
[more]inline const DVcolor& operator=(const DVcolor &data)
assignment operator
[more]inline int operator==(const DVcolor &data) const
check equal
[more]inline void set_data( const DVcolor_float R_val, const DVcolor_float G_val, const DVcolor_float B_val, const DVcolor_float A_val )
set_data routine
[more]inline void set_data( const DVcolor_float *rgba_vals)
[more]inline void set_data(const DVcolor &pt)
[more]inline ~DVcolor()
destructor (does nothing)


Documentation

A class which encapsulates a color.
oDVcolor_float R
The red value.

oDVcolor_float G
The green value.

oDVcolor_float B
The blue value.

oDVcolor_float A
The transparency value.

o DVcolor( const DVcolor_float R_val=1.0, const DVcolor_float G_val=1.0, const DVcolor_float B_val=1.0, const DVcolor_float A_val=1.0 )
Constructor.

o ~DVcolor()
Distructor

o DVcolor(const DVcolor&)
Copy constructor

oconst DVcolor& operator=(const DVcolor&)
Assignment operator

oint operator==(const DVcolor&) const
Check equality

oint operator!=(const DVcolor&) const
Check inequality

ovoid set_data( const DVcolor_float R_val=1.0, const DVcolor_float G_val=1.0, const DVcolor_float B_val=1.0, const DVcolor_float A_val=1.0 )
Set_data routine to match contructor

ovoid set_data(const DVcolor&)

ovoid set_data(const DVcolor_float*)

ovoid get_data( DVcolor_float&, DVcolor_float&, DVcolor_float&, DVcolor_float& ) const

ovoid get_data(DVcolor_float*)

ovoid get_data(DVcolor&) const

oDVcolor_float& operator[](const int)
We want foo[0] to be foo.R, ... foo[3] to be foo.A

o DVcolor(FileOption)
Methods concrening the reading from a file

o DVcolor(FileOption, int &)
Methods concrening the reading from a file

ovoid print(ostream &, FileOption)
Methods concrening the reading from a file

ovoid print(ostream &) const
Methods concrening the reading from a file

oinline DVcolor( const DVcolor_float R_val, const DVcolor_float G_val, const DVcolor_float B_val, const DVcolor_float A_val )
constructor

oinline DVcolor(const DVcolor &data)
copy constructor

oinline void get_data( DVcolor_float &R_val, DVcolor_float &G_val, DVcolor_float &B_val, DVcolor_float &A_val ) const

oinline void get_data( DVcolor_float *rgba_vals)

oinline void get_data(DVcolor &r) const

oinline int operator!=(const DVcolor &data) const
check not equal

oinline const DVcolor& operator=(const DVcolor &data)
assignment operator

oinline int operator==(const DVcolor &data) const
check equal

oinline void set_data( const DVcolor_float R_val, const DVcolor_float G_val, const DVcolor_float B_val, const DVcolor_float A_val )
set_data routine

oinline void set_data( const DVcolor_float *rgba_vals)

oinline void set_data(const DVcolor &pt)

oinline ~DVcolor()
destructor (does nothing)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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