27#include <Inventor/fields/SoSubField.h>
28#include <Inventor/SbLinear.h>
67 SO_MFIELD_SETVALUESPOINTER_HEADER(
short);
68 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbVec2s);
70 SO_FIELD_SUPPORT_MEMOBJ();
89 void setValues(
int start,
int num,
const short xy[][2]);
146 static void initClass();
147 static void exitClass();
148 virtual void writeBinaryValues(
SoOutput*,
int ,
int )
const;
152 virtual void writeBinaryValues(
SoOutput *out)
const;
Multiple-value field containing any number of two-dimensional vectors.
void setValue(const SbVec2f &vec2f)
Sets to one value from single precision vector.
void set1Value(int index, const short xy[2])
Sets one value from 2 shorts in array.
void setValue(short x, short y)
Sets to one value from 2 shorts.
void set1Value(int index, short x, short y)
Sets one value from 2 shorts.
void setValues(int start, int num, const short xy[][2])
Sets values from array of arrays of 2 shorts.
void set1Value(int index, const SbVec2f &vec2f)
Sets one value from single precision vector.
void setValues(int start, int num, const SbVec2f *vec2f)
Sets values from array of single precision vectors.
void setValue(const short xy[2])
Sets to one value from 2 shorts in array.
Base class for all multiple-valued fields.
Used to write Open Inventor data files.