Uses of Class
com.openinventor.inventor.SbVec3d
Packages that use SbVec3d
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
Provides classes for cell extraction and utility classes for cells.
Provides classes for slices extraction.
Provides interfaces for defining cells of extracted meshes.
-
Uses of SbVec3d in com.openinventor.inventor
Fields in com.openinventor.inventor declared as SbVec3dModifier and TypeFieldDescriptionSbRotationd.AxisAngle.axisSbMatrixd.Factorization.sSbMatrixd.Decomposition.scaleFactorSbMatrixd.Factorization.tSbMatrixd.Decomposition.translationMethods in com.openinventor.inventor that return SbVec3dModifier and TypeMethodDescriptionReturns right-handed cross product of vector and another vector.SbBox3d.getCenter()Returns the center of the box.SbXfBox3d.getCenter()Returns the center of the box.SbVec3d.getClosestAxis()Returns principal axis that is closest (based on maximum dot product) to this vector.SbBox3d.getClosestPoint(SbVec3d point) Returns the closest point on the box to the given point.SbLined.getClosestPoint(SbVec3d point) Returns the closest point on the line to the given point.SbVec3d[]SbLined.getClosestPoints(SbLined line2) Finds the two closest points between this line and line2, and loads them into ptOnThis and ptOnLine2.SbLined.getDirection()Returns direction vector of line.SbBox3d.getMax()Returns the maximum point of the box.SbBox3d.getMin()Returns the minimum point of the box.SbVec3d[]SbBox3d.getMinMax()Gets the corners of the box.SbVec3d[]SbXfBox3d.getMinMax()Gets the bounds of the box.SbLined.getPosition()Returns position of line origin point.SbVec4d.getReal()Returns the real portion of the vector by dividing by the fourth value.Component-wise binary vector subtraction operator.SbMatrixd.multDirMatrix(SbVec3d src) Pre-multiplies the matrix by the given row vector, giving vector result.SbMatrixd.multMatrixVec(SbVec3d src) Post-multiplies matrix by given column vector, giving a 3D vector result.Multiplies the given vector by the matrix of this rotation.SbMatrixd.multVecMatrix(SbVec3d src) Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbVec3d.over(double d) Component-wise binary scalar division operator.Component-wise binary vector addition operator.SbVec3d.setValue(double[] components) SbVec3d.setValue(double[] components, int startIndex) SbVec3d.setValue(double c0, double c1, double c2) Sets value of vector as the weighted average of 3 other vectors.Sets value of vector from a single precision vector.SbVec3d.times(double d) Component-wise binary scalar multiplication operator.Component-wise vector multiplication operator.static SbVec3d[]SbVec3d.toArray(long nativeArray, long length) Methods in com.openinventor.inventor with parameters of type SbVec3dModifier and TypeMethodDescriptionvoidComponent-wise vector addition operator.Returns right-handed cross product of vector and another vector.Decomposes the matrix into a translation, rotation, scale, and scale orientation.doubleReturns dot (inner) product of vector and another vector.booleanEquality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.voidExtends this box (if necessary) to contain the specified point.voidExtends the box (if necessary) to contain the given 3D point.SbBox3d.getClosestPoint(SbVec3d point) Returns the closest point on the box to the given point.SbLined.getClosestPoint(SbVec3d point) Returns the closest point on the line to the given point.double[]Finds the span of a box along a specified direction.double[]Finds the extent of the box along a particular direction.booleanReturns true if the specified point intersects this box.booleanReturns true if intersection of given point and this box is not empty.Component-wise binary vector subtraction operator.SbMatrixd.multDirMatrix(SbVec3d src) Pre-multiplies the matrix by the given row vector, giving vector result.voidComponent-wise vector multiplication operator.SbMatrixd.multMatrixVec(SbVec3d src) Post-multiplies matrix by given column vector, giving a 3D vector result.Multiplies the given vector by the matrix of this rotation.SbMatrixd.multVec4Matrix(SbVec3d src) Pre-multiplies matrix by the given row vector, giving vector result in homogeneous coordinates.SbMatrixd.multVecMatrix(SbVec3d src) Pre-multiplies matrix by the given row vector, giving a 3D vector result.Component-wise binary vector addition operator.voidScales this matrice by the given vector.voidSets the corners of the box.voidSets the bounds of the box.voidSets line using a position and a direction vector.voidSets matrix to scale by given vector.voidSbMatrixd.setTransform(SbVec3d t, SbRotationd r, SbVec3d s) Composes the matrix based on a translation, rotation, and scale.voidSbMatrixd.setTransform(SbVec3d t, SbRotationd r, SbVec3d s, SbRotationd so) Composes the matrix based on a translation, rotation, scale, and orientation for scale.voidSbMatrixd.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.voidSbMatrixd.setTranslate(SbVec3d t) Sets matrix to translate by given vector.voidSets line to pass through points p0 and p1.Sets value of vector from 3D rotation axis vector and angle in radians.Sets rotation to rotate one direction vector to another.voidSets value of vector as the weighted average of 3 other vectors.Sets value of vector from a double precision vector.voidComponent-wise vector subtraction operator.Component-wise vector multiplication operator.voidTranslates this matrice by the given vector.Constructors in com.openinventor.inventor with parameters of type SbVec3dModifierConstructorDescriptionConstructor for a 3D double box.Constructor.SbRotationd(SbVec3d axis, double radians) Constructor.SbRotationd(SbVec3d rotateFrom, SbVec3d rotateTo) Constructor.Constructor. -
Uses of SbVec3d in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions with parameters of type SbVec3d -
Uses of SbVec3d in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbVec3dModifier and TypeMethodDescriptionSoSFVec3d.getValue()Returns this field's value.SoMFVec3d.getValueAt(int i) SbVec3d[]SoMFVec3d.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 SbVec3dModifier 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 one value from double precision vector.voidSets one value from double precision vector.voidSets the first value in the array to newValue, and deletes.voidSets to one value from double precision vector.voidSets to one value from double precision vector.voidSets this field to newValue.voidConvenience method that allows you to specify a field value using a double precision variable.voidConvenience method that allows you to specify a field value using a double precision variable.voidSets num values starting at index start to the values.voidDeprecated.voidSets values from array of double precision vectors.voidDeprecated.As of Open Inventor 9.3.1, useSoMFVec3i32.setValues(int, com.openinventor.inventor.SbVec3d[])instead.voidSets values from array of double precision vectors.Constructors in com.openinventor.inventor.fields with parameters of type SbVec3dModifierConstructorDescriptionSoSFVec3d(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SbVec3d defaultValue) Default constructor. -
Uses of SbVec3d in com.openinventor.meshvizxlm.extractors.cell
Methods in com.openinventor.meshvizxlm.extractors.cell that return SbVec3dModifier and TypeMethodDescriptionstatic SbVec3dMxPolygonCellExtract.getNormal(MiGeometryI meshGeometry, MiSurfaceCell polygonCell) Computes the average normal to the given planar or almost-planar polygon cell. -
Uses of SbVec3d in com.openinventor.meshvizxlm.extractors.slice
Methods in com.openinventor.meshvizxlm.extractors.slice with parameters of type SbVec3dModifier and TypeMethodDescriptionMiGridPlaneSliceExtractUnstructured.extractGrid(SbVec3d normal, double distance, double step, MiCellFilterI filter) Builds the topology and geometry of a curvilinear surface mesh defined by the given plane normal and distance to origin.MiPlaneSliceExtractUnstructured.extractLineSlice(SbVec3d normal, double distance, MiCellFilterI filter) Builds the topology and geometry of a line plane slice intersecting the volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> MiCylinderSliceExtractIjk.extractSlice(SbVec3d center, double radius, SbVec3d direction, MiCellFilterIjk filter) Builds the topology and geometry of a cylinder slice intersecting the volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> MiCylinderSliceExtractUnstructured.extractSlice(SbVec3d center, double radius, SbVec3d direction, MiCellFilterI filter) Builds the topology and geometry of a cylinder slice intersecting the volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> MiPlaneSliceExtractIjk.extractSlice(SbVec3d normal, double distance, MiCellFilterIjk filter) Builds the topology and geometry of a plane slice intersecting the volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> MiPlaneSliceExtractUnstructured.extractSlice(SbVec3d normal, double distance, MiCellFilterI filter) Builds the topology and geometry of a plane slice intersecting the volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> MiSphereSliceExtractIjk.extractSlice(SbVec3d center, double radius, MiCellFilterIjk filter) Builds the topology and geometry of a sphere slice intersecting the volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> MiSphereSliceExtractUnstructured.extractSlice(SbVec3d center, double radius, MiCellFilterI filter) Builds the topology and geometry of a sphere slice intersecting the volume mesh. -
Uses of SbVec3d in com.openinventor.meshvizxlm.meshextracted.cell
Methods in com.openinventor.meshvizxlm.meshextracted.cell that return SbVec3dModifier and TypeMethodDescriptionMeXSurfaceCell.getNormal(MiGeometryI meshGeometry) Gets the unit normal vector to the surface's plane.
SoMFVec3f.setValues(int, com.openinventor.inventor.SbVec3d[])instead.