23#ifndef _SO_VR_VOX_FILE_READER_
24#define _SO_VR_VOX_FILE_READER_
26#include <LDM/readers/SoVolumeReader.h>
27#include <VolumeViz/nodes/SoVolumeData.h>
93 {
return m_numSigBits; }
113 template<
typename FROM_TYPE>
114 void convertFromTo(FROM_TYPE* inBuffer,
void* outBuffer,
size_t numElements,
SoDataSet::DataType outDataType,
char inEndianness);
120 template<
typename FROM_TYPE,
typename TO_TYPE>
121 void convertFromTo(FROM_TYPE* inBuffer, TO_TYPE* outBuffer,
size_t numElements,
char inEndianness);
146 double m_voxelOffset;
153 static bool s_applyScaleOffset;
Class for smart character strings.
DataType
Supported data type.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> VOX file reader.
SoVRVoxFileReader()
Constructor.
virtual ReadError getDataChar(SbBox3f &size, SoDataSet::DataType &type, SbVec3i32 &dim) override
Gets the characteristics (file header) of the data volume.
virtual int getNumSignificantBits()
This method is optional.
virtual SoVolumeReader::ReaderType getReaderType()
Returns the reader type.
virtual int setFilename(const SbString &filename)
Specifies the path of the file.
virtual void getSubSlice(const SbBox2i32 &subSlice, int sliceNumber, void *data)
Must copy the rectangular part defined by subSlice of the XY slice sliceNumber to the memory refe...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Abstract...
ReaderType
Available reader type.