SFColor Class Reference

#include <SFColor.h>

Inheritance diagram for SFColor:

FieldValue List of all members.

Public Member Functions

 SFColor (float r, float g, float b)
 SFColor (const float *value)
virtual int getType () const
virtual const char * getTypeName () const
virtual void write (FILE *f, int indent) const
virtual bool equals (const FieldValue *value) const
virtual void clamp (float min, float max)
virtual FieldValuecopy ()
const float * getValue () const
float getValue (int index) const
void setValue (int index, float value)

Protected Member Functions

bool equals (const SFColor *value) const

Private Attributes

float _value [4]

Constructor & Destructor Documentation

SFColor::SFColor ( float  r,
float  g,
float  b 
)

SFColor::SFColor ( const float *  value  ) 


Member Function Documentation

virtual int SFColor::getType (  )  const [inline, virtual]

Implements FieldValue.

virtual const char* SFColor::getTypeName (  )  const [inline, virtual]

Implements FieldValue.

void SFColor::write ( FILE *  f,
int  indent 
) const [virtual]

Implements FieldValue.

bool SFColor::equals ( const FieldValue value  )  const [virtual]

Implements FieldValue.

void SFColor::clamp ( float  min,
float  max 
) [virtual]

Reimplemented from FieldValue.

virtual FieldValue* SFColor::copy (  )  [inline, virtual]

Implements FieldValue.

const float* SFColor::getValue (  )  const [inline]

float SFColor::getValue ( int  index  )  const [inline]

void SFColor::setValue ( int  index,
float  value 
) [inline]

bool SFColor::equals ( const SFColor value  )  const [protected]


Member Data Documentation

float SFColor::_value[4] [private]


Generated on Thu Jan 18 10:06:22 2007 for vhdPLUS by  doxygen 1.5.1-p1