VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makArchives::DtGradientControlPoint Class Reference

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 <<. More...
 

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
makArchives::DtGradientControlPoint::DtGradientControlPoint ( )
inline

Member Function Documentation

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
template<class Archive >
void makArchives::DtGradientControlPoint::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprotected

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

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

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)