Uses of Class
com.openinventor.inventor.SbMatrix
Packages that use SbMatrix
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
The element classes are used internally for storing information in Open Inventor's traversal state list.
Provides some nodes and helper classes specifically created to facilitate
implementation of medical applications.
-
Uses of SbMatrix in com.openinventor.inventor
Fields in com.openinventor.inventor declared as SbMatrixModifier and TypeFieldDescriptionSbViewVolume.Matrices.affine
SbMatrix.Factorization.proj
SbViewVolume.Matrices.proj
SbMatrix.Factorization.r
SbMatrix.Factorization.u
Methods in com.openinventor.inventor that return SbMatrixModifier and TypeMethodDescriptionSbViewVolume.getCameraSpaceMatrix()
Returns a matrix that transforms the view volume into camera space: it translates the view volume so the viewpoint is at the origin, and rotates it so the view direction is along the negative z axis.SoPickedPoint.getImageToObject()
Calls getImageToObject((com.openinventor.inventor.nodes.SoNode)null).SoPickedPoint.getImageToObject
(SoNode node) Returns the texture transformation matrix between image space and the object space corresponding to the given node in the path.SbXfBox3f.getInverse()
Gets the inverse of the transformation on the box.SbRotation.getMatrix()
Returns corresponding 4x4 rotation matrix.SbRotationd.getMatrix()
Returns corresponding 4x4 rotation matrix.SbViewVolume.getMatrix()
Like the method above, but returns the affine and projection parts together in one matrix (i.e., affine.multRight(proj) ).SoPickedPoint.getObjectToImage()
Calls getObjectToImage((com.openinventor.inventor.nodes.SoNode)null).SoPickedPoint.getObjectToImage
(SoNode node) Returns the texture transformation matrix between the object space and image space corresponding to the given node in the path.SoPickedPoint.getObjectToWorld()
Calls getObjectToWorld((com.openinventor.inventor.nodes.SoNode)null).SoPickedPoint.getObjectToWorld
(SoNode node) Returns the transformation matrix between the object space and world space corresponding to the given node in the path.SbXfBox3f.getTransform()
Gets the transformation on the box.SoPickedPoint.getWorldToObject()
Calls getWorldToObject((com.openinventor.inventor.nodes.SoNode)null).SoPickedPoint.getWorldToObject
(SoNode node) Returns the transformation matrix between world space and the object space corresponding to the given node in the path.static SbMatrix
SbMatrix.identity()
Returns an identity matrix.SbMatrix.inverse()
Returns inverse of matrix.Pre-multiplies matrix by the given matrix.Post-multiplies the matrix by the given matrix.SbMatrix.setValue
(float[] components) SbMatrix.setValue
(float[] components, int startIndex) SbMatrix.setValue
(float c0, float c1, float c2, float c3, float c4, float c5, float c6, float c7, float c8, float c9, float c10, float c11, float c12, float c13, float c14, float c15) Multiplies two matrices, returning a matrix result.static SbMatrix[]
SbMatrix.toArray
(long nativeArray, long length) SbMatrix.transpose()
Returns transpose of matrix.Methods in com.openinventor.inventor with parameters of type SbMatrixModifier and TypeMethodDescriptionboolean
Equality comparison within given tolerance, for each component.static SbBox3f
SbViewVolume.getProjectedBbox
(SbMatrix affineProj, SbBox3f box) Same as getProjectedBbox but takes a matrix (containing affine and projection parts) to use instead of the one returned by getMatrix.void
Post-multiplies the matrix by the given matrix (equivalent tomultRight()
method).Pre-multiplies matrix by the given matrix.Post-multiplies the matrix by the given matrix.int
Returns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.int
Returns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.int
Returns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.void
SbXfBox3f.setTransform
(SbMatrix m) Sets the transformation on the box.void
void
Sets values from a single precision matrix.Sets value of rotation from a rotation matrix.Sets rotation from a single precision rotation matrix.Multiplies two matrices, returning a matrix result.void
Transforms box by matrix, enlarging box to contain result.void
Transforms box by matrix, enlarging box to contain result.void
Transforms box by matrix, enlarging box to contain result.void
Transforms the plane by the given matrix.void
Transforms the box by the given matrix.Constructors in com.openinventor.inventor with parameters of type SbMatrix -
Uses of SbMatrix in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbMatrixModifier and TypeMethodDescriptionSoGetMatrixAction.getInverse()
Returns the inverse of the cumulative transformation matrix.SoGetMatrixAction.getMatrix()
Returns cumulative transformation matrix.SoCallbackAction.getModelMatrix()
Returns the current modeling transformation from the state.SoCallbackAction.getProjectionMatrix()
Returns the current camera and viewing information from the state.SoGetMatrixAction.getTextureInverse()
Returns the inverse of the cumulative texture transformation matrix.SoCallbackAction.getTextureMatrix()
Returns the current texture mapping information from the state.SoGetMatrixAction.getTextureMatrix()
Returns cumulative texture transformation matrix.SoCallbackAction.getViewingMatrix()
Returns the current camera and viewing information from the state.Methods in com.openinventor.inventor.actions with parameters of type SbMatrix -
Uses of SbMatrix in com.openinventor.inventor.draggers
Methods in com.openinventor.inventor.draggers that return SbMatrixMethods in com.openinventor.inventor.draggers with parameters of type SbMatrixModifier and TypeMethodDescriptionvoid
SoDragger.setMotionMatrix
(SbMatrix newMatrix) Set the motion matrix. -
Uses of SbMatrix in com.openinventor.inventor.elements
Methods in com.openinventor.inventor.elements that return SbMatrixModifier and TypeMethodDescriptionstatic SbMatrix
Returns current matrix from the state.static SbMatrix
Returns current model matrix from the state.static SbMatrix
Returns current matrix from the state.static SbMatrix
Calls get(state, (int)0).static SbMatrix
Returns current matrix from the state.static SbMatrix
Returns current matrix from the state.static SbMatrix
SoModelMatrixElement.getCombinedCullMatrix
(SoState state) This method gets the model*cullMatrix combined matrix (which is cached by this element).static SbMatrix
Returns the matrix transform (WC to VRC) for the light i for anSoCallbackAction
.static SbMatrix
SoLocalBBoxMatrixElement.pushMatrix
(SoState state) This method is used by the TransformSeparator node.static SbMatrix
SoModelMatrixElement.pushMatrix
(SoState state) This method is used by the TransformSeparator node.Methods in com.openinventor.inventor.elements with parameters of type SbMatrixModifier and TypeMethodDescriptionstatic void
Add to the current light list and to the current matrix list.static void
Multiplies the given matrix into the local matrix.static void
Multiplies the given matrix into the model matrix.static void
Multiplies the given matrix into the texture matrix.static void
See description for pushMatrix().static void
This method is used by the TransformSeparator node.static void
This method is used by the TransformSeparator node.static void
Sets the local matrix to the given matrix.static void
Calls set(state, node, matrix, true).static void
Sets the model matrix to the given matrix.static void
Sets the projection matrix to the given matrix.static void
Sets the texture transform matrix to the given matrix.static void
Calls set(state, node, matrix, true).static void
Sets the view matrix to the given matrix.static void
SoModelMatrixElement.setCullMatrix
(SoState state, SoNode node, SbMatrix matrix) Sets the transformation that defines the volume that view-volume culling should be tested against. -
Uses of SbMatrix in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbMatrixModifier and TypeMethodDescriptionSoSFMatrix.getValue()
Returns this field's value.SoMFMatrix.getValueAt
(int i) SbMatrix[]
SoMFMatrix.getValues
(int start) Returns a pointer into the array of values in the field, starting at index start.Methods in com.openinventor.inventor.fields with parameters of type SbMatrixModifier and TypeMethodDescriptionint
Calls find(targetValue, false).int
Finds the given targetValue in the array and returns the index of that value.void
Sets the index'th value in the array to newValue.void
Sets the first value in the array to newValue, and deletes.void
Sets this field to newValue.void
Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SbMatrixModifierConstructorDescriptionSoSFMatrix
(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SbMatrix defaultValue) Default constructor. -
Uses of SbMatrix in com.openinventor.inventor.misc
Methods in com.openinventor.inventor.misc with parameters of type SbMatrixModifier and TypeMethodDescriptionstatic SoShape
SbExtrusionGenerator.createFrom2DPoints
(Collection<SbVec2f> pointsInCam, SbMatrix localToCam) Calls createFrom2DPoints(pointsInCam, localToCam, new com.openinventor.inventor.SbBox3f()).static SoShape
SbExtrusionGenerator.createFrom2DPoints
(Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin) Calls createFrom2DPoints(pointsInCam, camToLocal, zMin, (float)1.0f).static SoShape
SbExtrusionGenerator.createFrom2DPoints
(Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin, float zMax) Create an extruded shape from points in camera space.static SoShape
SbExtrusionGenerator.createFrom2DPoints
(Collection<SbVec2f> pointsInCam, SbMatrix localToCam, SbBox3f bboxInLocal) Create an extruded shape from points in camera space. -
Uses of SbMatrix in com.openinventor.inventor.nodes
Methods in com.openinventor.inventor.nodes that return SbMatrixModifier and TypeMethodDescriptionSbMatrix[]
SoTransform.getRotationSpaceMatrix()
Returns composite matrix that transforms from object space to rotation space (the space after the scale and rotation).SbMatrix[]
SoTransform.getScaleSpaceMatrix()
Returns composite matrix that transforms from object space to scale space (the space after the scale).SbMatrix[]
SoTransform.getTranslationSpaceMatrix()
Returns composite matrix that transforms from object space to translation space (the space after scale, rotation, and translation).Methods in com.openinventor.inventor.nodes with parameters of type SbMatrixModifier and TypeMethodDescriptionvoid
Convenience function that combines the effects of a matrix transformation into the current transformation stored in this node.void
Convenience function that combines the effects of a matrix transformation into the current transformation stored in this node.void
Sets the fields in the node to implement the transformation represented by the given matrix. -
Uses of SbMatrix in com.openinventor.inventor.projectors
Methods in com.openinventor.inventor.projectors that return SbMatrixModifier and TypeMethodDescriptionSbProjector.getWorkingSpace()
Get the transform space to work in.Methods in com.openinventor.inventor.projectors with parameters of type SbMatrixModifier and TypeMethodDescriptionvoid
SbProjector.setWorkingSpace
(SbMatrix space) Set the transform space to work in. -
Uses of SbMatrix in com.openinventor.ldm.elements
Methods in com.openinventor.ldm.elements with parameters of type SbMatrix -
Uses of SbMatrix in com.openinventor.medical.helpers
Methods in com.openinventor.medical.helpers with parameters of type SbMatrixModifier and TypeMethodDescriptionstatic MedicalHelper.Axis
MedicalHelper.MedicalAxisFromViewAxis
(Axis viewAxis, SbMatrix orientationMatrix) static Axis
MedicalHelper.ViewAxisFromMedicalAxis
(MedicalHelper.Axis medicalAxis, SbMatrix orientationMatrix) -
Uses of SbMatrix in com.openinventor.meshviz.graph
Methods in com.openinventor.meshviz.graph that return SbMatrix -
Uses of SbMatrix in com.openinventor.volumeviz.elements
Methods in com.openinventor.volumeviz.elements with parameters of type SbMatrixModifier and TypeMethodDescriptionstatic void
SoVolumeDataElement.set
(SoState state, SoNode node, SoVolumeData volumeDataNode, SbMatrix matrix) -
Uses of SbMatrix in com.openinventor.volumeviz.readers
Methods in com.openinventor.volumeviz.readers that return SbMatrixModifier and TypeMethodDescriptionSoVRDicomData.getOrientation()
Returns the orientation of the DICOM volume.