SoVolumeDetailGetFirstNonTransparentValue Method (Int64, SbVec3i32, SbVec3f, Boolean) |
Returns the integer value of the first non-transparent voxel along the pick ray (if any) and its position in object and data space.
Namespace: OIV.VolumeViz.DetailsAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic virtual bool GetFirstNonTransparentValue(
out long value,
out SbVec3i32 pos,
out SbVec3f objPos,
bool realValue
)
Public Overridable Function GetFirstNonTransparentValue (
<OutAttribute> ByRef value As Long,
<OutAttribute> ByRef pos As SbVec3i32,
<OutAttribute> ByRef objPos As SbVec3f,
realValue As Boolean
) As Boolean
public:
virtual bool GetFirstNonTransparentValue(
[OutAttribute] long long% value,
[OutAttribute] SbVec3i32% pos,
[OutAttribute] SbVec3f% objPos,
bool realValue
)
abstract GetFirstNonTransparentValue :
value : int64 byref *
pos : SbVec3i32 byref *
objPos : SbVec3f byref *
realValue : bool -> bool
override GetFirstNonTransparentValue :
value : int64 byref *
pos : SbVec3i32 byref *
objPos : SbVec3f byref *
realValue : bool -> bool
Parameters
- value
- Type: SystemInt64
- pos
- Type: OIV.InventorSbVec3i32
- objPos
- Type: OIV.InventorSbVec3f
- realValue
- Type: SystemBoolean
Return Value
Type:
Boolean
RemarksReturns false if not found.
If the realValue parameter is true, VolumeViz will return the actual voxel value from the full resolution data. Note that this may require a read from disk if full resolution data is not currently in memory. If false, VolumeViz will return the voxel value from the (possibly subsampled) data currently in memory.
To use GPU picking, you must specify realValue = false.
See Also