SoViewVolumeElement Class |
Stores the current view volume.
Namespace: OIV.Inventor.Elements
The SoViewVolumeElement type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (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.
Caution |
---|
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 OIV.Inventor.Elements.SoProjectionMatrixElement but not the OIV.Inventor.Elements.SoViewVolumeElement. An example of this is the OIV.Inventor.Nodes.SoDepthOffset node. If you need these matrices, it is safer to access them through the OIV.Inventor.Elements.SoViewingMatrixElement and OIV.Inventor.Elements.SoProjectionMatrixElement. Cameras nodes do set the view volume and both matrix elements on a render traversal. |