Uses of Class
com.openinventor.inventor.SbViewportRegion
-
Packages that use SbViewportRegion Package Description com.openinventor.inventor Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.com.openinventor.inventor.actions com.openinventor.inventor.elements The element classes are used internally for storing information in Open Inventor's traversal state list.com.openinventor.inventor.engines com.openinventor.inventor.events com.openinventor.inventor.nodes com.openinventor.inventor.viewercomponents Viewer components contains helpful tools to implement a custom viewer.com.openinventor.inventor.viewercomponents.awt com.openinventor.inventor.viewercomponents.awt.glcanvas.renderareas com.openinventor.inventor.viewercomponents.awt.newt.renderareas com.openinventor.inventor.viewercomponents.nodes Viewer components nodes independent from graphical user interface.com.openinventor.inventor.viewercomponents.swt.glcanvas.renderareas -
-
Uses of SbViewportRegion in com.openinventor.inventor
Methods in com.openinventor.inventor that return SbViewportRegion Modifier and Type Method Description SbViewportRegion
SoOffscreenRenderArea. getViewportRegion()
SbViewportRegion
SoSceneManager. getViewportRegion()
static SbViewportRegion[]
SbViewportRegion. toArray(long nativeArray, long length)
Methods in com.openinventor.inventor with parameters of type SbViewportRegion Modifier and Type Method Description void
SbViewportRegion. setValue(SbViewportRegion copyFrom)
void
SoOffscreenRenderArea. setViewportRegion(SbViewportRegion newRegion)
Defines viewport region (within the image) to use for rendering.void
SoSceneManager. setViewportRegion(SbViewportRegion newRegion)
Defines current viewport region to use for rendering.Constructors in com.openinventor.inventor with parameters of type SbViewportRegion Constructor Description SbViewportRegion(SbViewportRegion vpReg)
Constructor that takes a viewport region. -
Uses of SbViewportRegion in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbViewportRegion Modifier and Type Method Description SbViewportRegion
SoGLRenderAction. getLogicalViewportRegion()
Returns current logical viewport region.SbViewportRegion
SoGetBoundingBoxAction. getViewportRegion()
Returns current viewport region to use for action.SbViewportRegion
SoGetMatrixAction. getViewportRegion()
Returns current viewport region to use for action.SbViewportRegion
SoGLRenderAction. getViewportRegion()
Returns viewport region to use for rendering.SbViewportRegion
SoHandleEventAction. getViewportRegion()
Returns current viewport region to use for action.SbViewportRegion
SoPickAction. getViewportRegion()
Returns current viewport region to use for action.SbViewportRegion
SoToHTMLAction. getViewportRegion()
Returns viewport region for the image.Methods in com.openinventor.inventor.actions with parameters of type SbViewportRegion Modifier and Type Method Description void
SoGLRenderAction. setLogicalViewportRegion(SbViewportRegion newLogicalRegion)
Sets current logical viewport region to use for rendering.void
SoGetBoundingBoxAction. setViewportRegion(SbViewportRegion newRegion)
Sets current viewport region to use for action.void
SoGetMatrixAction. setViewportRegion(SbViewportRegion newRegion)
Sets current viewport region to use for action.void
SoGLRenderAction. setViewportRegion(SbViewportRegion newRegion)
Changes viewport region to use for rendering.void
SoHandleEventAction. setViewportRegion(SbViewportRegion newRegion)
Sets current viewport region to use for action.void
SoPickAction. setViewportRegion(SbViewportRegion newRegion)
Sets current viewport region to use for action.void
SoToHTMLAction. setViewportRegion(SbViewportRegion region)
Specifies viewport region for the image.Constructors in com.openinventor.inventor.actions with parameters of type SbViewportRegion Constructor Description SoBoxHighlightRenderAction(SbViewportRegion viewportRegion)
Constructor which takes the normalSoGLRenderAction
parameters.SoColorHighlightRenderAction(SbViewportRegion viewportRegion)
SoGetBoundingBoxAction(SbViewportRegion viewportRegion)
Constructor.SoGetMatrixAction(SbViewportRegion newRegion)
Constructor.SoGLRenderAction(SbViewportRegion viewportRegion)
Constructor.SoHaloHighlightRenderAction(SbViewportRegion viewportRegion)
SoHandleEventAction(SbViewportRegion viewportRegion)
Constructor takes viewport region to use; this is needed to perform a pick operation when requested.SoLineHighlightRenderAction(SbViewportRegion viewportRegion)
Constructor which takes the normalSoGLRenderAction
parameters.SoRayPickAction(SbViewportRegion viewportRegion)
Constructor takes viewport region to use for picking. -
Uses of SbViewportRegion in com.openinventor.inventor.elements
Methods in com.openinventor.inventor.elements that return SbViewportRegion Modifier and Type Method Description static SbViewportRegion
SoLogicalViewportElement. get(SoState state)
Returns the current viewport region from the state.static SbViewportRegion
SoViewportRegionElement. get(SoState state)
Returns current viewport region from the state.static SbViewportRegion
SoLogicalViewportElement. getDefaultViewport()
Returns the default viewport region.Methods in com.openinventor.inventor.elements with parameters of type SbViewportRegion Modifier and Type Method Description static void
SoLogicalViewportElement. set(SoState state, SbViewportRegion vp)
Sets the viewport region.static void
SoViewportRegionElement. set(SoState state, SbViewportRegion vpReg)
Calls set(state, vpReg, true).static void
SoViewportRegionElement. set(SoState state, SbViewportRegion vpReg, boolean sendToGL)
Sets the viewport region. -
Uses of SbViewportRegion in com.openinventor.inventor.engines
Methods in com.openinventor.inventor.engines that return SbViewportRegion Modifier and Type Method Description SbViewportRegion
SoComputeBoundingBox. getViewportRegion()
Returns the viewport region to use for the bounding box computation.Methods in com.openinventor.inventor.engines with parameters of type SbViewportRegion Modifier and Type Method Description void
SoComputeBoundingBox. setViewportRegion(SbViewportRegion vpReg)
Sets the viewport region to use for the bounding box computation. -
Uses of SbViewportRegion in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events with parameters of type SbViewportRegion Modifier and Type Method Description SbVec2f
SoEvent. getNormalizedPosition(SbViewportRegion vpRgn)
Gets the normalized location of the cursor when the event occurred, relative to the specified viewport region.SbVec2s
SoEvent. getPosition(SbViewportRegion vpRgn)
Gets the viewport pixel location of the cursor when the event occurred, relative to the origin of the specified viewport region, as integer values.SbVec2f
SoEvent. getPositionFloat(SbViewportRegion vpRgn)
Gets the viewport pixel location of the cursor when the event occurred, relative to the origin of the specified viewport region, as float values. -
Uses of SbViewportRegion in com.openinventor.inventor.nodes
Methods in com.openinventor.inventor.nodes that return SbViewportRegion Modifier and Type Method Description SbViewportRegion
SoCamera. getViewportBounds(SbViewportRegion region)
Returns the viewport region this camera would use to render into the given viewport region, accounting for cropping.Methods in com.openinventor.inventor.nodes with parameters of type SbViewportRegion Modifier and Type Method Description SbViewportRegion
SoCamera. getViewportBounds(SbViewportRegion region)
Returns the viewport region this camera would use to render into the given viewport region, accounting for cropping.void
SoExtSelection. select(SoNode root, SbVec2f[] lassoCoord, SbViewportRegion viewport, boolean shiftPressed)
Simulates interactive selection starting from the root node with the given lasso contour, updating the selection list and triggering any associated callback .void
SoCamera. viewAll(SoNode sceneRoot, SbViewportRegion vpRegion)
Calls viewAll(sceneRoot, vpRegion, (float)1.0).void
SoCamera. viewAll(SoNode sceneRoot, SbViewportRegion vpRegion, float slack)
Sets the camera to view the scene rooted by the given node.void
SoCamera. viewAll(SbBox3f bbox, SbViewportRegion vpRegion)
Sets the camera to view the region defined by the given bounding box.void
SoCamera. viewAll(SoPath path, SbViewportRegion vpRegion)
Calls viewAll(path, vpRegion, (float)1.0).void
SoCamera. viewAll(SoPath path, SbViewportRegion vpRegion, float slack)
Sets the camera to view the scene defined by the given path. -
Uses of SbViewportRegion in com.openinventor.inventor.viewercomponents
Methods in com.openinventor.inventor.viewercomponents with parameters of type SbViewportRegion Modifier and Type Method Description void
SoCameraInteractor. activatePanning(SbVec2f initPos, SbViewportRegion vpRegion)
Set the starting point for interactive panning.void
SoCameraInteractor. adjustClippingPlanes(SoNode sceneRoot, SbViewportRegion vpRegion)
Adjust near and far clipping planes to minimize clipping of objects in the scene.void
SoCameraInteractor. dollyInWindow(SbVec2f topLeftCorner, SbVec2f bottomRightCorner, SbViewportRegion vpRegion)
Moves the camera forward or backward along the view vector to view the region defined by the given corners in normalized screen coordinates.void
SoCameraInteractor. dollyWithZoomCenter(SbVec2f centerPos, float scaleFactor, SbViewportRegion vpRegion)
Modifies the camera to ajust the view around the specified point.void
SoCameraInteractor. pan(SbVec2f newPos, SbViewportRegion vpRegion)
Pan the camera based on offset from starting point.SbVec3f
SoCameraInteractor. projectToPlane(SbVec2f point, float distFromEye, SbViewportRegion vpRegion)
Project specified 2D point on the plane parallel to the near plane that is at distFromEye units from the eye, see alsoSbViewVolume.getPlanePoint
.SbVec2f
SoCameraInteractor. projectToScreen(SbVec3f point, SbViewportRegion vpRegion)
Map a 3D point in world coordinates to a 2D point in normalized screen coordinates (0 <= x,y <= 1), see alsoSbViewVolume.projectToScreen
.void
SoCameraInteractor. setPosition(SbVec2f pos, float distFromEye, SbViewportRegion vpRegion)
Move camera to the specified position.void
SoCameraInteractor. translate(SbVec2f displacement, SbViewportRegion vpRegion)
Move camera by the specified 2D displacement.void
SoCameraInteractor. viewAll(SoNode node, SbViewportRegion vpRegion)
Move the camera to view the scene defined by the given node.void
SoCameraInteractor. viewAll(SoPath path, SbViewportRegion vpRegion)
Move the camera to view the scene defined by the given path.void
SoCameraInteractor. viewIn(SoNode node, SbViewportRegion vpRegion)
Move camera to the center of the scene defined by the specified node.void
SoCameraInteractor. viewIn(SoPath path, SbViewportRegion vpRegion)
Move camera to the center of the scene defined by the specified path.void
SoCameraInteractor. zoomInWindow(SbVec2f topLeftCorner, SbVec2f bottomRightCorner, SbViewportRegion vpRegion)
Zooms to the region defined by the given corners in normalized screen coordinates. -
Uses of SbViewportRegion in com.openinventor.inventor.viewercomponents.awt
Methods in com.openinventor.inventor.viewercomponents.awt with parameters of type SbViewportRegion Modifier and Type Method Description void
IRenderAreaInteractive. viewAll(SbViewportRegion viewport)
Set the camera to view all the scene. -
Uses of SbViewportRegion in com.openinventor.inventor.viewercomponents.awt.glcanvas.renderareas
Methods in com.openinventor.inventor.viewercomponents.awt.glcanvas.renderareas with parameters of type SbViewportRegion Modifier and Type Method Description void
RenderAreaInteractive. viewAll(SbViewportRegion viewport)
-
Uses of SbViewportRegion in com.openinventor.inventor.viewercomponents.awt.newt.renderareas
Methods in com.openinventor.inventor.viewercomponents.awt.newt.renderareas with parameters of type SbViewportRegion Modifier and Type Method Description void
RenderAreaInteractive. viewAll(SbViewportRegion viewport)
-
Uses of SbViewportRegion in com.openinventor.inventor.viewercomponents.nodes
Methods in com.openinventor.inventor.viewercomponents.nodes with parameters of type SbViewportRegion Modifier and Type Method Description void
SceneInteractor. adjustClippingPlanes(SbViewportRegion vpRegion)
Adjust near and far clipping planes to minimize clipping of objects in the scene.void
SceneInteractor. viewAll(SbViewportRegion vpRegion)
Set the camera to view all the scene. -
Uses of SbViewportRegion in com.openinventor.inventor.viewercomponents.swt.glcanvas.renderareas
Methods in com.openinventor.inventor.viewercomponents.swt.glcanvas.renderareas with parameters of type SbViewportRegion Modifier and Type Method Description void
RenderAreaInteractive. viewAll(SbViewportRegion viewport)
-