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.affineSbMatrix.Factorization.projSbViewVolume.Matrices.projSbMatrix.Factorization.rSbMatrix.Factorization.uMethods 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 SbMatrixSbMatrix.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 TypeMethodDescriptionbooleanEquality comparison within given tolerance, for each component.static SbBox3fSbViewVolume.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.voidPost-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.intReturns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.intReturns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.intReturns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.voidSbXfBox3f.setTransform(SbMatrix m) Sets the transformation on the box.voidvoidSets 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.voidTransforms box by matrix, enlarging box to contain result.voidTransforms box by matrix, enlarging box to contain result.voidTransforms box by matrix, enlarging box to contain result.voidTransforms the plane by the given matrix.voidTransforms 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 TypeMethodDescriptionvoidSoDragger.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 SbMatrixReturns current matrix from the state.static SbMatrixReturns current model matrix from the state.static SbMatrixReturns current matrix from the state.static SbMatrixCalls get(state, (int)0).static SbMatrixReturns current matrix from the state.static SbMatrixReturns current matrix from the state.static SbMatrixSoModelMatrixElement.getCombinedCullMatrix(SoState state) This method gets the model*cullMatrix combined matrix (which is cached by this element).static SbMatrixReturns the matrix transform (WC to VRC) for the light i for anSoCallbackAction.static SbMatrixSoLocalBBoxMatrixElement.pushMatrix(SoState state) This method is used by the TransformSeparator node.static SbMatrixSoModelMatrixElement.pushMatrix(SoState state) This method is used by the TransformSeparator node.Methods in com.openinventor.inventor.elements with parameters of type SbMatrixModifier and TypeMethodDescriptionstatic voidAdd to the current light list and to the current matrix list.static voidMultiplies the given matrix into the local matrix.static voidMultiplies the given matrix into the model matrix.static voidMultiplies the given matrix into the texture matrix.static voidSee description for pushMatrix().static voidThis method is used by the TransformSeparator node.static voidThis method is used by the TransformSeparator node.static voidSets the local matrix to the given matrix.static voidCalls set(state, node, matrix, true).static voidSets the model matrix to the given matrix.static voidSets the projection matrix to the given matrix.static voidSets the texture transform matrix to the given matrix.static voidCalls set(state, node, matrix, true).static voidSets the view matrix to the given matrix.static voidSoModelMatrixElement.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 TypeMethodDescriptionintCalls find(targetValue, false).intFinds the given targetValue in the array and returns the index of that value.voidSets the index'th value in the array to newValue.voidSets the first value in the array to newValue, and deletes.voidSets this field to newValue.voidSets 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 SoShapeSbExtrusionGenerator.createFrom2DPoints(Collection<SbVec2f> pointsInCam, SbMatrix localToCam) Calls createFrom2DPoints(pointsInCam, localToCam, new com.openinventor.inventor.SbBox3f()).static SoShapeSbExtrusionGenerator.createFrom2DPoints(Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin) Calls createFrom2DPoints(pointsInCam, camToLocal, zMin, (float)1.0f).static SoShapeSbExtrusionGenerator.createFrom2DPoints(Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin, float zMax) Create an extruded shape from points in camera space.static SoShapeSbExtrusionGenerator.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 TypeMethodDescriptionvoidConvenience function that combines the effects of a matrix transformation into the current transformation stored in this node.voidConvenience function that combines the effects of a matrix transformation into the current transformation stored in this node.voidSets 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 TypeMethodDescriptionvoidSbProjector.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.AxisMedicalHelper.MedicalAxisFromViewAxis(Axis viewAxis, SbMatrix orientationMatrix) static AxisMedicalHelper.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 voidSoVolumeDataElement.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.