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.awt | |
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 | |
com.openinventor.inventor.viewercomponents.swt.glcanvas.renderareas |
Modifier and Type | Method and Description |
---|---|
SbViewportRegion |
SoOffscreenRenderer.getViewportRegion()
Returns the viewport region used for rendering.
|
SbViewportRegion |
SoSceneManager.getViewportRegion()
Gets current viewport region used for rendering.
|
static SbViewportRegion[] |
SbViewportRegion.toArray(long nativeArray,
long length) |
Modifier and Type | Method and Description |
---|---|
void |
SbViewportRegion.setValue(SbViewportRegion copyFrom) |
void |
SoOffscreenRenderer.setViewportRegion(SbViewportRegion region)
Sets the viewport region used for rendering.
|
void |
SoSceneManager.setViewportRegion(SbViewportRegion newRegion)
Sets current viewport region to use for rendering.
|
Constructor and Description |
---|
SbViewportRegion(SbViewportRegion vpReg)
Constructor that takes a viewport region.
|
SoOffscreenRenderer(SbViewportRegion viewportRegion)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SbViewportRegion |
SoGLRenderAction.getLogicalViewportRegion()
Returns current logical viewport region.
|
SbViewportRegion |
SoGLRenderAction.getViewportRegion()
Returns viewport region to use for rendering.
|
SbViewportRegion |
SoGetBoundingBoxAction.getViewportRegion()
Returns current viewport region to use for action.
|
SbViewportRegion |
SoGetMatrixAction.getViewportRegion()
Returns current viewport region to use for action.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SoGLRenderAction.setLogicalViewportRegion(SbViewportRegion newLogicalRegion)
Sets current logical viewport region to use for rendering.
|
void |
SoGLRenderAction.setViewportRegion(SbViewportRegion newRegion)
Changes 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 |
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.
|
Constructor and Description |
---|
SoBoxHighlightRenderAction(SbViewportRegion viewportRegion)
Constructor which takes the normal
SoGLRenderAction parameters. |
SoGetBoundingBoxAction(SbViewportRegion viewportRegion)
Constructor.
|
SoGetMatrixAction(SbViewportRegion newRegion)
Constructor.
|
SoGLRenderAction(SbViewportRegion viewportRegion)
Constructor.
|
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 normal
SoGLRenderAction parameters. |
SoRayPickAction(SbViewportRegion viewportRegion)
Constructor takes viewport region to use for picking.
|
Modifier and Type | Method and Description |
---|---|
SbViewportRegion |
SwMultiScene.getViewportRegion()
Deprecated.
|
SbViewportRegion |
SwRenderArea.getViewportRegion()
Deprecated.
Gets current viewport region to use for rendering
|
SbViewportRegion |
SwScene.getViewportRegion()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SwMultiScene.setViewportRegion(SbViewportRegion newRegion)
Deprecated.
Set the viewport region of the selected scene.
|
void |
SwRenderArea.setViewportRegion(SbViewportRegion newRegion)
Deprecated.
Sets current viewport region to use for rendering
|
void |
SwScene.setViewportRegion(SbViewportRegion newRegion)
Deprecated.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
SbViewportRegion |
SoComputeBoundingBox.getViewportRegion()
Returns the viewport region to use for the bounding box computation.
|
Modifier and Type | Method and Description |
---|---|
void |
SoComputeBoundingBox.setViewportRegion(SbViewportRegion vpReg)
Sets the viewport region to use for the bounding box computation.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
SbViewportRegion |
SoCamera.getViewportBounds(SbViewportRegion region)
Returns the viewport region this camera would use to render into the given viewport region, accounting for cropping.
|
Modifier and Type | Method and 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(SbBox3f bbox,
SbViewportRegion vpRegion)
Sets the camera to view the region defined by the given bounding box.
|
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(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.
|
Modifier and Type | Method and 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 also
SbViewVolume.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 also
SbViewVolume.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.
|
Modifier and Type | Method and Description |
---|---|
void |
IRenderAreaInteractive.viewAll(SbViewportRegion viewport)
Set the camera to view all the scene.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderAreaInteractive.viewAll(SbViewportRegion viewport) |
Modifier and Type | Method and Description |
---|---|
void |
RenderAreaInteractive.viewAll(SbViewportRegion viewport) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderAreaInteractive.viewAll(SbViewportRegion viewport) |
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com