23#ifndef _SO_MEMORY_DATA_ADAPTER_H_
24#define _SO_MEMORY_DATA_ADAPTER_H_
SO_PIMPL_PUBLIC_DECLARATION(SoMemoryDataAdapter)
#define SO_FIELDCONTAINER_HEADER(className)
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Basic class representi...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Abstract base class fo...
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Image data adapter for...
SoMemoryDataAdapter()
Default constructor.
LayerOrganization
Layer organization.
@ CONTIGUOUS_PER_LAYER
values of each layer are separated (e.g.: RRRR... GGGG... BBBB... AAAA... )
@ CONTIGUOUS_PER_PLANE
values of each layer are separated by 2d simple plane (e.g.: RR... GG... BB... RR....
@ CONTIGUOUS_PER_PIXEL
values of each layer are grouped by pixel (e.g.: RGBA RGBA ... )
SoBufferObject * getBufferObject()
Returns the buffer object containing the image data.
static SoMemoryDataAdapter * createMemoryDataAdapter(const SbVec4i32 &dimension, SbImageDataType imageInfos, LayerOrganization organization, SoBufferObject *data)
Factory method that creates an adapter from an existing block of memory.