#include <SFVec3f.h>
Inheritance diagram for SFVec3f:
Public Member Functions | |
SFVec3f (float x, float y, float z) | |
SFVec3f (const Vec3f &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 FieldValue * | copy () |
const float * | getValue () const |
float | getValue (int pos) const |
void | setValue (const float *values) |
void | setValue (int index, float value) |
virtual void | clamp (float min, float max) |
Private Attributes | |
float | _value [3] |
SFVec3f::SFVec3f | ( | float | x, | |
float | y, | |||
float | z | |||
) |
SFVec3f::SFVec3f | ( | const Vec3f & | value | ) |
virtual int SFVec3f::getType | ( | ) | const [inline, virtual] |
Implements FieldValue.
virtual const char* SFVec3f::getTypeName | ( | ) | const [inline, virtual] |
Implements FieldValue.
void SFVec3f::write | ( | FILE * | f, | |
int | indent | |||
) | const [virtual] |
Implements FieldValue.
bool SFVec3f::equals | ( | const FieldValue * | value | ) | const [virtual] |
Implements FieldValue.
virtual FieldValue* SFVec3f::copy | ( | ) | [inline, virtual] |
Implements FieldValue.
const float* SFVec3f::getValue | ( | ) | const [inline] |
float SFVec3f::getValue | ( | int | pos | ) | const [inline] |
void SFVec3f::setValue | ( | const float * | values | ) |
void SFVec3f::setValue | ( | int | index, | |
float | value | |||
) |
void SFVec3f::clamp | ( | float | min, | |
float | max | |||
) | [virtual] |
Reimplemented from FieldValue.
float SFVec3f::_value[3] [private] |