Class SoLogicalViewportElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoLogicalViewportElement
Stores the logical viewport region.
This element stores the logical viewport region, which indicates to the camera(s) the whole size of the window which is being rendered into. This information is needed when the viewport region has been split, so that the camera doesn't adjust its parameters on only a part of the whole window.
LogicalViewportElement is used for "tiled" rendering SoOffscreenRenderArea
).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic SbViewportRegion
Returns the current viewport region from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.static SbViewportRegion
Returns the default viewport region.static void
set
(SoState state, SbViewportRegion vp) Sets the viewport region.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
set
Sets the viewport region. -
getDefaultViewport
Returns the default viewport region. -
get
Returns the current viewport region from the state.
-