#include <MFFloat.h>
Inheritance diagram for MFFloat:
Public Member Functions | |
MFFloat (int stride=1) | |
MFFloat (const float values[], int len, int stride=1) | |
MFFloat (const MFFloat &value) | |
virtual | ~MFFloat () |
virtual int | getType () const |
virtual int | getStride () 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 () |
virtual int | getSFSize () const |
virtual FieldValue * | getSFValue (int index) const |
virtual void | setSFValue (int index, FieldValue *value) |
const float * | getValue () const |
float | getValue (int i) const |
int | getSize () const |
void | setValue (int index, float value) |
Protected Member Functions | |
bool | equals (const MFFloat *value) const |
Protected Attributes | |
Array< float > | _value |
MFFloat::MFFloat | ( | int | stride = 1 |
) |
MFFloat::MFFloat | ( | const float | values[], | |
int | len, | |||
int | stride = 1 | |||
) |
MFFloat::MFFloat | ( | const MFFloat & | value | ) |
virtual MFFloat::~MFFloat | ( | ) | [inline, virtual] |
virtual int MFFloat::getType | ( | ) | const [inline, virtual] |
virtual int MFFloat::getStride | ( | ) | const [inline, virtual] |
Reimplemented in MFColor, MFRotation, MFVec2f, and MFVec3f.
virtual const char* MFFloat::getTypeName | ( | ) | const [inline, virtual] |
void MFFloat::write | ( | FILE * | f, | |
int | indent | |||
) | const [virtual] |
Implements FieldValue.
bool MFFloat::equals | ( | const FieldValue * | value | ) | const [virtual] |
void MFFloat::clamp | ( | float | min, | |
float | max | |||
) | [virtual] |
Reimplemented from FieldValue.
virtual FieldValue* MFFloat::copy | ( | ) | [inline, virtual] |
virtual int MFFloat::getSFSize | ( | ) | const [inline, virtual] |
Implements MFieldValue.
virtual FieldValue* MFFloat::getSFValue | ( | int | index | ) | const [inline, virtual] |
void MFFloat::setSFValue | ( | int | index, | |
FieldValue * | value | |||
) | [virtual] |
const float* MFFloat::getValue | ( | ) | const [inline] |
float MFFloat::getValue | ( | int | i | ) | const [inline] |
Reimplemented in MFColor, MFRotation, and MFVec3f.
int MFFloat::getSize | ( | ) | const [inline] |
void MFFloat::setValue | ( | int | index, | |
float | value | |||
) | [inline] |
bool MFFloat::equals | ( | const MFFloat * | value | ) | const [protected] |
Array<float> MFFloat::_value [protected] |