SoVRLdmFileReader Class Reference
[Readers]

Large Data Management LDM file reader. More...

#include <LDM/readers/SoVRLdmFileReader.h>

Inheritance diagram for SoVRLdmFileReader:
SoLDMReader SoVolumeReader SoFieldContainer SoBase SoRefCounter SoTypedObject SoVRLdmFileBorderReader

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVRLdmFileReader ()
virtual ReadError getDataChar (SbBox3f &size, SoDataSet::DataType &type, SbVec3i32 &dim)
virtual SbBool getMinMax (int64_t &min, int64_t &max)
virtual SbBool getMinMax (double &min, double &max)
virtual SbBool getHistogram (std::vector< int64_t > &numVox)
virtual int getNumSignificantBits ()

Static Public Member Functions

static SoType getClassTypeId ()

Deprecated



SoDEPRECATED void getSubSlice (const SbBox2i32 &subSlice, int sliceNumber, void *data)
virtual SoDEPRECATED SbBool getMinMax (int &min, int &max)

Detailed Description

Large Data Management LDM file reader.

LDM is a format for storing hierarchical multi-resolution volume data, defined by VSG. VolumeViz includes a utility program that can convert other formats (supported by VolumeViz) into this format. Preprocessing volume data into this format provides the maximum benefits from the VolumeViz large data management (LDM) features.

The default VolumeViz LDM file format is based on an octree topology. The data is stored in tiles of different subsampling resolution.

The first tile in the file represents the entire volume at its lowest resolution and corresponds to the root of the octree. The next 8 tiles represent octants of the entire volume at a lower subsample step. There is another set of 8 tiles for each of these tiles, and so on, until reaching tiles of full resolution.

The tile index starts at 0 for the root and increments linearly into the octree (1 to 8 for octree children, 9 to 16 for children of tile 1, and so on).

The data of a tile is accessed with the readTile function by passing an index and allocated buffer.


Constructor & Destructor Documentation

SoVRLdmFileReader::SoVRLdmFileReader (  ) 

Default constructor.


Member Function Documentation

static SoType SoVRLdmFileReader::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoLDMReader.

Reimplemented in SoVRLdmFileBorderReader.

virtual ReadError SoVRLdmFileReader::getDataChar ( SbBox3f size,
SoDataSet::DataType type,
SbVec3i32 dim 
) [virtual]

Gets the characteristics (file header) of the data volume.

See SoVolumeData. size is the size of the actual volume. type is the type of the data. dim is the dimension of the data.

Reimplemented from SoLDMReader.

Reimplemented in SoVRLdmFileBorderReader.

virtual SbBool SoVRLdmFileReader::getHistogram ( std::vector< int64_t > &  numVox  )  [virtual]

Returns the distribution of data values, i.e., the number of voxels per data value.

numVox(0) is the number of voxels with value 0, numVox(1) is the number of voxels with value 1, and so on.

Reimplemented from SoLDMReader.

virtual SoDEPRECATED SbBool SoVRLdmFileReader::getMinMax ( int &  min,
int &  max 
) [virtual]

Returns the minimum and maximum data values.

Deprecated:

Deprecated since Open Inventor 9500
Use getMinMax(int64_t & min, int64_t & max) instead.

Reimplemented from SoLDMReader.

virtual SbBool SoVRLdmFileReader::getMinMax ( double &  min,
double &  max 
) [virtual]

Returns the minimum and maximum data values (for float values).

Reimplemented from SoLDMReader.

virtual SbBool SoVRLdmFileReader::getMinMax ( int64_t &  min,
int64_t &  max 
) [virtual]

Returns the minimum and maximum data values.

Reimplemented from SoLDMReader.

virtual int SoVRLdmFileReader::getNumSignificantBits (  )  [inline, virtual]

Returns the number of significant bits.

Reimplemented from SoVolumeReader.

SoDEPRECATED void SoVRLdmFileReader::getSubSlice ( const SbBox2i32 subSlice,
int  sliceNumber,
void *  data 
) [virtual]
virtual SoType SoVRLdmFileReader::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoLDMReader.

Reimplemented in SoVRLdmFileBorderReader.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Nov 2020
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/