24#ifndef _SO_MF_VEC2I32_
25#define _SO_MF_VEC2I32_
27#include <Inventor/fields/SoSubField.h>
28#include <Inventor/SbLinear.h>
67 SO_MFIELD_SETVALUESPOINTER_HEADER(int32_t);
69 SO_FIELD_SUPPORT_MEMOBJ();
89 void setValues(
int start,
int num,
const int32_t xy[][2]);
171 static void initClass();
172 static void exitClass();
173 virtual void writeBinaryValues(
SoOutput*,
int ,
int )
const;
177 virtual void writeBinaryValues(
SoOutput *out)
const;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 2D vector class ...
Multiple-value field containing any number of two-dimensional vectors.
void setValues(int start, int num, const int32_t xy[][2])
Sets values from array of arrays of 2 ints.
void set1Value(int index, const SbVec2d &vec2d)
Sets one value from double precision vector.
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(int32_t x, int32_t y)
Sets to one value from 2 ints.
void set1Value(int index, int32_t x, int32_t y)
Sets one value from 2 ints.
void set1Value(int index, const int32_t xy[2])
Sets one value from 2 ints in array.
void setValue(const int32_t xy[2])
Sets to one value from 2 ints in array.
void setValue(const SbVec2d &vec2d)
Sets to one value from double precision vector.
void setValue(const SbVec2f &vec2f)
Sets to one value from single precision vector.
void setValues(int start, int num, const SbVec2d *vec2d)
Sets values from array of double precision vectors.
Base class for all multiple-valued fields.
Used to write Open Inventor data files.