Uses of Class
com.openinventor.inventor.SbRotationd
Packages that use SbRotationd
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
-
Uses of SbRotationd in com.openinventor.inventor
Fields in com.openinventor.inventor declared as SbRotationdModifier and TypeFieldDescriptionSbMatrixd.Decomposition.rotation
SbMatrixd.Decomposition.scaleOrientation
Methods in com.openinventor.inventor that return SbRotationdModifier and TypeMethodDescriptionstatic SbRotationd
SbRotationd.identity()
Returns a null rotation.SbRotationd.inverse()
Returns the inverse of a rotation.SbRotationd.invert()
Changes a rotation to be its inverse.SbRotationd.setValue
(double[] components) SbRotationd.setValue
(double[] components, int startIndex) SbRotationd.setValue
(double q0, double q1, double q2, double q3) Sets value of rotation from 4 individual components of a quaternion.Sets rotation from a single precision rotation matrix.Sets rotation from a 3x3 rotation matrix.Sets value of rotation from a rotation matrix.SbRotationd.setValue
(SbRotation rotate) Sets rotation from a single precision rotation.Sets value of vector from 3D rotation axis vector and angle in radians.Sets rotation to rotate one direction vector to another.static SbRotationd
SbRotationd.slerp
(SbRotationd rot0, SbRotationd rot1, double t) Spherical linear interpolation: as t goes from 0 to 1, returned value goes from rot0 to rot1.SbRotationd.times
(SbRotationd q2) Multiplication of two rotations; results in product of rotations.static SbRotationd[]
SbRotationd.toArray
(long nativeArray, long length) Methods in com.openinventor.inventor with parameters of type SbRotationdModifier and TypeMethodDescriptionboolean
SbRotationd.equals
(SbRotationd r, double tolerance) Equality comparison within given tolerance - the square of the length of the maximum distance between the two quaternion vectors.void
SbRotationd.multiply
(SbRotationd q) Multiplies by another rotation; results in product of rotations.void
SbMatrixd.setRotate
(SbRotationd q) Sets matrix to rotate by given rotation.void
SbMatrixd.setTransform
(SbVec3d t, SbRotationd r, SbVec3d s) Composes the matrix based on a translation, rotation, and scale.void
SbMatrixd.setTransform
(SbVec3d t, SbRotationd r, SbVec3d s, SbRotationd so) Composes the matrix based on a translation, rotation, scale, and orientation for scale.void
SbMatrixd.setTransform
(SbVec3d translation, SbRotationd rotation, SbVec3d scaleFactor, SbRotationd scaleOrientation, SbVec3d center) Composes the matrix based on a translation, rotation, scale, orientation for scale, and center.SbRotation.setValue
(SbRotationd rotated) Sets rotation from a double precision rotation.void
SbRotationd.setValue
(SbRotationd copyFrom) static SbRotationd
SbRotationd.slerp
(SbRotationd rot0, SbRotationd rot1, double t) Spherical linear interpolation: as t goes from 0 to 1, returned value goes from rot0 to rot1.SbRotationd.times
(SbRotationd q2) Multiplication of two rotations; results in product of rotations.Constructors in com.openinventor.inventor with parameters of type SbRotationd -
Uses of SbRotationd in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields with parameters of type SbRotationdModifier and TypeMethodDescriptionvoid
SoMFRotation.set1Value
(int index, SbRotationd rd) Sets the index 'th value in the array to newValue , a double precision rotation.void
SoMFRotation.setValue
(SbRotationd rd) Sets the first value in the array to newValue , a double precision rotation, and deletes the second and subsequent values.void
SoSFRotation.setValue
(SbRotationd rotd) Convenience method that allows you to specify a field value using a double precision variable.void
SoMFRotation.setValues
(int start, int num, SbRotationd[] rd) Deprecated.void
SoMFRotation.setValues
(int start, SbRotationd[] rd) Sets values starting at index start to the values in the specified array of double precision rotations.
SoMFRotation.setValues(int, com.openinventor.inventor.SbRotationd[])
instead.