25#ifndef _SO_LDM_WRITER_
26#define _SO_LDM_WRITER_
29class SoLDMWriterConverter;
30class SoLDMWriterReader;
356 int argc = 0,
char** argv = NULL );
369 int argc = 0,
char** argv = NULL );
375 int finish(
bool doMultiResolution )
378 void disableWarning(
bool flag) { m_warning = flag; };
381 void (*m_xmlCB)( FILE*,
void* );
382 void *m_xmlCBUserData;
386 SoLDMWriterConverter *m_converter;
394 int initiateConverter(
const SbString & filename,
int argc = 0,
char** argv = NULL );
#define TRUE
Possible value of SbBool.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box class.
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Containe...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Data set...
DataType
Supported data type.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Base cla...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Tile ID
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Write da...
SoDEPRECATED int writeSubVolume(const SbBox3i32 &subVolume, const void *data, SbBool doLowerResolution=TRUE, SbBool doOverlappingTiles=TRUE)
SoDEPRECATED int writeTile(const SbVec3i32 &location, void *data, int resolution=0)
int initialize(const SbString &filename, const SbBox3f &size, const SbVec3i32 &dimension, SoDataSet::DataType dataType, SoConverterParameters *parameters)
Initializes the writer to build a volume filename with the specified dimensions,...
SoDEPRECATED int initialize(const SbString &filename, const SoDataSet &inputVolData, int argc=0, char **argv=NULL)
Initializes the writer to build a volume with the same dimensions, size and data type as inputVolDat...
int writeTile(const SoLDMTileID &tileID, SoBufferObject *data)
Writes the specified tile tileID into the LDM file.
int writeTile(const SbVec3i32 &location, SoBufferObject *data, int resolution=0)
Writes the tile which includes location in data coordinates, at the specified resolution level,...
int initialize(const SbString &filename, const SoDataSet &inputVolData, SoConverterParameters *parameters)
Initializes the writer to build a volume with the same dimensions, size and data type as inputVolDat...
virtual ~SoLDMWriter()
Destructor.
int finish(SbBool doMultiResolution=TRUE)
Finishes writing the LDM file and optionally invokes the converter to generate the lower resolution t...
void setXmlCallback(void(*xmlCB)(FILE *, void *userData), void *userData)
Specifies the callback that will be called when the LDM file header is generated.
SoDEPRECATED int writeTile(const SoLDMTileID &tileID, void *data)
int writeSubVolume(const SbBox3i32 &subVolume, SoBufferObject *data, SbBool doLowerResolution=TRUE, SbBool doOverlappingTiles=TRUE)
Writes the data contained in the specified subVolume into the LDM file.
SoLDMWriter()
Constructor.
SoDEPRECATED int initialize(const SbString &filename, const SbBox3f &size, const SbVec3i32 &dimension, SoDataSet::DataType dataType, int argc=0, char **argv=NULL)
Initializes the writer to build a volume filename with the specified dimensions,...