SoCameraAccess

InventorModule

genre

Visualization

authors

Felix Ritter, Christian Hansen

package

FMEwork/ReleaseMeVis

dll

SoCameraAccess

definition

SoCameraAccess.def

keywords

camera, matrix, upvector, lookAt, viewvector, viewingmatrix, projectionmatrix, modelview

Purpose

The SoCameraAccess module provides access to the current Open Inventor camera state elements.

Usage

Connect the module to the scene and read its values.

Output Fields

self

name: self, type: SoNode

The module has one output that can be connected to the scenegraph.

Parameter Fields

Field Index

Cam Position: Vector3

Up Vector: Vector3

Camera Space Matrix: Matrix

View Vector: Vector3

Far Distance: Float

Viewing Matrix (viewingMatrix): Matrix

Look At Position: Vector3

Viewing Matrix (NewViewingMatrix): Matrix

Near Distance: Float

Viewport Size: String

Projection Matrix (projectionMatrix): Matrix

Projection Matrix (NewProjectionMatrix): Matrix

Transform Delta: Matrix

Visible Fields

Transform Delta

name: transformDeltaOut, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Viewing Matrix (viewingMatrix)

name: viewingMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Projection Matrix (projectionMatrix)

name: projectionMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Camera Space Matrix

name: cameraSpaceMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Cam Position

name: camPosition, type: Vector3, default: 0 0 0

Look At Position

name: lookAtPosition, type: Vector3, default: 0 0 0

Up Vector

name: upVector, type: Vector3, default: 0 0 0

View Vector

name: viewVector, type: Vector3, default: 0 0 0

Viewport Size

name: viewportSizeOut, type: String, default: 0 0

Near Distance

name: nearDistance, type: Float, default: 0

Far Distance

name: farDistance, type: Float, default: 0

Viewing Matrix (NewViewingMatrix)

name: NewViewingMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Projection Matrix (NewProjectionMatrix)

name: NewProjectionMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1