27#include <Inventor/fields/SoSubField.h>
28#include <Inventor/SbLinear.h>
66 SO_MFIELD_SETVALUESPOINTER_HEADER(
unsigned short);
69 SO_FIELD_SUPPORT_MEMOBJ();
88 void setValues(
int start,
int num,
const unsigned short xyzw[][4]);
96 void set1Value(
int index,
unsigned short x,
unsigned short y,
unsigned short z,
unsigned short w);
104 void set1Value(
int index,
const unsigned short xyzw[4]);
111 void setValue(
unsigned short x,
unsigned short y,
unsigned short z,
unsigned short w);
145 static void initClass();
146 static void exitClass();
147 virtual void writeBinaryValues(
SoOutput*,
int ,
int )
const;
151 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 setValue(const SbVec4f &vec4f)
Sets to one value from single precision vector.
void setValue(unsigned short x, unsigned short y, unsigned short z, unsigned short w)
Sets to one value from 4 unsigned shorts.
void setValues(int start, int num, const SbVec4f *vec4f)
Sets values from array of single precision vectors.
void setValues(int start, int num, const unsigned short xyzw[][4])
Sets values from array of arrays of 4 unsigned shorts.
void set1Value(int index, unsigned short x, unsigned short y, unsigned short z, unsigned short w)
Sets one value from 4 unsigned shorts.
void setValue(const unsigned short xyzw[4])
Sets to one value from 4 unsigned shorts in array.
void set1Value(int index, const SbVec4f &vec4f)
Sets one value from single precision vector.
void set1Value(int index, const unsigned short xyzw[4])
Sets one value from 4 unsigned shorts in array.
Base class for all multiple-valued fields.
Used to write Open Inventor data files.