23#ifndef _SO_VR_MEMORY_READER_
24#define _SO_VR_MEMORY_READER_
26#include <LDM/readers/SoVolumeReader.h>
29#pragma warning( push )
30#pragma warning(disable:4251)
113 return m_internalBuffer.
ptr();
132#pragma warning( pop )
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D vector class.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
DataType
Supported data type.
Smart pointer for any class inheriting SoRefCounter.
T * ptr() const
Cast to C pointer.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Reads volume data sto...
virtual void getSubSlice(const SbBox2i32 &subSlice, int sliceNumber, SoBufferObject *dataBuffer)
Same as getSubSlice( const SbBox2i32& subSlice, int sliceNumber, void * data ) but using SoBufferObje...
virtual SoVolumeWriter * getConfiguredWriter()
Return a writer with the same parameters as this reader and writing in the same block of memory.
virtual SoVolumeReader::ReaderType getReaderType()
Returns the reader type.
virtual ReadError getDataChar(SbBox3f &size, SoDataSet::DataType &type, SbVec3i32 &dim) override
Gets the characteristics (file header) of the data volume.
void setProperties(const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, const SbVec2i32 &padding, SoBufferObject *internalData, int sigBits)
Sets properties of the reader.
virtual SbBool isThreadSafe() const
Return true as this reader is thread safe.
SoVRMemoryReader()
Constructor.
void setProperties(SbBox3f size, SoDataSet::DataType type, SbVec3s dim, SoBufferObject *internalData, int sigBits=0)
Sets properties of the reader.
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...
void setProperties(const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, SoBufferObject *internalData, int sigBits)
Sets properties of the reader.
virtual int getNumSignificantBits()
Returns the number of significant bits of the volume data.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Abstract...
ReaderType
Available reader type.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Abstract...