SoVolumeReaderSetOutputDataType Method |
Sets the output data type.
Namespace: OIV.LDM.ReadersAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public virtual bool SetOutputDataType(
bool doChange,
SoDataSetDataTypes outputType
)
Public Overridable Function SetOutputDataType (
doChange As Boolean,
outputType As SoDataSetDataTypes
) As Boolean
public:
virtual bool SetOutputDataType(
bool doChange,
SoDataSetDataTypes outputType
)
abstract SetOutputDataType :
doChange : bool *
outputType : SoDataSetDataTypes -> bool
override SetOutputDataType :
doChange : bool *
outputType : SoDataSetDataTypes -> bool
Parameters
- doChange
- Type: SystemBoolean
- outputType
- Type: OIV.LDM.NodesSoDataSetDataTypes
Return Value
Type:
BooleanRemarks Returns false if the reader does not support this feature. If the reader does support this feature and doChange is set to true, data is converted before being returned (by OIV.LDM.Readers.SoVolumeReader.GetSubSlice(OIV.Inventor.SbBox2i32, System.Int32, OIV.Inventor.Generic.SbNativeArray{{System.Byte}}) for instance). If doChange is set to false, data is not converted and is returned as is.
See Also