Uses of Class
com.openinventor.inventor.SbVec3d
-
Packages that use SbVec3d Package Description 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.fields com.openinventor.meshvizxlm.extractors.cell Provides classes for cell extraction and utility classes for cells.com.openinventor.meshvizxlm.extractors.slice Provides classes for slices extraction.com.openinventor.meshvizxlm.meshextracted.cell Provides interfaces for defining cells of extracted meshes. -
-
Uses of SbVec3d in com.openinventor.inventor
Fields in com.openinventor.inventor declared as SbVec3d Modifier and Type Field Description SbVec3dSbRotationd.AxisAngle. axisSbVec3dSbMatrixd.Factorization. sSbVec3dSbMatrixd.Decomposition. scaleFactorSbVec3dSbMatrixd.Factorization. tSbVec3dSbMatrixd.Decomposition. translationMethods in com.openinventor.inventor that return SbVec3d Modifier and Type Method Description SbVec3dSbVec3d. cross(SbVec3d v)Returns right-handed cross product of vector and another vector.SbVec3dSbBox3d. getCenter()Returns the center of the box.SbVec3dSbXfBox3d. getCenter()Returns the center of the box.SbVec3dSbVec3d. getClosestAxis()Returns principal axis that is closest (based on maximum dot product) to this vector.SbVec3dSbBox3d. getClosestPoint(SbVec3d point)Returns the closest point on the box to the given point.SbVec3dSbLined. 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.SbVec3dSbLined. getDirection()Returns direction vector of line.SbVec3dSbBox3d. getMax()Returns the maximum point of the box.SbVec3dSbBox3d. 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.SbVec3dSbLined. getPosition()Returns position of line origin point.SbVec3dSbVec4d. getReal()Returns the real portion of the vector by dividing by the fourth value.SbVec3dSbVec3d. minus(SbVec3d v2)Component-wise binary vector subtraction operator.SbVec3dSbMatrixd. multDirMatrix(SbVec3d src)Pre-multiplies the matrix by the given row vector, giving vector result.SbVec3dSbMatrixd. multMatrixVec(SbVec3d src)Post-multiplies matrix by given column vector, giving a 3D vector result.SbVec3dSbRotationd. multVec(SbVec3d src)Multiplies the given vector by the matrix of this rotation.SbVec3dSbMatrixd. multVecMatrix(SbVec3d src)Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbVec3dSbVec3d. over(double d)Component-wise binary scalar division operator.SbVec3dSbVec3d. plus(SbVec3d v2)Component-wise binary vector addition operator.SbVec3dSbVec3d. setValue(double[] components)SbVec3dSbVec3d. setValue(double[] components, int startIndex)SbVec3dSbVec3d. setValue(double c0, double c1, double c2)SbVec3dSbVec3d. setValue(SbVec3d barycentic, SbVec3d v0, SbVec3d v1, SbVec3d v2)Sets value of vector as the weighted average of 3 other vectors.SbVec3dSbVec3d. setValue(SbVec3f vec3f)Sets value of vector from a single precision vector.SbVec3dSbVec3d. times(double d)Component-wise binary scalar multiplication operator.SbVec3dSbVec3d. times(SbVec3d v)Component-wise vector multiplication operator.static SbVec3d[]SbVec3d. toArray(long nativeArray, long length)Methods in com.openinventor.inventor with parameters of type SbVec3d Modifier and Type Method Description voidSbVec3d. add(SbVec3d v)Component-wise vector addition operator.SbVec3dSbVec3d. cross(SbVec3d v)Returns right-handed cross product of vector and another vector.SbMatrixd.DecompositionSbMatrixd. decompose(SbVec3d center)Decomposes the matrix into a translation, rotation, scale, and scale orientation.doubleSbVec3d. dot(SbVec3d v)Returns dot (inner) product of vector and another vector.booleanSbVec3d. equals(SbVec3d v, double tolerance)Equality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.voidSbBox3d. extendBy(SbVec3d pt)Extends this box (if necessary) to contain the specified point.voidSbXfBox3d. extendBy(SbVec3d pt)Extends the box (if necessary) to contain the given 3D point.SbVec3dSbBox3d. getClosestPoint(SbVec3d point)Returns the closest point on the box to the given point.SbVec3dSbLined. getClosestPoint(SbVec3d point)Returns the closest point on the line to the given point.double[]SbBox3d. getSpan(SbVec3d direction)Finds the span of a box along a specified direction.double[]SbXfBox3d. getSpan(SbVec3d direction)Finds the extent of the box along a particular direction.booleanSbBox3d. intersect(SbVec3d pt)Returns true if the specified point intersects this box.booleanSbXfBox3d. intersect(SbVec3d pt)Returns true if intersection of given point and this box is not empty.SbVec3dSbVec3d. minus(SbVec3d v2)Component-wise binary vector subtraction operator.SbVec3dSbMatrixd. multDirMatrix(SbVec3d src)Pre-multiplies the matrix by the given row vector, giving vector result.voidSbVec3d. multiply(SbVec3d v)Component-wise vector multiplication operator.SbVec3dSbMatrixd. multMatrixVec(SbVec3d src)Post-multiplies matrix by given column vector, giving a 3D vector result.SbVec3dSbRotationd. multVec(SbVec3d src)Multiplies the given vector by the matrix of this rotation.SbVec3dSbMatrixd. multVecMatrix(SbVec3d src)Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbVec3dSbVec3d. plus(SbVec3d v2)Component-wise binary vector addition operator.voidSbMatrixd. scale(SbVec3d scaleFactor)Scales this matrice by the given vector.voidSbBox3d. setBounds(SbVec3d _min, SbVec3d _max)Sets the corners of the box.voidSbXfBox3d. setBounds(SbVec3d _min, SbVec3d _max)Sets the bounds of the box.voidSbLined. setPosDir(SbVec3d position, SbVec3d direction)Sets line using a position and a direction vector.voidSbMatrixd. setScale(SbVec3d s)Sets 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.voidSbLined. setValue(SbVec3d p0, SbVec3d p1)Sets line to pass through points p0 and p1.SbRotationdSbRotationd. setValue(SbVec3d axis, double radians)Sets value of vector from 3D rotation axis vector and angle in radians.SbRotationdSbRotationd. setValue(SbVec3d rotateFrom, SbVec3d rotateTo)Sets rotation to rotate one direction vector to another.voidSbVec3d. setValue(SbVec3d copyFrom)SbVec3dSbVec3d. setValue(SbVec3d barycentic, SbVec3d v0, SbVec3d v1, SbVec3d v2)Sets value of vector as the weighted average of 3 other vectors.SbVec3fSbVec3f. setValue(SbVec3d vec3d)Sets value of vector from a double precision vector.voidSbVec3d. substract(SbVec3d v)Component-wise vector subtraction operator.SbVec3dSbVec3d. times(SbVec3d v)Component-wise vector multiplication operator.voidSbMatrixd. translate(SbVec3d translation)Translates this matrice by the given vector.Constructors in com.openinventor.inventor with parameters of type SbVec3d Constructor Description SbBox3d(SbVec3d _min, SbVec3d _max)Constructor for a 3D double box.SbLined(SbVec3d p0, SbVec3d p1)Constructor.SbRotationd(SbVec3d axis, double radians)Constructor.SbRotationd(SbVec3d rotateFrom, SbVec3d rotateTo)Constructor.SbVec3d(SbVec3d copyFrom)SbXfBox3d(SbVec3d _min, SbVec3d _max)Constructor. -
Uses of SbVec3d in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions with parameters of type SbVec3d Modifier and Type Method Description voidSoGetBoundingBoxAction. setCenter(SbVec3d center, boolean transformCenter) -
Uses of SbVec3d in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbVec3d Modifier and Type Method Description SbVec3dSoSFVec3d. getValue()Returns this field's value.SbVec3dSoMFVec3d. 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 SbVec3d Modifier and Type Method Description intSoMFVec3d. find(SbVec3d targetValue)Calls find(targetValue, false).intSoMFVec3d. find(SbVec3d targetValue, boolean addIfNotFound)Finds the given targetValue in the array and returns the index of that value.voidSoMFVec3d. set1Value(int index, SbVec3d newValue)Sets the index'th value in the array to newValue.voidSoMFVec3f. set1Value(int index, SbVec3d vec3d)Sets one value from double precision vector.voidSoMFVec3i32. set1Value(int index, SbVec3d vec3d)Sets one value from double precision vector.voidSoMFVec3d. setValue(SbVec3d newValue)Sets the first value in the array to newValue, and deletes.voidSoMFVec3f. setValue(SbVec3d vec3d)Sets to one value from double precision vector.voidSoMFVec3i32. setValue(SbVec3d vec3d)Sets to one value from double precision vector.voidSoSFVec3d. setValue(SbVec3d newValue)Sets this field to newValue.voidSoSFVec3f. setValue(SbVec3d vec3d)Convenience method that allows you to specify a field value using a double precision variable.voidSoSFVec3i32. setValue(SbVec3d vec3d)Convenience method that allows you to specify a field value using a double precision variable.voidSoMFVec3d. setValues(int start, SbVec3d[] newValues)Sets num values starting at index start to the values.voidSoMFVec3f. setValues(int start, int num, SbVec3d[] vec3d)Deprecated.As of Open Inventor 9.3.1, useSoMFVec3f.setValues(int, com.openinventor.inventor.SbVec3d[])instead.voidSoMFVec3f. setValues(int start, SbVec3d[] vec3d)Sets values from array of double precision vectors.voidSoMFVec3i32. setValues(int start, int num, SbVec3d[] vec3d)Deprecated.As of Open Inventor 9.3.1, useSoMFVec3i32.setValues(int, com.openinventor.inventor.SbVec3d[])instead.voidSoMFVec3i32. setValues(int start, SbVec3d[] vec3d)Sets values from array of double precision vectors.Constructors in com.openinventor.inventor.fields with parameters of type SbVec3d Constructor Description SoSFVec3d(SoFieldContainer fieldContainer, java.lang.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 SbVec3d Modifier and Type Method Description static 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 SbVec3d Modifier and Type Method Description abstract MeXSurfaceMeshCurvilinear<MeXTopologyIj,MeXGeometryIj>MiGridPlaneSliceExtractUnstructured. 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.abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>,MeXGeometryI>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 SbVec3d Modifier and Type Method Description SbVec3dMeXSurfaceCell. getNormal(MiGeometryI meshGeometry)Gets the unit normal vector to the surface's plane.
-