#include <SFColor.h>
Inheritance diagram for SFColor:

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 FieldValue * | copy () |
| 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] |
| SFColor::SFColor | ( | float | r, | |
| float | g, | |||
| float | b | |||
| ) |
| SFColor::SFColor | ( | const float * | value | ) |
| 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] |
float SFColor::_value[4] [private] |
1.5.1-p1