24#if !defined _SO_VOLUME_WRITER_H_
25#define _SO_VOLUME_WRITER_H_
#define SO_FIELDCONTAINER_ABSTRACT_HEADER(className)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Abstract base class for objects that contain fields.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Tile ID
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Field containing an enumerated value.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Abstract...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Abstract...
virtual SbBool restoreAllHandles()
Restore ressources that was closed by closeAllHandles.
virtual SbBool isDataConverted() const =0
Returns TRUE if the data is already organized in tiles for the LDM module.
virtual SbBool finish()
Finish writing the file, free ressources, ... depending on kind of writer.
virtual SbBool closeAllHandles()
Close all ressources that are locked by the writer so that someone else can read or write to them.
SoSFEnum dataType
Type of input data (that will be given in the writeXXX method) Use enum SoDataSet::DataType.
SoSFBox3f extent
Extent of dataset.
SoSFEnum wordFormat
Endianess of data.
virtual SbBool writeSubSlice(int sliceIndex, const SbBox2i32 &subSlice, SoBufferObject *buffer)
Writes the data contained in the specified subslice.
virtual SbBool writeTile(const SoLDMTileID &tileId, SoBufferObject *buffer)
Given a tileID, writes a tile if the data is organized in tiles (see SoLDMTileID).
virtual SbBool initialize()
Initialize writer.
SoSFVec3i32 dimension
Dimension of dataset, in voxels.