The ViewportRegion class is used to specify a sub-viewport.
More...
#include <Inventor/nodes/ViewportRegion.h>
The ViewportRegion class is used to specify a sub-viewport.
◆ ViewportRegion()
ViewportRegion::ViewportRegion |
( |
void | | ) |
|
◆ ~ViewportRegion()
ViewportRegion::~ViewportRegion |
( |
| ) |
|
|
protectedvirtual |
◆ doAction()
Generic traversal method for this node.
◆ getMatrix()
Coin method. Updates SoViewportElement.
◆ GLRender()
Coin method. Updates SoGLViewportElement.
◆ handleEvent()
Coin method. Updates SoViewportElement.
◆ initClass()
◆ pick()
Coin method. Updates SoViewportElement.
◆ clearColor
SoSFColor ViewportRegion::clearColor |
The color used when clearing color buffer. Default is (0,0,0).
◆ clearColorBuffer
SoSFBool ViewportRegion::clearColorBuffer |
Set to TRUE to clear color buffer for the new viewport when node is traversed.
◆ clearDepthBuffer
SoSFBool ViewportRegion::clearDepthBuffer |
Set to TRUE to clear depth buffer for the new viewport when node is traversed.
◆ flipX
SoSFBool ViewportRegion::flipX |
Invert the x coordinate. Normally x=0 is at the left, setting this to TRUE will make x=0 at the right.
◆ flipY
SoSFBool ViewportRegion::flipY |
Invert the y coordinate. Normally y=0 is at the bottom, setting this to TRUE will make y=0 at the top.
◆ origin
SoSFVec2f ViewportRegion::origin |
Origin of new viewport. (0,0) is lower left corner of current viewport. (1,1) is upper right. Default value is (0,0). The field last written into of origin and pixelOrigin will be used to set the origin when the node is traversed.
- See also
- pixelOrigin
◆ pixelOrigin
SoSFVec2f ViewportRegion::pixelOrigin |
Can be used to set origin directly, in pixels from lower left corner of viewport window. Default value is (0,0).
- See also
- origin
◆ pixelSize
SoSFVec2f ViewportRegion::pixelSize |
Can be used to set size directly, in pixels. Default value is (128,128).
- See also
- size
◆ size
SoSFVec2f ViewportRegion::size |
Size of new viewport. (1,1) will create a viewport with the same size as the current. Default value is (1,1). The field last written into of size and pixelSize will be used to set the size when the node is traversed.
- See also
- pixelSize
The documentation for this class was generated from the following files: