VR-Forces 4.10 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 ()
 
bool operator== (const DtGradientControlPoint &c2) const
 
bool operator!= (const DtGradientControlPoint &c2) const
 
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

bool makArchives::DtGradientControlPoint::operator== ( const DtGradientControlPoint c2) const
inline

References myAlpha, myBlue, myGreen, myLocation, and myRed.

bool makArchives::DtGradientControlPoint::operator!= ( const DtGradientControlPoint c2) const
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
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

Referenced by operator==().

double makArchives::DtGradientControlPoint::myRed
protected

Referenced by operator==().

double makArchives::DtGradientControlPoint::myGreen
protected

Referenced by operator==().

double makArchives::DtGradientControlPoint::myBlue
protected

Referenced by operator==().

double makArchives::DtGradientControlPoint::myAlpha
protected

Referenced by operator==().


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)