Package | Description |
---|---|
com.openinventor.inventor |
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
|
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.events | |
com.openinventor.inventor.fields | |
com.openinventor.inventor.nodes | |
com.openinventor.inventor.projectors | |
com.openinventor.inventor.viewercomponents |
Viewer components contains helpful tools to implement a custom viewer.
|
Modifier and Type | Field and Description |
---|---|
SbRotation |
SbMatrix.Decomposition.rotation |
SbRotation |
SbMatrix.Decomposition.scaleOrientation |
Modifier and Type | Method and Description |
---|---|
SbRotation |
SbViewVolume.getAlignRotation()
Calls getAlignRotation(false).
|
SbRotation |
SbViewVolume.getAlignRotation(boolean rightAngleOnly)
Returns a rotation that would align a viewed object so that its positive x-axis (of its object space) is to the right in the view and its positive y-axis is up.
|
static SbRotation |
SbRotation.identity()
Returns a null rotation.
|
SbRotation |
SbRotation.inverse()
Returns the inverse of a rotation.
|
SbRotation |
SbRotation.invert()
Changes a rotation to be its inverse.
|
SbRotation |
SbRotation.setValue(float[] components) |
SbRotation |
SbRotation.setValue(float[] components,
int startIndex) |
SbRotation |
SbRotation.setValue(float q0,
float q1,
float q2,
float q3)
Sets value of rotation from 4 individual components of a quaternion.
|
SbRotation |
SbRotation.setValue(SbMatrix m)
Sets value of rotation from a rotation matrix.
|
SbRotation |
SbRotation.setValue(SbMatrix3 m)
Sets rotation from a 3x3 rotation matrix.
|
SbRotation |
SbRotation.setValue(SbMatrixd md)
Sets rotation from a double precision rotation matrix.
|
SbRotation |
SbRotation.setValue(SbRotationd rotated)
Sets rotation from a double precision rotation.
|
SbRotation |
SbRotation.setValue(SbVec3f axis,
float radians)
Sets value of vector from 3D rotation axis vector and angle in radians.
|
SbRotation |
SbRotation.setValue(SbVec3f rotateFrom,
SbVec3f rotateTo)
Sets rotation to rotate one direction vector to another.
|
static SbRotation |
SbRotation.slerp(SbRotation rot0,
SbRotation rot1,
float t)
Spherical linear interpolation: as t goes from 0 to 1, returned value goes from rot0 to rot1.
|
SbRotation |
SbRotation.times(SbRotation q2)
Multiplication of two rotations; results in product of rotations.
|
static SbRotation[] |
SbRotation.toArray(long nativeArray,
long length) |
Modifier and Type | Method and Description |
---|---|
boolean |
SbRotation.equals(SbRotation r,
float tolerance)
Equality comparison within given tolerance - the square of the length of the maximum distance between the two quaternion vectors.
|
void |
SbRotation.multiply(SbRotation q)
Multiplies by another rotation; results in product of rotations.
|
void |
SbViewVolume.rotateCamera(SbRotation q)
Rotate the camera view direction.
|
void |
SbMatrix.setRotate(SbRotation q)
Sets matrix to rotate by given rotation.
|
void |
SbMatrix3.setRotate(SbRotation q)
Sets matrix to rotate by given rotation.
|
void |
SbMatrix.setTransform(SbVec3f t,
SbRotation r,
SbVec3f s)
Composes the matrix based on a translation, rotation, and scale.
|
void |
SbMatrix.setTransform(SbVec3f t,
SbRotation r,
SbVec3f s,
SbRotation so)
Composes the matrix based on a translation, rotation, scale, and orientation for scale.
|
void |
SbMatrix.setTransform(SbVec3f translation,
SbRotation rotation,
SbVec3f scaleFactor,
SbRotation scaleOrientation,
SbVec3f center)
Composes the matrix based on a translation, rotation, scale, orientation for scale, and center.
|
void |
SbRotation.setValue(SbRotation copyFrom) |
SbRotationd |
SbRotationd.setValue(SbRotation rotate)
Sets rotation from a single precision rotation.
|
static SbRotation |
SbRotation.slerp(SbRotation rot0,
SbRotation rot1,
float t)
Spherical linear interpolation: as t goes from 0 to 1, returned value goes from rot0 to rot1.
|
SbRotation |
SbRotation.times(SbRotation q2)
Multiplication of two rotations; results in product of rotations.
|
Constructor and Description |
---|
SbRotation(SbRotation copyFrom) |
Modifier and Type | Method and Description |
---|---|
SbRotation |
SwFlyArea.getCamStartOrientation()
Deprecated.
|
SbRotation |
SwWalkArea.getCamStartOrientation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SwActiveArea.rotateCamera(SbRotation rot)
Deprecated.
Rotates the camera around pt of interest by given rotation
|
void |
SwExaminerArea.rotateCamera(SbRotation rot)
Deprecated.
Rotates the camera around pt of interest by given rotation
|
void |
SwMultiScene.rotateCamera(SbRotation rot)
Deprecated.
Rotate the camera for the selected scene.
|
void |
SwPanel.rotateCamera(SbRotation rot)
Deprecated.
Sends to a registred SwScene the relevant message.
|
void |
SwPopupMenu.rotateCamera(SbRotation rot)
Deprecated.
Sends to a registered SwScene the relevant message.
|
void |
SwScene.rotateCamera(SbRotation rot)
Deprecated.
|
void |
SwSceneHandler.rotateCamera(SbRotation rot)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
SoLocalBBoxMatrixElement.rotateBy(SoState state,
SbRotation rotation)
Multiplies a matrix that performs the specified transformation into the local matrix.
|
static void |
SoModelMatrixElement.rotateBy(SoState state,
SoNode node,
SbRotation rotation)
This multiplies a matrix that performs the specified transformation into the model matrix.
|
static void |
SoTextureMatrixElement.rotateBy(SoState state,
SoNode node,
SbRotation rotation)
Multiplies a matrix that performs the specified transformation into the texture matrix.
|
Modifier and Type | Method and Description |
---|---|
SbRotation |
SbTrackerInfo.getOrientation()
Get orientation of tracker as a standard Open Inventor rotation (quaternion).
|
SbRotation |
SoControllerButtonEvent.getOrientation()
Get orientation of associated tracker as a standard Open Inventor rotation (quaternion).
|
SbRotation |
SoTrackerEvent.getOrientation()
Get orientation of associated tracker as a standard Open Inventor rotation (quaternion).
|
SbRotation |
SoMotion3Event.getRotation()
Gets the relative change in rotation since the last rotation event.
|
Modifier and Type | Method and Description |
---|---|
void |
SbTrackerInfo.setOrientation(SbRotation orientation)
Set orientation value from an
SbRotation . |
void |
SoControllerButtonEvent.setOrientation(SbRotation orientation)
Set orientation value of associated tracker from an
SbRotation . |
void |
SoTrackerEvent.setOrientation(SbRotation orientation)
Set orientation value of associated tracker from an
SbRotation . |
void |
SoMotion3Event.setRotation(SbRotation r)
Sets the relative change in rotation since the last rotation event.
|
Modifier and Type | Method and Description |
---|---|
SbRotation |
SoMFRotation.get1Value(int i)
Deprecated.
|
SbRotation |
SoSFRotation.getValue()
Returns this field's value.
|
SbRotation |
SoMFRotation.getValueAt(int i) |
SbRotation[] |
SoMFRotation.getValues(int start)
Returns a pointer into the array of values in the field, starting at index start.
|
Modifier and Type | Method and Description |
---|---|
int |
SoMFRotation.find(SbRotation targetValue)
Calls find(targetValue, false).
|
int |
SoMFRotation.find(SbRotation targetValue,
boolean addIfNotFound)
Finds the given
targetValue in the array and returns the index of that value.
|
void |
SoMFRotation.set1Value(int index,
SbRotation newValue)
Sets the
index'th value in the array to
newValue.
|
void |
SoMFRotation.setValue(SbRotation newValue)
Sets the first value in the array to
newValue, and deletes.
|
void |
SoSFRotation.setValue(SbRotation newValue)
Sets this field to
newValue.
|
void |
SoMFRotation.setValues(int start,
SbRotation[] newValues)
Sets
num values starting at index
start to the values.
|
Constructor and Description |
---|
SoSFRotation(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType,
SbRotation defaultValue)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
SbRotation |
SoRotationXYZ.getRotation()
Returns an
SbRotation equivalent to the specified rotation. |
Modifier and Type | Method and Description |
---|---|
SbRotation |
SbCylinderProjector.getRotation(SbVec3f point1,
SbVec3f point2)
Gets a rotation given two points on this cylinder projector.
|
SbRotation |
SbSphereProjector.getRotation(SbVec3f point1,
SbVec3f point2)
Gets a rotation given two points on this sphere projector.
|
SbRotation |
SbCylinderProjector.projectAndGetRotation(SbVec2f point)
Applies the projector using the given point, returning the point in three dimensions that it projects to.
|
SbRotation |
SbSphereProjector.projectAndGetRotation(SbVec2f point)
Applies the projector using the given point, returning the point in three dimensions that it projects to.
|
Modifier and Type | Method and Description |
---|---|
SbRotation |
SoCameraInteractor.lookAt(SbVec3f position,
SbVec3f target,
SbVec3f up)
Returns the rotation needed to point a camera at
position toward the given
target point while keeping the "up" direction of the camera parallel to the specified
up vector.
|
Modifier and Type | Method and Description |
---|---|
void |
SoCameraInteractor.orbit(SbRotation rotation)
Orbit the camera by the specified rotation.
|
void |
SoCameraInteractor.rotate(SbRotation rot)
Rotate the camera.
|
void |
SoCameraInteractor.setOrientation(SbRotation rot)
Set the orientation of the camera.
|
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com