public class SoVRGenericFileReader extends SoVolumeReader
Many volume data formats that are not directly supported by VolumeViz can be loaded using this reader.
The application must know:
Steps to follow:
SoVRGenericFileReader
.
setFilename()
to specify the filename.
setDataChar()
to specify the dimensions, data type and header size.
SoVolumeData
.
SoVRGenericFileReader
.
SoVolumeReader.Axis, SoVolumeReader.CoordinateTypes, SoVolumeReader.DataInfo, SoVolumeReader.ReadErrors, SoVolumeReader.ReaderTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRGenericFileReader()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setDataChar(SbBox3f size,
SoDataSet.DataTypes type,
SbVec3i32 dim)
Calls setDataChar(size, type, dim, (int)0).
|
void |
setDataChar(SbBox3f size,
SoDataSet.DataTypes type,
SbVec3i32 dim,
int headerSize)
Since the format is raw data, it is necessary to specify the dimension and data size of the volume.
|
closeAllHandles, getAppropriateReader, getBorderFlag, getConfiguredWriter, getCoordinateType, getDataChar, getDirectCoordSys, getDirectCoordSysAutoDetection, getDoubleMinMax, getFilename, getIntMinMax, getMinMax, getNumSignificantBits, getNumVoxels, getOriginalFilename, getReaderType, getSizeToAllocate, getSubSlice, getTileMinMax, getTileSize, isDataConverted, isRGBA, isThreadSafe, readTile, readTile, restoreAllHandles, setDirectCoordSysAutoDetection, setDirectCoorSys, setFilename, setInputDataRange, setOutputDataType, setRectilinearCoordinates, setRGBA
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public void setDataChar(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim)
public void setDataChar(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim, int headerSize)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com