27#include <Inventor/fields/SoSubField.h>
28#include <Inventor/SbLinear.h>
67 SO_MFIELD_SETVALUESPOINTER_HEADER(
short);
68 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbVec4s);
70 SO_FIELD_SUPPORT_MEMOBJ();
89 void setValues(
int start,
int num,
const short xyzw[][4]);
97 void set1Value(
int index,
short x,
short y,
short z,
short w);
146 static void initClass();
147 static void exitClass();
148 virtual void writeBinaryValues(
SoOutput*,
int ,
int )
const;
152 virtual void writeBinaryValues(
SoOutput *out)
const;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 4D vector class.
Multiple-value field containing any number of four-dimensional vectors.
void setValues(int start, int num, const short xyzw[][4])
Sets values from array of arrays of 4 shorts.
void setValue(const short xyzw[4])
Sets to one value from 4 shorts in array.
void setValue(short x, short y, short z, short w)
Sets to one value from 4 shorts.
void set1Value(int index, const SbVec4f &vec4f)
Sets one value from single precision vector.
void setValues(int start, int num, const SbVec4f *vec4f)
Sets values from array of single precision vectors.
void set1Value(int index, short x, short y, short z, short w)
Sets one value from 4 shorts.
void set1Value(int index, const short xyzw[4])
Sets one value from 4 shorts in array.
void setValue(const SbVec4f &vec4f)
Sets to one value from single precision vector.
Base class for all multiple-valued fields.
Used to write Open Inventor data files.