SoVolumeReaderGetSizeToAllocate 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.13.0 (9.9.13.0)
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public SbVec3s GetSizeToAllocate(
SbVec3s realSize,
SbVec3s subsamplingLevel
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("See documentation for more details")>
Public Function GetSizeToAllocate (
realSize As SbVec3s,
subsamplingLevel As SbVec3s
) As SbVec3s
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"See documentation for more details")]
SbVec3s GetSizeToAllocate(
[InAttribute] SbVec3s realSize,
[InAttribute] SbVec3s subsamplingLevel
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("See documentation for more details")>]
member GetSizeToAllocate :
realSize : SbVec3s *
subsamplingLevel : SbVec3s -> SbVec3s
Parameters
- realSize
- Type: OIV.InventorSbVec3s
- subsamplingLevel
- Type: OIV.InventorSbVec3s
Return Value
Type:
SbVec3s
Remarks
If the reader uses the NO_COPY policy, this method returns the size
to allocate for the brick.
For each axis of the brick, this size is:
(first power of 2 greater than realSize) / ( 2** subsamplingLevel)
See Also