24#ifndef _SO_SF_ARRAY_2D_
25#define _SO_SF_ARRAY_2D_
27#include <Inventor/fields/SoSubField.h>
28#include <Inventor/fields/SoSFImage.h>
29#include <Inventor/fields/SoSFArray.h>
185 static void initClass();
186 static void exitClass();
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Handle memory bu...
Field containing a 2D array value.
void * startEditing(SbVec2s &size, DataType &dataType)
Returns a pointer to the internally maintained array that can be modified.
const void * getValue(SbVec2s &size, DataType &dataType) const
Returns a read-only pointer to the 2D array's values and its dimensions and data type.
SbVec2i32 getSize() const
Returns the dimensions of the array.
void setValue(const SbVec2s &size, DataType dataType, const void *data, CopyPolicy copy=COPY)
Fill the 2D array with data of the specified dimensions and type using the specified copy policy.
void setValue(const SbVec2i32 &size, DataType dataType, const void *data, CopyPolicy copy=COPY)
Fill the 2D array with data of the specified dimensions and type using the specified copy policy.
const void * getValue(SbVec2i32 &size, DataType &dataType) const
Returns a read-only pointer to the 2D array's values and its dimensions and data type.
void * startEditing(SbVec2i32 &size, DataType &dataType)
Returns a pointer to the internally maintained array that can be modified.
Abstract Field containing an array of values.
void * getValue() const
Returns a read-only pointer to the array's values.
CopyPolicy
SoSFArray may be manipulating some large amounts of memory.
@ COPY
Open Inventor will make a copy of the data (default)
DataType
Supported data type enumeration values.
void setValue(const SbVec3i32 &size, const SbDataType &dataType, const void *data, CopyPolicy copy=COPY)
Fill the array with data of the specified dimensions and type using the specified copy policy.
void * startEditing(SbVec3i32 &size, SbDataType &dataType)
Returns a pointer to the internally maintained array that can be modified.