SoVolumeReader Class |
Namespace: OIV.LDM.Readers
The SoVolumeReader type exposes the following members.
Name | Description | |
---|---|---|
CloseAllHandles |
Close all file handles currently opened by the reader.
| |
CopyFieldValues(SoFieldContainer) | Calls CopyFieldValues(fc, false). (Inherited from SoFieldContainer.) | |
CopyFieldValues(SoFieldContainer, Boolean) | Copies the contents of fc's fields into this object's fields. | |
Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
EnableNotify | Notification at this Field Container is enabled (if flag == true) or disabled (if flag == false). | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FieldsAreEqual | Returns true if this object's fields are exactly equal to fc's fields. | |
Get | Returns the values of the fields of this object in the Open Inventor ASCII file format in the given string. | |
GetAllFields | Returns a list of fields, including the eventIn's and eventOut's. | |
GetBorderFlag |
Returns border flag if stored in file.
| |
GetConfiguredWriter |
Returns a writer that correspond to this reader (same format, same parameters, etc...).
| |
GetDataChar |
Gets the characteristics (file header) of the data volume. See
SoVolumeData.SetVolumeData().
| |
GetDirectCoordSys |
Return whether the coordinate system used is direct or not.
| |
GetDirectCoordSysAutoDetection |
Return automatic detection value.
| |
GetEventIn | Returns a the eventIn with the given name. | |
GetEventOut | Returns the eventOut with the given name. | |
GetField | Returns a the field of this object whose name is fieldName. | |
GetFieldName | Returns the name of the given field in the fieldName argument. | |
GetFields | Appends references to all of this object's fields to resultList, and returns the number of fields appended. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetHistogram |
Returns histogram if stored in file.
| |
GetMinMax(Double, Double) |
Returns min max if stored in file for float data type
| |
GetMinMax(Int32, Int32) |
Returns min max if stored in file (obsolete)
| |
GetMinMax(Int64, Int64) |
Returns min max if stored in file for integer data type
| |
GetName | Returns the name of an instance. | |
GetNumSignificantBits |
This method is optional. It returns the number of significant bits of the volume data.
| |
GetOriginalFilename |
Returns original file name from which the data has been
converted to LDM format if stored in file.
| |
GetReaderType |
Returns type of reader.
| |
GetStringName | (Inherited from SoBase.) | |
GetSubSlice |
Method required by VolumeViz 3.0.
Must copy the rectangular part defined by subSlice of the XY slice sliceNumber
to the memory pointed to by data.
Slices will not always be read sequentially.
| |
GetTileMinMax |
Returns the minimum and maximum data values for the given tile.
Used only if data is organized for the LDM module.
It allows to profit of optimizations such as SoLDMGlobalResourceParameters.setIgnoreFullyTransparentTiles().
Default implementation return new SbVec2d(System.Double.MaxValue, -System.Double.MaxValue))
| |
GetTileSize |
Returns tile size if using data stored in tiles. Return FALSE if data is not stored in tiles.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasDefaultValues | Returns true if all of the object's fields have their default values. | |
IsNotifyEnabled | Notification is the process of telling interested objects that this object has changed. | |
IsSynchronizable | Gets the ScaleViz synchronizable state of this object. | |
ReadTile(Int32, SbBox3i32) |
Given an index, reads a tile if the data is organized in tiles (for LDM).
| |
ReadTile(Int32, SbNativeArrayByte, SbBox3i32) | Obsolete.
Given an index, reads a tile if the data is organized in tiles (for LDM).
In the default LDM architecture, the LDM data is based on an octree
topology (see SoVRLdmFileReader). The index passed is 0 for the tile
of lowest resolution representing the entire volume (octree root node).
The index increments linearly going down through the octree.
| |
Set | Sets one or more fields in this object to the values specified in the given string, which should be a string in the Open Inventor file format. | |
SetDirectCoordSysAutoDetection |
Sets whether or not the reader should automatically try to detect if the coordinate system
used is direct or not.
The function will return FALSE if the feature is not supported
by the current reader.
Default is false.
| |
SetDirectCoorSys |
Specify if the coordinate system used is direct or not.
The function will return FALSE if the feature is not supported
by the current reader.
Default is false.
| |
SetFilename |
Specifies the path of the file. Returns 0 for success. Any other return
value indicates failure.
| |
SetName | (Inherited from SoBase.) | |
SetOutputDataType |
Sets the output data type. Returns FALSE if the reader does not support this feature.
| |
SetSynchronizable | Sets this to be a ScaleViz synchronizable object. | |
SetToDefaults | Sets all fields in this object to their default values. | |
SetUserData |
Stores the userData (for example the filename string) in the
m_data protected variable.
| |
ToString |
Converts this SoBase structure to a human readable string.
(Inherited from SoBase.) | |
Touch | Marks an instance as modified, simulating a change to it. |
Name | Description | |
---|---|---|
DataConverted |
The returned boolean indicates if the data is already organized for the LDM module.
If TRUE, VolumeViz will use the readTile method.
| |
IsDisposable | ISafeDisposable interface implementation.
(Inherited from SoDisposable.) | |
IsThreadSafe |
Let the system know if the reader is thread safe or not.
this function is called by VolumeViz when using the multiIO mode.
| |
UserData |
Gets or sets the user data to be contained by the field container.
(Inherited from SoFieldContainer.) |