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 SbVec3d
SbRotationd.AxisAngle. axis
SbVec3d
SbMatrixd.Factorization. s
SbVec3d
SbMatrixd.Decomposition. scaleFactor
SbVec3d
SbMatrixd.Factorization. t
SbVec3d
SbMatrixd.Decomposition. translation
Methods in com.openinventor.inventor that return SbVec3d Modifier and Type Method Description SbVec3d
SbVec3d. cross(SbVec3d v)
Returns right-handed cross product of vector and another vector.SbVec3d
SbBox3d. getCenter()
Returns the center of the box.SbVec3d
SbXfBox3d. getCenter()
Returns the center of the box.SbVec3d
SbVec3d. getClosestAxis()
Returns principal axis that is closest (based on maximum dot product) to this vector.SbVec3d
SbBox3d. getClosestPoint(SbVec3d point)
Returns the closest point on the box to the given point.SbVec3d
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.SbVec3d
SbLined. getDirection()
Returns direction vector of line.SbVec3d
SbBox3d. getMax()
Returns the maximum point of the box.SbVec3d
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.SbVec3d
SbLined. getPosition()
Returns position of line origin point.SbVec3d
SbVec4d. getReal()
Returns the real portion of the vector by dividing by the fourth value.SbVec3d
SbVec3d. minus(SbVec3d v2)
Component-wise binary vector subtraction operator.SbVec3d
SbMatrixd. multDirMatrix(SbVec3d src)
Pre-multiplies the matrix by the given row vector, giving vector result.SbVec3d
SbMatrixd. multMatrixVec(SbVec3d src)
Post-multiplies matrix by given column vector, giving a 3D vector result.SbVec3d
SbRotationd. multVec(SbVec3d src)
Multiplies the given vector by the matrix of this rotation.SbVec3d
SbMatrixd. multVecMatrix(SbVec3d src)
Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbVec3d
SbVec3d. over(double d)
Component-wise binary scalar division operator.SbVec3d
SbVec3d. plus(SbVec3d v2)
Component-wise binary vector addition operator.SbVec3d
SbVec3d. setValue(double[] components)
SbVec3d
SbVec3d. setValue(double[] components, int startIndex)
SbVec3d
SbVec3d. setValue(double c0, double c1, double c2)
SbVec3d
SbVec3d. setValue(SbVec3d barycentic, SbVec3d v0, SbVec3d v1, SbVec3d v2)
Sets value of vector as the weighted average of 3 other vectors.SbVec3d
SbVec3d. setValue(SbVec3f vec3f)
Sets value of vector from a single precision vector.SbVec3d
SbVec3d. times(double d)
Component-wise binary scalar multiplication operator.SbVec3d
SbVec3d. 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 void
SbVec3d. add(SbVec3d v)
Component-wise vector addition operator.SbVec3d
SbVec3d. cross(SbVec3d v)
Returns right-handed cross product of vector and another vector.SbMatrixd.Decomposition
SbMatrixd. decompose(SbVec3d center)
Decomposes the matrix into a translation, rotation, scale, and scale orientation.double
SbVec3d. dot(SbVec3d v)
Returns dot (inner) product of vector and another vector.boolean
SbVec3d. equals(SbVec3d v, double tolerance)
Equality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.void
SbBox3d. extendBy(SbVec3d pt)
Extends this box (if necessary) to contain the specified point.void
SbXfBox3d. extendBy(SbVec3d pt)
Extends the box (if necessary) to contain the given 3D point.SbVec3d
SbBox3d. getClosestPoint(SbVec3d point)
Returns the closest point on the box to the given point.SbVec3d
SbLined. 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.boolean
SbBox3d. intersect(SbVec3d pt)
Returns true if the specified point intersects this box.boolean
SbXfBox3d. intersect(SbVec3d pt)
Returns true if intersection of given point and this box is not empty.SbVec3d
SbVec3d. minus(SbVec3d v2)
Component-wise binary vector subtraction operator.SbVec3d
SbMatrixd. multDirMatrix(SbVec3d src)
Pre-multiplies the matrix by the given row vector, giving vector result.void
SbVec3d. multiply(SbVec3d v)
Component-wise vector multiplication operator.SbVec3d
SbMatrixd. multMatrixVec(SbVec3d src)
Post-multiplies matrix by given column vector, giving a 3D vector result.SbVec3d
SbRotationd. multVec(SbVec3d src)
Multiplies the given vector by the matrix of this rotation.SbVec3d
SbMatrixd. multVecMatrix(SbVec3d src)
Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbVec3d
SbVec3d. plus(SbVec3d v2)
Component-wise binary vector addition operator.void
SbMatrixd. scale(SbVec3d scaleFactor)
Scales this matrice by the given vector.void
SbBox3d. setBounds(SbVec3d _min, SbVec3d _max)
Sets the corners of the box.void
SbXfBox3d. setBounds(SbVec3d _min, SbVec3d _max)
Sets the bounds of the box.void
SbLined. setPosDir(SbVec3d position, SbVec3d direction)
Sets line using a position and a direction vector.void
SbMatrixd. setScale(SbVec3d s)
Sets matrix to scale by given vector.void
SbMatrixd. setTransform(SbVec3d t, SbRotationd r, SbVec3d s)
Composes the matrix based on a translation, rotation, and scale.void
SbMatrixd. setTransform(SbVec3d t, SbRotationd r, SbVec3d s, SbRotationd so)
Composes the matrix based on a translation, rotation, scale, and orientation for scale.void
SbMatrixd. 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.void
SbMatrixd. setTranslate(SbVec3d t)
Sets matrix to translate by given vector.void
SbLined. setValue(SbVec3d p0, SbVec3d p1)
Sets line to pass through points p0 and p1.SbRotationd
SbRotationd. setValue(SbVec3d axis, double radians)
Sets value of vector from 3D rotation axis vector and angle in radians.SbRotationd
SbRotationd. setValue(SbVec3d rotateFrom, SbVec3d rotateTo)
Sets rotation to rotate one direction vector to another.void
SbVec3d. setValue(SbVec3d copyFrom)
SbVec3d
SbVec3d. setValue(SbVec3d barycentic, SbVec3d v0, SbVec3d v1, SbVec3d v2)
Sets value of vector as the weighted average of 3 other vectors.SbVec3f
SbVec3f. setValue(SbVec3d vec3d)
Sets value of vector from a double precision vector.void
SbVec3d. substract(SbVec3d v)
Component-wise vector subtraction operator.SbVec3d
SbVec3d. times(SbVec3d v)
Component-wise vector multiplication operator.void
SbMatrixd. 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 void
SoGetBoundingBoxAction. 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 SbVec3d
SoSFVec3d. getValue()
Returns this field's value.SbVec3d
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 SbVec3d Modifier and Type Method Description int
SoMFVec3d. find(SbVec3d targetValue)
Calls find(targetValue, false).int
SoMFVec3d. find(SbVec3d targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFVec3d. set1Value(int index, SbVec3d newValue)
Sets the index'th value in the array to newValue.void
SoMFVec3f. set1Value(int index, SbVec3d vec3d)
Sets one value from double precision vector.void
SoMFVec3i32. set1Value(int index, SbVec3d vec3d)
Sets one value from double precision vector.void
SoMFVec3d. setValue(SbVec3d newValue)
Sets the first value in the array to newValue, and deletes.void
SoMFVec3f. setValue(SbVec3d vec3d)
Sets to one value from double precision vector.void
SoMFVec3i32. setValue(SbVec3d vec3d)
Sets to one value from double precision vector.void
SoSFVec3d. setValue(SbVec3d newValue)
Sets this field to newValue.void
SoSFVec3f. setValue(SbVec3d vec3d)
Convenience method that allows you to specify a field value using a double precision variable.void
SoSFVec3i32. setValue(SbVec3d vec3d)
Convenience method that allows you to specify a field value using a double precision variable.void
SoMFVec3d. setValues(int start, SbVec3d[] newValues)
Sets num values starting at index start to the values.void
SoMFVec3f. setValues(int start, int num, SbVec3d[] vec3d)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec3f.setValues(int, com.openinventor.inventor.SbVec3d[])
instead.void
SoMFVec3f. setValues(int start, SbVec3d[] vec3d)
Sets values from array of double precision vectors.void
SoMFVec3i32. setValues(int start, int num, SbVec3d[] vec3d)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec3i32.setValues(int, com.openinventor.inventor.SbVec3d[])
instead.void
SoMFVec3i32. 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 SbVec3d
MxPolygonCellExtract. 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 SbVec3d
MeXSurfaceCell. getNormal(MiGeometryI meshGeometry)
Gets the unit normal vector to the surface's plane.
-