SoClipPlaneElement Class |
Stores the current set of clipping planes, specified as SbPlanes.
Namespace: OIV.Inventor.Elements
The SoClipPlaneElement type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Add | Adds a clip plane to the current set in the state. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Get(Int32) | Calls Get(index, true). |
![]() | Get(Int32, Boolean) | Returns the indexed plane an element as an OIV.Inventor.SbPlane. |
![]() ![]() | GetClassStackIndex | Obsolete. Returns the stack id for this element. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() ![]() | GetInstance | Returns the top (current) instance of the element in the state. |
![]() ![]() | GetMaxPlanes | Returns the maximum number of concurrent clipping planes supported by current implementation. |
![]() | GetNum | Returns the number of planes in an instance. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Pop | Overrides OIV.Inventor.Elements.SoClipPlaneElement.Pop(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoElement) method to free up planes that were added. |
![]() | Push | Overrides OIV.Inventor.Elements.SoClipPlaneElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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).