IS3D::Color3Val Class Reference

#include <Color3Map.H>

List of all members.

Public Member Functions

 Color3Val (double val, Color3 c)
 Color3Val (double val, Color3 left, Color3 right)
 Color3Val (double val, Color3 center, Color3 left, Color3 right)
virtual ~Color3Val ()
double val () const
void setVal (const double v)
Color3 col () const
void setCol (const Color3 c)
Color3 leftCol () const
void setLeftCol (const Color3 c)
Color3 rightCol () const
void setRightCol (const Color3 c)
bool equals (Color3ValRef const val)
Color3ValRef getCopy ()

Protected Attributes

double _val
Color3 _col
Color3 _rcol
Color3 _lcol


Detailed Description

This class plays a supporting role in implementing the Color3Map. Basically a structure that holds a color and an associated value.

Constructor & Destructor Documentation

IS3D::Color3Val::Color3Val ( double  val,
Color3  c 
) [inline]

References _col, _lcol, _rcol, and _val.

Referenced by getCopy().

IS3D::Color3Val::Color3Val ( double  val,
Color3  left,
Color3  right 
) [inline]

References _col, _lcol, _rcol, and _val.

IS3D::Color3Val::Color3Val ( double  val,
Color3  center,
Color3  left,
Color3  right 
) [inline]

References _col, _lcol, _rcol, and _val.

virtual IS3D::Color3Val::~Color3Val (  )  [inline, virtual]


Member Function Documentation

double IS3D::Color3Val::val (  )  const [inline]

References _val.

void IS3D::Color3Val::setVal ( const double  v  )  [inline]

References _val.

Color3 IS3D::Color3Val::col (  )  const [inline]

References _col.

void IS3D::Color3Val::setCol ( const Color3  c  )  [inline]

References _col, _lcol, and _rcol.

Color3 IS3D::Color3Val::leftCol (  )  const [inline]

References _lcol.

void IS3D::Color3Val::setLeftCol ( const Color3  c  )  [inline]

References _lcol.

Color3 IS3D::Color3Val::rightCol (  )  const [inline]

References _rcol.

void IS3D::Color3Val::setRightCol ( const Color3  c  )  [inline]

References _rcol.

bool IS3D::Color3Val::equals ( Color3ValRef const   val  )  [inline]

References _col, _lcol, _rcol, and _val.

Color3ValRef IS3D::Color3Val::getCopy (  )  [inline]

References _lcol, _rcol, _val, and Color3Val().


Member Data Documentation

double IS3D::Color3Val::_val [protected]

Referenced by Color3Val(), equals(), getCopy(), setVal(), and val().

Color3 IS3D::Color3Val::_col [protected]

Referenced by col(), Color3Val(), equals(), and setCol().

Color3 IS3D::Color3Val::_rcol [protected]

Color3 IS3D::Color3Val::_lcol [protected]


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

Generated on Wed Jan 26 06:31:20 2011 for IS3D by  doxygen 1.5.6