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 ReaderType getReaderType ()
virtual SbBool isThreadSafe () const
virtual SoVolumeWritergetConfiguredWriter ()

Static Public Member Functions

static SoType getClassTypeId ()

Deprecated



SoDEPRECATED SoVRMemoryReader (const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, const SbVec2i32 &padding, void *internalData, int sigBits=0)
SoDEPRECATED SoVRMemoryReader (SbBox3f size, SoDataSet::DataType type, SbVec3s smalldim, void *internalData, int sigBits=0)
SoDEPRECATED SoVRMemoryReader (const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, void *internalData, int sigBits=0)
SoDEPRECATED void setProperties (const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, const SbVec2i32 &padding, void *internalData, int sigBits)
SoDEPRECATED void setProperties (const SbBox3f &size, SoDataSet::DataType type, const SbVec3i32 &dim, void *internalData, int sigBits)
SoDEPRECATED void setProperties (SbBox3f size, SoDataSet::DataType type, SbVec3s dim, void *internalData, int sigBits=0)

Detailed Description

VolumeViz Reads volume data stored in memory.


Constructor & Destructor Documentation

SoVRMemoryReader::SoVRMemoryReader (  ) 

Constructor.

SoDEPRECATED SoVRMemoryReader::SoVRMemoryReader ( const SbBox3f size,
SoDataSet::DataType  type,
const SbVec3i32 dim,
const SbVec2i32 padding,
void *  internalData,
int  sigBits = 0 
)
Deprecated:

Deprecated since Open Inventor 6000
Obsolete version kept for compatibility.
SoDEPRECATED SoVRMemoryReader::SoVRMemoryReader ( SbBox3f  size,
SoDataSet::DataType  type,
SbVec3s  smalldim,
void *  internalData,
int  sigBits = 0 
)
Deprecated:

Deprecated since Open Inventor 6000
Obsolete version kept for compatibility.
SoDEPRECATED SoVRMemoryReader::SoVRMemoryReader ( const SbBox3f size,
SoDataSet::DataType  type,
const SbVec3i32 dim,
void *  internalData,
int  sigBits = 0 
)

Constructor.

Deprecated:

Deprecated since Open Inventor 7000
Use default constructor and appropriate setProperties method instead.

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 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.

SoDEPRECATED void SoVRMemoryReader::setProperties ( SbBox3f  size,
SoDataSet::DataType  type,
SbVec3s  dim,
void *  internalData,
int  sigBits = 0 
)
SoDEPRECATED void SoVRMemoryReader::setProperties ( const SbBox3f size,
SoDataSet::DataType  type,
const SbVec3i32 dim,
void *  internalData,
int  sigBits 
)
Deprecated:

Deprecated since Open Inventor 8000
No longer used. Use setProperties(const SbBox3f&,SoDataSet::DataType,const SbVec3i32, SoBufferObject*, int) instead.
SoDEPRECATED void SoVRMemoryReader::setProperties ( const SbBox3f size,
SoDataSet::DataType  type,
const SbVec3i32 dim,
const SbVec2i32 padding,
void *  internalData,
int  sigBits 
)
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 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/