SFVec3f Class Reference

#include <SFVec3f.h>

Inheritance diagram for SFVec3f:

FieldValue List of all members.

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 FieldValuecopy ()
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]

Constructor & Destructor Documentation

SFVec3f::SFVec3f ( float  x,
float  y,
float  z 
)

SFVec3f::SFVec3f ( const Vec3f value  ) 


Member Function Documentation

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.


Member Data Documentation

float SFVec3f::_value[3] [private]


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