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 SbMatrix
SoImagePreAlignmentTransform3d. getOutputTransformation()
Returns the transform matrix that aligns the model image to the reference image.SbMatrix
SoImageRegistrationTransform. getOutputTransformation()
return the output transform matrix that aligns the model image to the reference image.SbMatrix
SoImageRegistrationTransform.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 SbMatrix
SoImageDataAdapter. 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 SbMatrix
SbViewVolume.Matrices. affine
SbMatrix
SbMatrix.Factorization. proj
SbMatrix
SbViewVolume.Matrices. proj
SbMatrix
SbMatrix.Factorization. r
SbMatrix
SbMatrix.Factorization. u
Methods in com.openinventor.inventor that return SbMatrix Modifier and Type Method Description SbMatrix
SbViewVolume. 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.SbMatrix
SoPickedPoint. getImageToObject()
Calls getImageToObject((com.openinventor.inventor.nodes.SoNode)null).SbMatrix
SoPickedPoint. getImageToObject(SoNode node)
Returns the texture transformation matrix between image space and the object space corresponding to the given node in the path.SbMatrix
SbXfBox3f. getInverse()
Gets the inverse of the transformation on the box.SbMatrix
SbRotation. getMatrix()
Returns corresponding 4x4 rotation matrix.SbMatrix
SbRotationd. getMatrix()
Returns corresponding 4x4 rotation matrix.SbMatrix
SbViewVolume. getMatrix()
Like the method above, but returns the affine and projection parts together in one matrix (i.e., affine.multRight(proj) ).SbMatrix
SoPickedPoint. getObjectToImage()
Calls getObjectToImage((com.openinventor.inventor.nodes.SoNode)null).SbMatrix
SoPickedPoint. getObjectToImage(SoNode node)
Returns the texture transformation matrix between the object space and image space corresponding to the given node in the path.SbMatrix
SoPickedPoint. getObjectToWorld()
Calls getObjectToWorld((com.openinventor.inventor.nodes.SoNode)null).SbMatrix
SoPickedPoint. getObjectToWorld(SoNode node)
Returns the transformation matrix between the object space and world space corresponding to the given node in the path.SbMatrix
SbXfBox3f. getTransform()
Gets the transformation on the box.SbMatrix
SoPickedPoint. getWorldToObject()
Calls getWorldToObject((com.openinventor.inventor.nodes.SoNode)null).SbMatrix
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
SbMatrix. inverse()
Returns inverse of matrix.SbMatrix
SbMatrix. multLeft(SbMatrix m)
Pre-multiplies matrix by the given matrix.SbMatrix
SbMatrix. multRight(SbMatrix m)
Post-multiplies the matrix by the given matrix.SbMatrix
SbMatrix. setValue(float[] components)
SbMatrix
SbMatrix. setValue(float[] components, int startIndex)
SbMatrix
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)
SbMatrix
SbMatrix. times(SbMatrix m2)
Multiplies two matrices, returning a matrix result.static SbMatrix[]
SbMatrix. toArray(long nativeArray, long length)
SbMatrix
SbMatrix. transpose()
Returns transpose of matrix.Methods in com.openinventor.inventor with parameters of type SbMatrix Modifier and Type Method Description boolean
SbMatrix. equals(SbMatrix m, float tolerance)
Equality comparison within given tolerance, for each component.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
SbMatrix. multiply(SbMatrix m)
Post-multiplies the matrix by the given matrix (equivalent tomultRight()
method).SbMatrix
SbMatrix. multLeft(SbMatrix m)
Pre-multiplies matrix by the given matrix.SbMatrix
SbMatrix. multRight(SbMatrix m)
Post-multiplies the matrix by the given matrix.int
SbBox3f. outside(SbMatrix MVP)
Returns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.int
SbBox3i32. outside(SbMatrix MVP)
Returns true if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.int
SbBox3s. outside(SbMatrix MVP)
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
SbMatrix. setValue(SbMatrix copyFrom)
void
SbMatrixd. setValue(SbMatrix m)
Sets values from a single precision matrix.SbRotation
SbRotation. setValue(SbMatrix m)
Sets value of rotation from a rotation matrix.SbRotationd
SbRotationd. setValue(SbMatrix m)
Sets rotation from a single precision rotation matrix.SbMatrix
SbMatrix. times(SbMatrix m2)
Multiplies two matrices, returning a matrix result.void
SbBox3f. transform(SbMatrix m)
Transforms box by matrix, enlarging box to contain result.void
SbBox3i32. transform(SbMatrix m)
Transforms box by matrix, enlarging box to contain result.void
SbBox3s. transform(SbMatrix m)
Transforms box by matrix, enlarging box to contain result.void
SbPlane. transform(SbMatrix matrix)
Transforms the plane by the given matrix.void
SbXfBox3f. 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 SbMatrix
SoGetMatrixAction. getInverse()
Returns the inverse of the cumulative transformation matrix.SbMatrix
SoGetMatrixAction. getMatrix()
Returns cumulative transformation matrix.SbMatrix
SoCallbackAction. getModelMatrix()
Returns the current modeling transformation from the state.SbMatrix
SoCallbackAction. getProjectionMatrix()
Returns the current camera and viewing information from the state.SbMatrix
SoGetMatrixAction. getTextureInverse()
Returns the inverse of the cumulative texture transformation matrix.SbMatrix
SoCallbackAction. getTextureMatrix()
Returns the current texture mapping information from the state.SbMatrix
SoGetMatrixAction. getTextureMatrix()
Returns cumulative texture transformation matrix.SbMatrix
SoCallbackAction. 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 void
SoRayPickAction. 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 SbMatrix
SoDragger. getMotionMatrix()
Get the motion matrix.Methods in com.openinventor.inventor.draggers with parameters of type SbMatrix Modifier and Type Method Description void
SoDragger. 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 SbMatrix
SoLocalBBoxMatrixElement. get(SoState state)
Returns current matrix from the state.static SbMatrix
SoModelMatrixElement. get(SoState state)
Returns current model matrix from the state.static SbMatrix
SoProjectionMatrixElement. get(SoState state)
Returns current matrix from the state.static SbMatrix
SoTextureMatrixElement. get(SoState state)
Calls get(state, (int)0).static SbMatrix
SoTextureMatrixElement. get(SoState state, int unit)
Returns current matrix from the state.static SbMatrix
SoViewingMatrixElement. get(SoState state)
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
SoLightElement. getMatrix(SoState state, int index)
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 SbMatrix Modifier and Type Method Description static void
SoLightElement. add(SoState state, SoLight light, SbMatrix WCToVRCMatrix)
Add to the current light list and to the current matrix list.static void
SoLocalBBoxMatrixElement. mult(SoState state, SbMatrix matrix)
Multiplies the given matrix into the local matrix.static void
SoModelMatrixElement. mult(SoState state, SoNode node, SbMatrix matrix)
Multiplies the given matrix into the model matrix.static void
SoTextureMatrixElement. mult(SoState state, SoNode node, SbMatrix matrix)
Multiplies the given matrix into the texture matrix.static void
SoBBoxModelMatrixElement. popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)
See description for pushMatrix().static void
SoLocalBBoxMatrixElement. popMatrix(SoState state, SbMatrix m)
This method is used by the TransformSeparator node.static void
SoModelMatrixElement. popMatrix(SoState state, SbMatrix m)
This method is used by the TransformSeparator node.static void
SoLocalBBoxMatrixElement. set(SoState state, SbMatrix matrix)
Sets the local matrix to the given matrix.static void
SoModelMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)
Calls set(state, node, matrix, true).static void
SoModelMatrixElement. set(SoState state, SoNode node, SbMatrix matrix, boolean sendToGL)
Sets the model matrix to the given matrix.static void
SoProjectionMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)
Sets the projection matrix to the given matrix.static void
SoTextureMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)
Sets the texture transform matrix to the given matrix.static void
SoViewingMatrixElement. set(SoState state, SoNode node, SbMatrix matrix)
Calls set(state, node, matrix, true).static void
SoViewingMatrixElement. set(SoState state, SoNode node, SbMatrix matrix, boolean sendToGL)
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 SbMatrix Modifier and Type Method Description SbMatrix
SoSFMatrix. getValue()
Returns this field's value.SbMatrix
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 SbMatrix Modifier and Type Method Description int
SoMFMatrix. find(SbMatrix targetValue)
Calls find(targetValue, false).int
SoMFMatrix. find(SbMatrix targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFMatrix. set1Value(int index, SbMatrix newValue)
Sets the index'th value in the array to newValue.void
SoMFMatrix. setValue(SbMatrix newValue)
Sets the first value in the array to newValue, and deletes.void
SoSFMatrix. setValue(SbMatrix newValue)
Sets this field to newValue.void
SoMFMatrix. 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 SoShape
SbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SbMatrix localToCam)
Calls createFrom2DPoints(pointsInCam, localToCam, new com.openinventor.inventor.SbBox3f()).static SoShape
SbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin)
Calls createFrom2DPoints(pointsInCam, camToLocal, zMin, (float)1.0f).static SoShape
SbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SbMatrix camToLocal, float zMin, float zMax)
Create an extruded shape from points in camera space.static SoShape
SbExtrusionGenerator. 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 void
SoTransform. multLeft(SbMatrix mat)
Convenience function that combines the effects of a matrix transformation into the current transformation stored in this node.void
SoTransform. multRight(SbMatrix mat)
Convenience function that combines the effects of a matrix transformation into the current transformation stored in this node.void
SoTransform. 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 SbMatrix
SbProjector. getWorkingSpace()
Get the transform space to work in.Methods in com.openinventor.inventor.projectors with parameters of type SbMatrix Modifier and Type Method Description void
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 Modifier and Type Method Description static void
SoDataSetElement. 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.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 Modifier and Type Method Description SbMatrix
PbDomain. getMatrix()
Get the domain transform matrix in anSbMatrix
object. -
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 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 SbMatrix Modifier and Type Method Description SbMatrix
SoVRDicomData. getOrientation()
Returns the orientation of the DICOM volume.
-