Click or drag to resize
SoFenceSliceDetail Class

Stores detail information about a picked voxel or pick ray in a data volume.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.DetailsSoDetail
      OIV.VolumeViz.DetailsSoVolumeDetail
        OIV.VolumeViz.DetailsSoFenceSliceDetail

Namespace: OIV.VolumeViz.Details
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public class SoFenceSliceDetail : SoVolumeDetail

The SoFenceSliceDetail type exposes the following members.

Constructors
  NameDescription
Public methodSoFenceSliceDetail

Constructor.

Top
Methods
  NameDescription
Public methodClone (Inherited from SoDetail.)
Public methodCopy

Returns an instance that is a copy of this instance.

(Overrides SoVolumeDetailCopy.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFirstNonTransparentValue(Double, SbVec3i32)
Calls GetFirstNonTransparentValue(value, pos, objPos, false).
(Inherited from SoVolumeDetail.)
Public methodGetFirstNonTransparentValue(Int64, SbVec3i32)
Calls GetFirstNonTransparentValue(value, pos, objPos, false).
(Inherited from SoVolumeDetail.)
Public methodGetFirstNonTransparentValue(Double, SbVec3i32, SbVec3f)
Calls GetFirstNonTransparentValue(value, pos, objPos, false).
(Inherited from SoVolumeDetail.)
Public methodGetFirstNonTransparentValue(Int64, SbVec3i32, SbVec3f)
Calls GetFirstNonTransparentValue(value, pos, objPos, false).
(Inherited from SoVolumeDetail.)
Public methodGetFirstNonTransparentValue(Double, SbVec3i32, SbVec3f, Boolean)

Returns the floating point value of the first non-transparent voxel along the pick ray (if any) and its position in object and data space.

(Inherited from SoVolumeDetail.)
Public methodGetFirstNonTransparentValue(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.

(Inherited from SoVolumeDetail.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetProfileDataPos

Returns the number of values along the profile and the profile position in data space (voxel coordinates).

(Inherited from SoVolumeDetail.)
Public methodGetProfileObjectPos

Returns the profile position in object space (world coordinates).

(Inherited from SoVolumeDetail.)
Public methodGetProfileValue(Int32, SbVec3i32)
Calls GetProfileValue(index, pos, objPos, false).
(Inherited from SoVolumeDetail.)
Public methodGetProfileValue(Int32, SbVec3i32, SbVec3f)
Calls GetProfileValue(index, pos, objPos, false).
(Inherited from SoVolumeDetail.)
Public methodGetProfileValue(Int32, SbVec3i32, SbVec3f, Boolean)

Returns the index'th value (as an integer) and its position in object and data space.

(Inherited from SoVolumeDetail.)
Public methodGetProfileValueD(Int32, SbVec3i32, SbVec3f)
Calls GetProfileValueD(index, pos, objPos, false).
(Inherited from SoVolumeDetail.)
Public methodGetProfileValueD(Int32, SbVec3i32, SbVec3f, Boolean)

Returns the index'th value (as a double) and its position in object and data space.

(Inherited from SoVolumeDetail.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetDetails
(Inherited from SoVolumeDetail.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

A successful pick operation returns an OIV.Inventor.SoPickedPoint object. If the picked geometry is an OIV.VolumeViz.Nodes.SoFenceSlice node, use the getDetail method and cast the result to this class to get extra information about the pick.

OIV.VolumeViz.Details.SoFenceSliceDetail returns information about the first (closest) non-transparent voxel along the pick ray and/or information about all the voxels intersected by the pick ray (called a profile).

For the first non-transparent voxel (if any) on the pick ray, it returns the XYZ position in 3D space, IJK location in voxels and the data value. See method OIV.VolumeViz.Details.SoVolumeDetail.GetFirstNonTransparentValue(System.Int64@, OIV.Inventor.SbVec3i32@, OIV.Inventor.SbVec3f@, System.Boolean).

For the profile defined by all the intersected voxels, it returns:

Notes:

Limitations:

See Also