AVS field file reader. More...
#include <VolumeViz/readers/SoVRAvsFileReader.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRAvsFileReader () | |
ReadError | getDataChar (SbBox3f &size, SoDataSet::DataType &type, SbVec3i32 &dim) |
void | getSubSlice (const SbBox2i32 &subSlice, int sliceNumber, void *data) |
virtual ReaderType | getReaderType () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
AVS field is a general purpose file format that can contain many different kinds of data. The VolumeViz file reader can load AVS field files containing 3-dimensional, uniform data of type "byte".
SoVRAvsFileReader::SoVRAvsFileReader | ( | ) |
Constructor.
static SoType SoVRAvsFileReader::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVolumeReader.
ReadError SoVRAvsFileReader::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.
Implements SoVolumeReader.
virtual ReaderType SoVRAvsFileReader::getReaderType | ( | ) | [inline, virtual] |
Returns the reader type.
Reimplemented from SoVolumeReader.
void SoVRAvsFileReader::getSubSlice | ( | const SbBox2i32 & | subSlice, | |
int | sliceNumber, | |||
void * | data | |||
) | [virtual] |
New method required by VolumeViz 3.0 when using large volume support.
Must copy a rectangular part of an XY slice to the memory specified by data. Slices will not always be read sequentially.
Implements SoVolumeReader.
virtual SoType SoVRAvsFileReader::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVolumeReader.