SoViewVolumeElement Class |
Stores the current view volume.
Namespace: OIV.Inventor.Elements
The SoViewVolumeElement type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | Get | Returns the current view volume from the state. |
![]() ![]() | GetClassStackIndex | Obsolete. Returns the stack id for this element. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | IsSet | Returns true if the view volume has been set in the state. |
![]() | Pop | Pops element. |
![]() | Push | Pushes element. |
![]() ![]() | Set | Sets the view volume in the state. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
This element stores the current view volume.
Open Inventor does not guarantee that the view volume element corresponds to the current view and projection matrix elements used for rendering. A node could, for example, set the SoProjectionMatrixElement but not the SoViewVolumeElement. An example of this is the SoDepthOffset node. If you need these matrices, it is safer to access them through the SoViewingMatrixElement and SoProjectionMatrixElement. Cameras nodes do set the view volume and both matrix elements on a render traversal.