SoVolumeReaderGetMinMax Method (Double, Double) |
Returns min max for float data type, if available.
Namespace: OIV.LDM.ReadersAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public virtual bool GetMinMax(
out double min,
out double max
)
Public Overridable Function GetMinMax (
<OutAttribute> ByRef min As Double,
<OutAttribute> ByRef max As Double
) As Boolean
public:
virtual bool GetMinMax(
[OutAttribute] double% min,
[OutAttribute] double% max
)
abstract GetMinMax :
min : float byref *
max : float byref -> bool
override GetMinMax :
min : float byref *
max : float byref -> bool
Parameters
- min
- Type: SystemDouble
- max
- Type: SystemDouble
Return Value
Type:
BooleanRemarks If not available, return false. The reader should implement this method if possible, because applications often query these values to setup their OIV.LDM.Nodes.SoDataRange node. If this method is not implemented, and the application calls OIV.VolumeViz.Nodes.SoVolumeData.GetMinMax(System.Int64@, System.Int64@) is called, then VolumeViz must load every tile to compute the volume min and max. This can cause a long delay.
See Also