1 #ifndef COIN_SOMFVEC2F_H 2 #define COIN_SOMFVEC2F_H 27 #include <Inventor/fields/SoMField.h> 28 #include <Inventor/fields/SoSubField.h> 29 #include <Inventor/SbVec2f.h> 36 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbVec2f);
37 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
40 static void initClass(
void);
42 void setValues(
const int start,
const int num,
const float xy[][2]);
43 void set1Value(
const int idx,
const float x,
const float y);
44 void set1Value(
const int idx,
const float xy[2]);
45 void setValue(
const float x,
const float y);
46 void setValue(
const float xy[2]);
49 #endif // !COIN_SOMFVEC2F_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
The SoMFVec2f class is a container for SbVec2f vectors.This field is used where nodes, engines or other field containers needs to store an array of vectors with two elements.
Definition: SoMFVec2f.h:31
The SoMField class is the base class for fields which can contain multiple values.All field types which may contain more than one member value inherits this class. SoMField is an abstract class.
Definition: SoMField.h:32