Click or drag to resize
SoClipPlaneElement Class

Stores the current set of clipping planes, specified as SbPlanes.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoAccumulatedElement
        OIV.Inventor.ElementsSoClipPlaneElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public class SoClipPlaneElement : SoAccumulatedElement

The SoClipPlaneElement type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd

Adds a clip plane to the current set in the state.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGet(Int32)
Calls Get(index, true).
Public methodGet(Int32, Boolean)

Returns the indexed plane an element as an OIV.Inventor.SbPlane.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetInstance

Returns the top (current) instance of the element in the state.

Public methodStatic memberGetMaxPlanes

Returns the maximum number of concurrent clipping planes supported by current implementation.

Public methodGetNum

Returns the number of planes in an instance.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Overrides OIV.Inventor.Elements.SoClipPlaneElement.Pop(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoElement) method to free up planes that were added.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush

Overrides OIV.Inventor.Elements.SoClipPlaneElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack.

(Overrides SoAccumulatedElementPush(SoState).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current set of clipping planes, specified as SbPlanes.

When a plane is added, this element gets the current model matrix from the state and stores it in the instance. This allows the OIV.Inventor.Elements.SoClipPlaneElement.Get(System.Int32, System.Boolean) method to return the clip plane in object space (the plane as originally defined) or world space (after being transformed by the model matrix).

See Also