Uses of Class
com.openinventor.inventor.SbMatrix
-
Packages that use SbMatrix Package Description com.openinventor.imageviz.engines.geometryandmatching.registration This group provides a package of registration functions.com.openinventor.imageviz.nodes.images Data conversion conventions in ImageViz com.openinventor.inventor Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.com.openinventor.inventor.actions com.openinventor.inventor.draggers com.openinventor.inventor.elements The element classes are used internally for storing information in Open Inventor's traversal state list.com.openinventor.inventor.fields com.openinventor.inventor.misc com.openinventor.inventor.nodes com.openinventor.inventor.projectors com.openinventor.ldm.elements com.openinventor.medical.helpers Provides some nodes and helper classes specifically created to facilitate implementation of medical applications.com.openinventor.meshviz.graph com.openinventor.volumeviz.elements com.openinventor.volumeviz.readers -
-
Uses of SbMatrix in com.openinventor.imageviz.engines.geometryandmatching.registration
Methods in com.openinventor.imageviz.engines.geometryandmatching.registration that return SbMatrix Modifier and Type Method Description SbMatrixSoImagePreAlignmentTransform3d. getOutputTransformation()Returns the transform matrix that aligns the model image to the reference image.SbMatrixSoImageRegistrationTransform. getOutputTransformation()return the output transform matrix that aligns the model image to the reference image.SbMatrixSoImageRegistrationTransform.RegistrationEvent. getTransform()Returns the current estimated transformation.Constructors in com.openinventor.imageviz.engines.geometryandmatching.registration with parameters of type SbMatrix Constructor Description RegistrationEvent(SoImageVizEngine engine, float progress, double similarity, SbMatrix matrix)Default constructor. -
Uses of SbMatrix in com.openinventor.imageviz.nodes.images
Methods in com.openinventor.imageviz.nodes.images that return SbMatrix Modifier and Type Method Description SbMatrixSoImageDataAdapter. getIndexToPhysicalTransformation()Returns the transformation that maps a position in the image coordinate system to a position in the physical coordinate system. -
Uses of SbMatrix in com.openinventor.inventor
Fields in com.openinventor.inventor declared as SbMatrix Modifier and Type Field Description SbMatrixSbViewVolume.Matrices. affineSbMatrixSbMatrix.Factorization. projSbMatrixSbViewVolume.Matrices. projSbMatrixSbMatrix.Factorization. rSbMatrixSbMatrix.Factorization. uMethods in com.openinventor.inventor that return SbMatrix Modifier and Type Method Description SbMatrixSbViewVolume. 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.SbMatrixSoPickedPoint. getImageToObject()Calls getImageToObject((com.openinventor.inventor.nodes.SoNode)null).SbMatrixSoPickedPoint. getImageToObject(SoNode node)Returns the texture transformation matrix between image space and the object space corresponding to the given node in the path.SbMatrixSbXfBox3f. getInverse()Gets the inverse of the transformation on the box.SbMatrixSbRotation. getMatrix()Returns corresponding 4x4 rotation matrix.SbMatrixSbRotationd. getMatrix()Returns corresponding 4x4 rotation matrix.SbMatrixSbViewVolume. getMatrix()Like the method above, but returns the affine and projection parts together in one matrix (i.e., affine.multRight(proj) ).SbMatrixSoPickedPoint. getObjectToImage()Calls getObjectToImage((com.openinventor.inventor.nodes.SoNode)null).SbMatrixSoPickedPoint. getObjectToImage(SoNode node)Returns the texture transformation matrix between the object space and image space corresponding to the given node in the path.SbMatrixSoPickedPoint. getObjectToWorld()Calls getObjectToWorld((com.openinventor.inventor.nodes.SoNode)null).SbMatrixSoPickedPoint. getObjectToWorld(SoNode node)Returns the transformation matrix between the object space and world space corresponding to the given node in the path.SbMatrixSbXfBox3f. getTransform()Gets the transformation on the box.SbMatrixSoPickedPoint. getWorldToObject()Calls getWorldToObject((com.openinventor.inventor.nodes.SoNode)null).SbMatrixSoPickedPoint. 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.SbMatrixSbMatrix. inverse()Returns inverse of matrix.SbMatrixSbMatrix. multLeft(SbMatrix m)Pre-multiplies matrix by the given matrix.SbMatrixSbMatrix. multRight(SbMatrix m)Post-multiplies the matrix by the given matrix.SbMatrixSbMatrix. setValue(float[] components)SbMatrixSbMatrix. setValue(float[] components, int startIndex)SbMatrixSbMatrix. 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)SbMatrixSbMatrix. times(SbMatrix m2)Multiplies two matrices, returning a matrix result.static SbMatrix[]SbMatrix. toArray(long nativeArray, long length)SbMatrixSbMatrix. transpose()Returns transpose of matrix.Methods in com.openinventor.inventor with parameters of type SbMatrix Modifier and Type Method Description booleanSbMatrix. equals(SbMatrix m, float tolerance)Equality comparison within given tolerance, for each component.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.voidSbMatrix. multiply(SbMatrix m)Post-multiplies the matrix by the given matrix (equivalent tomultRight()method).SbMatrixSbMatrix. multLeft(SbMatrix m)Pre-multiplies matrix by the given matrix.SbMatrixSbMatrix. multRight(SbMatrix m)Post-multiplies the matrix by the given matrix.intSbBox3f. outside(SbMatrix MVP)Returns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.intSbBox3i32. outside(SbMatrix MVP)Returns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.intSbBox3s. outside(SbMatrix MVP)Returns 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.voidSbMatrix. setValue(SbMatrix copyFrom)voidSbMatrixd. setValue(SbMatrix m)Sets values from a single precision matrix.SbRotationSbRotation. setValue(SbMatrix m)Sets value of rotation from a rotation matrix.SbRotationdSbRotationd. setValue(SbMatrix m)Sets rotation from a single precision rotation matrix.SbMatrixSbMatrix. times(SbMatrix m2)Multiplies two matrices, returning a matrix result.voidSbBox3f. transform(SbMatrix m)Transforms box by matrix, enlarging box to contain result.voidSbBox3i32. transform(SbMatrix m)Transforms box by matrix, enlarging box to contain result.voidSbBox3s. transform(SbMatrix m)Transforms box by matrix, enlarging box to contain result.voidSbPlane. transform(SbMatrix matrix)Transforms the plane by the given matrix.voidSbXfBox3f. transform(SbMatrix m)Transforms the box by the given matrix.Constructors in com.openinventor.inventor with parameters of type SbMatrix Constructor Description SbMatrix(SbMatrix copyFrom)SbRotation(SbMatrix m)Constructor. -
Uses of SbMatrix in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbMatrix Modifier and Type Method Description SbMatrixSoGetMatrixAction. getInverse()Returns the inverse of the cumulative transformation matrix.SbMatrixSoGetMatrixAction. getMatrix()Returns cumulative transformation matrix.SbMatrixSoCallbackAction. getModelMatrix()Returns the current modeling transformation from the state.SbMatrixSoCallbackAction. getProjectionMatrix()Returns the current camera and viewing information from the state.SbMatrixSoGetMatrixAction. getTextureInverse()Returns the inverse of the cumulative texture transformation matrix.SbMatrixSoCallbackAction. getTextureMatrix()Returns the current texture mapping information from the state.SbMatrixSoGetMatrixAction. getTextureMatrix()Returns cumulative texture transformation matrix.SbMatrixSoCallbackAction. getViewingMatrix()Returns the current camera and viewing information from the state.Methods in com.openinventor.inventor.actions with parameters of type SbMatrix Modifier and Type Method Description voidSoRayPickAction. setObjectSpace(SbMatrix matrix) -
Uses of SbMatrix in com.openinventor.inventor.draggers
Methods in com.openinventor.inventor.draggers that return SbMatrix Modifier and Type Method Description SbMatrixSoDragger. getMotionMatrix()Get the motion matrix.Methods in com.openinventor.inventor.draggers with parameters of type SbMatrix Modifier and Type Method Description voidSoDragger. setMotionMatrix(SbMatrix newMatrix)Set the motion matrix. -
Uses of SbMatrix in com.openinventor.inventor.elements
Methods in com.openinventor.inventor.elements that return SbMatrix Modifier and Type Method Description static SbMatrixSoLocalBBoxMatrixElement. get(SoState state)Returns current matrix from the state.static SbMatrixSoModelMatrixElement. get(SoState state)Returns current model matrix from the state.static SbMatrixSoProjectionMatrixElement. get(SoState state)Returns current matrix from the state.static SbMatrixSoTextureMatrixElement. get(SoState state)Calls get(state, (int)0).static SbMatrixSoTextureMatrixElement. get(SoState state, int unit)Returns current matrix from the state.static SbMatrixSoViewingMatrixElement. get(SoState state)Returns 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 SbMatrixSoLightElement. getMatrix(SoState state, int index)Returns 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 SbMatrix Modifier and Type Method Description static voidSoLightElement. add(SoState state, SoLight light, SbMatrix WCToVRCMatrix)Add to the current light list and to the current matrix list.static voidSoLocalBBoxMatrixElement. mult(SoState state, SbMatrix matrix)Multiplies the given matrix into the local matrix.static voidSoModelMatrixElement. mult(SoState state, SoNode node, SbMatrix matrix)Multiplies the given matrix into the model matrix.static voidSoTextureMatrixElement. mult(SoState state, SoNode node, SbMatrix matrix)Multiplies the given matrix into the texture matrix.static voidSoBBoxModelMatrixElement. popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)See description for pushMatrix().static voidSoLocalBBoxMatrixElement. popMatrix(SoState state, SbMatrix m)This method is used by the TransformSeparator node.static voidSoModelMatrixElement. popMatrix(SoState state, SbMatrix m)This method is used by the TransformSeparator node.static voidSoLocalBBoxMatrixElement. set(SoState state, SbMatrix matrix)Sets the local matrix to the given matrix.static voidSoModelMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)Calls set(state, node, matrix, true).static voidSoModelMatrixElement. set(SoState state, SoNode node, SbMatrix matrix, boolean sendToGL)Sets the model matrix to the given matrix.static voidSoProjectionMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)Sets the projection matrix to the given matrix.static voidSoTextureMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)Sets the texture transform matrix to the given matrix.static voidSoViewingMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)Calls set(state, node, matrix, true).static voidSoViewingMatrixElement. set(SoState state, SoNode node, SbMatrix matrix, boolean sendToGL)Sets 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 SbMatrix Modifier and Type Method Description SbMatrixSoSFMatrix. getValue()Returns this field's value.SbMatrixSoMFMatrix. 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 SbMatrix Modifier and Type Method Description intSoMFMatrix. find(SbMatrix targetValue)Calls find(targetValue, false).intSoMFMatrix. find(SbMatrix targetValue, boolean addIfNotFound)Finds the given targetValue in the array and returns the index of that value.voidSoMFMatrix. set1Value(int index, SbMatrix newValue)Sets the index'th value in the array to newValue.voidSoMFMatrix. setValue(SbMatrix newValue)Sets the first value in the array to newValue, and deletes.voidSoSFMatrix. setValue(SbMatrix newValue)Sets this field to newValue.voidSoMFMatrix. setValues(int start, SbMatrix[] newValues)Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SbMatrix Constructor Description SoSFMatrix(SoFieldContainer fieldContainer, java.lang.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 SbMatrix Modifier and Type Method Description static SoShapeSbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SbMatrix localToCam)Calls createFrom2DPoints(pointsInCam, localToCam, new com.openinventor.inventor.SbBox3f()).static SoShapeSbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin)Calls createFrom2DPoints(pointsInCam, camToLocal, zMin, (float)1.0f).static SoShapeSbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin, float zMax)Create an extruded shape from points in camera space.static SoShapeSbExtrusionGenerator. createFrom2DPoints(java.util.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 SbMatrix Modifier and Type Method Description SbMatrix[]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 SbMatrix Modifier and Type Method Description voidSoTransform. multLeft(SbMatrix mat)Convenience function that combines the effects of a matrix transformation into the current transformation stored in this node.voidSoTransform. multRight(SbMatrix mat)Convenience function that combines the effects of a matrix transformation into the current transformation stored in this node.voidSoTransform. setMatrix(SbMatrix mat)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 SbMatrix Modifier and Type Method Description SbMatrixSbProjector. getWorkingSpace()Get the transform space to work in.Methods in com.openinventor.inventor.projectors with parameters of type SbMatrix Modifier and Type Method Description voidSbProjector. 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 Modifier and Type Method Description static voidSoDataSetElement. set(SoState state, SoNode node, SoDataSet datasetNode, SbMatrix matrix) -
Uses of SbMatrix in com.openinventor.medical.helpers
Methods in com.openinventor.medical.helpers with parameters of type SbMatrix Modifier and Type Method Description static 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 Modifier and Type Method Description SbMatrixPbDomain. getMatrix()Get the domain transform matrix in anSbMatrixobject. -
Uses of SbMatrix in com.openinventor.volumeviz.elements
Methods in com.openinventor.volumeviz.elements with parameters of type SbMatrix Modifier and Type Method Description static 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 SbMatrix Modifier and Type Method Description SbMatrixSoVRDicomData. getOrientation()Returns the orientation of the DICOM volume.
-