SoVolumeReaderGetNumVoxels Method |
Note: This API is now obsolete.
Utility function provided by SoVolumeReader for subclass readers to call.
Namespace: OIV.LDM.ReadersAssembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SbVec3s GetNumVoxels(
SbVec3s realSize,
SbVec3s subsamplingLevel
)
<ObsoleteAttribute("See documentation for more details")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Function GetNumVoxels (
realSize As SbVec3s,
subsamplingLevel As SbVec3s
) As SbVec3s
public:
[ObsoleteAttribute(L"See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
SbVec3s GetNumVoxels(
[InAttribute] SbVec3s realSize,
[InAttribute] SbVec3s subsamplingLevel
)
[<ObsoleteAttribute("See documentation for more details")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
member GetNumVoxels :
realSize : SbVec3s *
subsamplingLevel : SbVec3s -> SbVec3s
Parameters
- realSize
- Type: OIV.InventorSbVec3s
- subsamplingLevel
- Type: OIV.InventorSbVec3s
Return Value
Type:
SbVec3s
Remarks
Returns the size of the brick the reader must use, based on subsamplingLevel
and realSize of the brick.
If the subsampling level is greater than 0 on an axis, the corresponding size
is computed as follows:
1. realSize is divided by 2** subsamplingLevel,
2. brickSize is the next greater power of 2.
For example, if subsamplingLevel[0]=1 and realSize[0]=21, then the returned readerSize[0]=16.
If subsamplingLevel is 0, the corresponding size is the realSize.
See Also