SoVRMemoryReader Class Reference
[Readers]

VolumeViz Reads volume data stored in memory. More...

#include <VolumeViz/readers/SoVRMemoryReader.h>

Inheritance diagram for SoVRMemoryReader:
SoVolumeReader SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVRMemoryReader ()
virtual ReadError getDataChar (SbBox3f &size, SoDataSet::DataType &type, SbVec3i32 &dim)
virtual void getSubSlice (const SbBox2i32 &subSlice, int sliceNumber, void *data)
virtual void getSubSlice (const SbBox2i32 &subSlice, int sliceNumber, SoBufferObject *dataBuffer)
void setProperties (const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, const SbVec2i32 &padding, SoBufferObject *internalData, int sigBits)
void setProperties (const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, SoBufferObject *internalData, int sigBits)
void setProperties (SbBox3f size, SoDataSet::DataType type, SbVec3s dim, SoBufferObject *internalData, int sigBits=0)
virtual int getNumSignificantBits ()
virtual SoVolumeReader::ReaderType getReaderType ()
virtual SbBool isThreadSafe () const
virtual SoVolumeWritergetConfiguredWriter ()

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

VolumeViz Reads volume data stored in memory.


Constructor & Destructor Documentation

SoVRMemoryReader::SoVRMemoryReader (  ) 

Constructor.


Member Function Documentation

static SoType SoVRMemoryReader::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoVolumeReader.

virtual SoVolumeWriter* SoVRMemoryReader::getConfiguredWriter (  )  [virtual]

Return a writer with the same parameters as this reader and writing in the same block of memory.

Reimplemented from SoVolumeReader.

virtual ReadError SoVRMemoryReader::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 int SoVRMemoryReader::getNumSignificantBits (  )  [virtual]

Returns the number of significant bits of the volume data.

Reimplemented from SoVolumeReader.

virtual SoVolumeReader::ReaderType SoVRMemoryReader::getReaderType (  )  [inline, virtual]

Returns the reader type.

Reimplemented from SoVolumeReader.

virtual void SoVRMemoryReader::getSubSlice ( const SbBox2i32 subSlice,
int  sliceNumber,
SoBufferObject dataBuffer 
) [virtual]
virtual void SoVRMemoryReader::getSubSlice ( const SbBox2i32 subSlice,
int  sliceNumber,
void *  data 
) [virtual]

Copy a rectangular part of an XY slice to the memory pointed to by data.

Slices will not always be read sequentially.

Implements SoVolumeReader.

virtual SoType SoVRMemoryReader::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoVolumeReader.

virtual SbBool SoVRMemoryReader::isThreadSafe (  )  const [virtual]

Return true as this reader is thread safe.

Reimplemented from SoVolumeReader.

void SoVRMemoryReader::setProperties ( SbBox3f  size,
SoDataSet::DataType  type,
SbVec3s  dim,
SoBufferObject internalData,
int  sigBits = 0 
)

Sets properties of the reader.

void SoVRMemoryReader::setProperties ( const SbBox3f size,
SoDataSet::DataType  type,
const SbVec3i32 dim,
SoBufferObject internalData,
int  sigBits 
)

Sets properties of the reader.

void SoVRMemoryReader::setProperties ( const SbBox3f size,
SoDataSet::DataType  type,
const SbVec3i32 dim,
const SbVec2i32 padding,
SoBufferObject internalData,
int  sigBits 
)

Sets properties of the reader.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/