![]() |
VR-Forces 4.0.4 Class Documentation
|
Record of a single control point used to generate. More...
Public Member Functions | |
| DtGradientControlPoint (double location, double red, double green, double blue, double alpha) | |
| DtGradientControlPoint () | |
| double | location () const |
| double | red () const |
| double | green () const |
| double | blue () const |
| double | alpha () const |
| void | getColor (float &r, float &g, float &b, float &a) const |
Protected Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
| When the class Archive corresponds to an output archive, the & operator is defined similar to <<. | |
Protected Attributes | |
| double | myLocation |
| double | myRed |
| double | myGreen |
| double | myBlue |
| double | myAlpha |
Friends | |
| class | boost::serialization::access |
Record of a single control point used to generate.
terrain coloring by elevation
| makArchives::DtGradientControlPoint::DtGradientControlPoint | ( | double | location, |
| double | red, | ||
| double | green, | ||
| double | blue, | ||
| double | alpha | ||
| ) | [inline] |
| double makArchives::DtGradientControlPoint::location | ( | ) | const [inline] |
| double makArchives::DtGradientControlPoint::red | ( | ) | const [inline] |
| double makArchives::DtGradientControlPoint::green | ( | ) | const [inline] |
| double makArchives::DtGradientControlPoint::blue | ( | ) | const [inline] |
| double makArchives::DtGradientControlPoint::alpha | ( | ) | const [inline] |
| void makArchives::DtGradientControlPoint::getColor | ( | float & | r, |
| float & | g, | ||
| float & | b, | ||
| float & | a | ||
| ) | const [inline] |
| void makArchives::DtGradientControlPoint::serialize | ( | Archive & | ar, |
| const unsigned int | version | ||
| ) | [inline, protected] |
When the class Archive corresponds to an output archive, the & operator is defined similar to <<.
Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.
friend class boost::serialization::access [friend] |
double makArchives::DtGradientControlPoint::myLocation [protected] |
double makArchives::DtGradientControlPoint::myRed [protected] |
double makArchives::DtGradientControlPoint::myGreen [protected] |
double makArchives::DtGradientControlPoint::myBlue [protected] |
double makArchives::DtGradientControlPoint::myAlpha [protected] |