Click or drag to resize
SoViewVolumeElement Class

Stores the current view volume.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoReplacedElement
        OIV.Inventor.ElementsSoViewVolumeElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoViewVolumeElement : SoReplacedElement

The SoViewVolumeElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Returns the current view volume from the state.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsSet

Returns true if the view volume has been set in the state.

Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

(Inherited from SoElement.)
Public methodStatic memberSet

Sets the view volume in the state.

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

This element stores the current view volume.

Caution note 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.

See Also