VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makArchives::DtGradientControlPoint Class Reference

Record of a single control point used to generate. More...

List of all members.

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

Detailed Description

Record of a single control point used to generate.

terrain coloring by elevation


Constructor & Destructor Documentation

makArchives::DtGradientControlPoint::DtGradientControlPoint ( double  location,
double  red,
double  green,
double  blue,
double  alpha 
) [inline]

Member Function Documentation

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]
template<class Archive >
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 >>.


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)