SoGLUpdateAreaElement Class |
Note: This API is now obsolete.
Stores the rectangular area within the current viewport region that needs to be updated when rendering.
Namespace: OIV.Inventor.Elements
The SoGLUpdateAreaElement type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | Get | Returns current update area from the state. |
![]() ![]() | GetClassStackIndex | Obsolete. Returns the stack id for this element. |
![]() ![]() | GetDefaultOrigin | Returns the default update area origin. |
![]() ![]() | GetDefaultSize | Returns the default update area size. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Pop | Override pop() method to keep GL up to date. |
![]() | Push | Override push() method to keep GL up to date. |
![]() ![]() | Set | Sets the current update area in the state. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
This element stores the rectangular area within the current viewport region that needs to be updated when rendering. It can be used for partial rendering updates when applications know that only a portion of the objects need to be rerendered. Cameras can use the info in this element to set up a view volume against which culling can be performed. This element also sets up the GL scissor box to limit drawing.
The update area is specified in normalized viewport coordinates, where (0,0) is the lower left corner of the viewport and (1,1) is the upper right corner. The area is given as an origin and a size.
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.