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 | (Inherited from Object.) |
![]() | Get(Int32) | Calls Get(index, true). |
![]() | Get(Int32, Boolean) | Returns the indexed plane an element as an 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. |
![]() ![]() | GetMaxGLPlanes | 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 pop() method to free up planes that were added. |
![]() | Push | Overrides push() 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 get() method to return the clip plane in object space (the plane as originally defined) or world space (after being transformed by the model matrix).