Uses of Class
com.openinventor.inventor.SbVec3f
Packages that use SbVec3f
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
Collision Detection.
The element classes are used internally for storing information in Open Inventor's traversal state list.
Large Model Visualization.
Viewer components contains helpful tools to implement a custom viewer.
Viewer components nodes independent from graphical user interface.
Large Data Management.
Provides some nodes and helper classes specifically created to facilitate
implementation of medical applications.
Provides some nodes and helper classes specifically created to facilitate
implementation of medical applications.
Provides classes for detail information storage.
-
Uses of SbVec3f in com.openinventor.inventor
Subclasses of SbVec3f in com.openinventor.inventorFields in com.openinventor.inventor declared as SbVec3fModifier and TypeFieldDescriptionSbRotation.AxisAngle.axisSbMatrix.Factorization.sSbMatrix.Decomposition.scaleFactorSbMatrix.Factorization.tSbMatrix.Decomposition.translationMethods in com.openinventor.inventor that return SbVec3fModifier and TypeMethodDescriptionReturns right-handed cross product of vector and another vector.SbBox3f.getCenter()Returns the center of the box.SbBox3i32.getCenter()Returns the center of the box.SbBox3s.getCenter()Returns the center of the box.SbSphere.getCenter()Return the center.SbXfBox3f.getCenter()Returns the center of the box.SbVec3f.getClosestAxis()Returns principal axis that is closest (based on maximum dot product) to this vector.SbBox3f.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.SbBox3i32.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.SbBox3s.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.SbLine.getClosestPoint(SbVec3f point) Returns the closest point on the line to the given point.SbXfBox3f.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.SbVec3f[]SbLine.getClosestPoints(SbLine line2) Finds the two closest points between this line and line2, and loads them into ptOnThis and ptOnLine2.SbLine.getDirection()Returns direction vector of line.SbBox3f.getMax()Returns the maximum point of the box.SbBox3f.getMin()Returns the minimum point of the box.SbVec3f[]SbBox3f.getMinMax()Gets the corners of the box.SbVec3f[]SbXfBox3f.getMinMax()Gets the bounds of the box.SbPlane.getNormal()Returns normal vector to plane.SoPickedPoint.getNormal()Returns the surface normal in world space.SoPrimitiveVertex.getNormal()Returns the normal in object space.SoPickedPoint.getObjectNormal()Calls getObjectNormal((com.openinventor.inventor.nodes.SoNode)null).SoPickedPoint.getObjectNormal(SoNode node) Returns the surface normal in the object space corresponding to the given node in the path.SoPickedPoint.getObjectPoint()Calls getObjectPoint((com.openinventor.inventor.nodes.SoNode)null).SoPickedPoint.getObjectPoint(SoNode node) Returns the intersection point in the object space corresponding to the given node in the path.SbViewVolume.getPlanePoint(float distFromEye, SbVec2f normPoint) Maps a 2D point in normalized screen coordinates (0 <= x,y <= 1) to a 3D world coordinates point on the plane parallel to the near plane that is at distFromEye units from the eye.SoPickedPoint.getPoint()Returns the intersection point in world space.SoPrimitiveVertex.getPoint()Returns the surface point in object space.SbLine.getPosition()Returns position of line origin point.SbViewVolume.getProjectionDirection()Returns projection direction.SbViewVolume.getProjectionPoint()Returns projection point.SbVec4f.getReal()Returns the real portion of the vector by dividing by the fourth value.SbViewVolume.getSightPoint(float distFromEye) Returns the point along the line of sight at the given distance from the projection point (eye).SbBox3f.getSize()Gets box size.SbVec3f[]Intersect line and cylinder, returning true if there is an intersection.Intersect line and plane, returning true if there is an intersection, false if line is parallel to plane.SbVec3f[]Intersect line and sphere, returning true if there is an intersection.SbCylinder.intersectFirst(SbLine l) Intersect line and cylinder, returning true if there is an intersection.SbSphere.intersectFirst(SbLine l) Intersect line and sphere, returning true if there is an intersection.Component-wise binary vector subtraction operator.SbMatrix.multDirMatrix(SbVec3f src) Pre-multiplies the matrix by the given row vector, giving vector result.SbMatrix.multMatrixVec(SbVec3f src) Post-multiplies matrix by the given column vector, giving a 3D vector result.SbMatrix3.multMatrixVec(SbVec3f src) Post-multiplies matrix by the given column vector, giving a 3D vector result.Multiplies the given vector by the matrix of this rotation.SbMatrix.multVecMatrix(SbVec3f src) Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbMatrix3.multVecMatrix(SbVec3f src) Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbVec3f.over(float d) Component-wise binary scalar division operator.Component-wise binary vector addition operator.SbViewVolume.projectFromScreen(SbVec3f src) Maps a 3D point in normalized screen coordinates (0 <= x,y,z <= 1) to a 3D world point.SbViewVolume.projectToScreen(SbVec3f src) Maps a 3D point in world coordinates to a 2D point in normalized screen coordinates (0 <= x,y,z <= 1).SbVec3f.setValue(float[] components) SbVec3f.setValue(float[] components, int startIndex) SbVec3f.setValue(float c0, float c1, float c2) Sets value of vector from a double precision vector.Sets value of vector as the weighted average of 3 other vectors.Multiplies matrices by vector, returning a matrix result.SbVec3f.times(float d) Component-wise binary scalar multiplication operator.Component-wise vector multiplication operator.static SbVec3f[]SbVec3f.toArray(long nativeArray, long length) SbViewVolume.zVector()Returns the positive z axis in eye space.Methods in com.openinventor.inventor with parameters of type SbVec3fModifier and TypeMethodDescriptionvoidComponent-wise vector addition operator.floatSbBox3f.computeMaxDistance2(SbVec3f p) Returns the squared maximum distance between a point and the 8 bounding box's vertices.floatSbXfBox3f.computeMaxDistance2(SbVec3f p) Returns the squared maximum distance between a point and the 8 bounding box's vertices.Returns right-handed cross product of vector and another vector.Decomposes the matrix into a translation, rotation, scale, and scale orientation.floatReturns 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 this box (if necessary) to contain the specified point.voidExtends this box (if necessary) to contain the specified point.voidExtends the box (if necessary) to contain the given 3D point.SbBox3f.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.SbBox3i32.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.SbBox3s.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.SbLine.getClosestPoint(SbVec3f point) Returns the closest point on the line to the given point.SbXfBox3f.getClosestPoint(SbVec3f point) Returns the closest point on the box to the given point.floatSbPlane.getDistance(SbVec3f point) Returns the distance from a point to plane.float[]Finds the span of a box along a specified direction.float[]Finds the span of a box along a specified direction.float[]Finds the span of a box along a specified direction.float[]Finds the extent of the box along a particular direction.floatSbViewVolume.getWorldToScreenScale(SbVec3f worldCenter, float normRadius) Returns a scale factor that would scale a unit sphere centered at worldCenter so that it would appear to have the given radius in normalized screen coordinates when projected onto the near plane.booleanReturns true if the specified point intersects this box.booleanReturns true if the specified point intersects this box.booleanReturns true if the specified point intersects this box.booleanReturns true if intersection of given point and this box is not empty.booleanSbPlane.isInHalfSpace(SbVec3f point) Returns true if the given point is within the half-space defined by the plane.Component-wise binary vector subtraction operator.SbMatrix.multDirMatrix(SbVec3f src) Pre-multiplies the matrix by the given row vector, giving vector result.voidComponent-wise vector multiplication operator.SbMatrix.multMatrixVec(SbVec3f src) Post-multiplies matrix by the given column vector, giving a 3D vector result.SbMatrix3.multMatrixVec(SbVec3f src) Post-multiplies matrix by the given column vector, giving a 3D vector result.SbMatrix.multMatrixVec4(SbVec3f src) Posts-multiplies matrix by the given column vector, giving vector result in homogeneous coordinates.Multiplies the given vector by the matrix of this rotation.SbMatrix.multVec4Matrix(SbVec3f src) Pre-multiplies matrix by the given row vector, giving vector result in homogeneous coordinates.SbMatrix.multVecMatrix(SbVec3f src) Pre-multiplies matrix by the given row vector, giving a 3D vector result.SbMatrix3.multVecMatrix(SbVec3f src) Pre-multiplies matrix by the given row vector, giving a 3D vector result.Component-wise binary vector addition operator.SbViewVolume.projectFromScreen(SbVec3f src) Maps a 3D point in normalized screen coordinates (0 <= x,y,z <= 1) to a 3D world point.SbViewVolume.projectToScreen(SbVec3f src) Maps a 3D point in world coordinates to a 2D point in normalized screen coordinates (0 <= x,y,z <= 1).voidScales this matrice by the given vector.voidSets the corners of the box.voidSets the bounds of the box.voidSet the center.voidSoPickedPoint.setObjectNormal(SbVec3f normal) voidSets line using a position and a direction vector.voidSets matrix to scale by given vector.voidSets matrix to scale by given vector.voidSbMatrix.setTransform(SbVec3f t, SbRotation r, SbVec3f s) Composes the matrix based on a translation, rotation, and scale.voidSbMatrix.setTransform(SbVec3f t, SbRotation r, SbVec3f s, SbRotation so) Composes the matrix based on a translation, rotation, scale, and orientation for scale.voidSbMatrix.setTransform(SbVec3f translation, SbRotation rotation, SbVec3f scaleFactor, SbRotation scaleOrientation, SbVec3f center) Composes the matrix based on a translation, rotation, scale, orientation for scale, and center.voidSbMatrix.setTranslate(SbVec3f 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.voidChange the center and radius.Sets value of vector from a single precision vector.voidSets value of vector as the weighted average of 3 other vectors.voidComponent-wise vector subtraction operator.Multiplies matrices by vector, returning a matrix result.Component-wise vector multiplication operator.voidTranslates this matrice by the given vector.voidSbViewVolume.translateCamera(SbVec3f v) Translate the camera viewpoint.booleanSbBox3f.triangleBoxOverlap(SbVec3f u0, SbVec3f u1, SbVec3f u2) Return true if the given triangle intersects the bounding box.Constructors in com.openinventor.inventor with parameters of type SbVec3fModifierConstructorDescriptionConstructor for a 3D float box.Constructor that takes a vector value.Constructor.Constructor.Constructor.Constructor.SbRotation(SbVec3f axis, float radians) Constructor.SbRotation(SbVec3f rotateFrom, SbVec3f rotateTo) Constructor.Constructor that takes a center and a radius.Constructor. -
Uses of SbVec3f in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbVec3fModifier and TypeMethodDescriptionSoGetBoundingBoxAction.getCenter()Returns computed center point in world space.SoCallbackAction.getCoordinate3(int index) Returns the current coordinates from the state.SoCallbackAction.getLightAttenuation()Returns the current lighting model information from the state.SoCallbackAction.getNormal(int index) Returns the current normal information from the state.SoCallbackAction.getProfileCoordinate3(int index) Returns the current profiles and their coordinates from the state.Methods in com.openinventor.inventor.actions with parameters of type SbVec3fModifier and TypeMethodDescriptionSoRayPickAction.addIntersection(SbVec3f objectSpacePoint) Adds anSoPickedPointinstance representing the given object space point to the current list and returns it.booleanbooleanSoRayPickAction.isBetweenPlanes(SbVec3f intersection) voidvoidCalls setRay(fovy, start, direction, (float)-1.0, (float)-1.0).voidCalls setRay(fovy, start, direction, nearDistance, (float)-1.0).voidSoRayPickAction.setRay(float fovy, SbVec3f start, SbVec3f direction, float nearDistance, float farDistance) Sets a world-space ray along which to pick in the the same way as the other version ofsetRay(), but allows you to set a view angle value.voidCalls setRay(start, direction, (float)-1.0, (float)-1.0).voidCalls setRay(start, direction, nearDistance, (float)-1.0).voidSets a world-space ray along which to pick. -
Uses of SbVec3f in com.openinventor.inventor.caches
Methods in com.openinventor.inventor.caches that return SbVec3fModifier and TypeMethodDescriptionSoBoundingBoxCache.getCenter()SbVec3f[]SoNormalCache.getNormals()Returns the list of normals in the cache .SbVec3f[]SoTangentCache.getTangents()Returns the list of tangents in the cache .Methods in com.openinventor.inventor.caches with parameters of type SbVec3fModifier and TypeMethodDescriptionvoidvoidSoNormalCache.set(SbVec3f[] normals, SoNormalBindingElement.Bindings normalBinding) Calls set(normals, normalBinding, (int)0).voidSoNormalCache.set(SbVec3f[] normals, SoNormalBindingElement.Bindings normalBinding, int startIndex) Stores a list of normals in the cache .voidSoTangentCache.set(SbVec3f[] tangents, SoTangentBindingElement.Bindings tangentBinding) Calls set(tangents, tangentBinding, (int)0).voidSoTangentCache.set(SbVec3f[] tangents, SoTangentBindingElement.Bindings tangentBinding, int startIndex) Stores a list of tangents in the cache . -
Uses of SbVec3f in com.openinventor.inventor.collision
Fields in com.openinventor.inventor.collision declared as SbVec3fConstructors in com.openinventor.inventor.collision with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.elements
Fields in com.openinventor.inventor.elements declared as SbVec3fModifier and TypeFieldDescriptionfinal SbVec3fSoEnvironmentElement.EnvironmentParameters.attenuationMethods in com.openinventor.inventor.elements that return SbVec3fModifier and TypeMethodDescriptionstatic SbVec3fReturns the current light attenuation from the state.SoNormalElement.get(int index) Returns the indexed normal from an element.SoTangentElement.get(int index) Returns the indexed tangent from an element.SoCoordinateElement.get3(int index) Returns the indexed coordinate from an element as a 3-vector, converting if necessary.SoProfileCoordinateElement.get3(int index) Returns the indexed coordinate from an element as a 3D vector, converting if necessary.SoTextureCoordinate3Element.get3(int index) Calls get3(index, (int)0).SoTextureCoordinate3Element.get3(int index, int unit) Returns the indexed coordinate from an element as a 3- or 4-vector, converting if necessary.static SbVec3fSoLightAttenuationElement.getDefault()Returns the default light attenuation.static SbVec3fSoCoordinateElement.getDefault3()Returns the default 3-D coordinate.static SbVec3fSoProfileCoordinateElement.getDefault3()Returns the default 3D profile coordinate.static SbVec3fSoEnvironmentElement.getLightAttenuation(SoState state) Gets the light attenuation.SoModelScaleElement.getScaleFactor()Returns the of this element model scale - if the overall SoModelMatrix is diagonazible Not all the SoModelMatrix are diagonalizable because aSoMatrixTransformor a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros.static SbVec3fSoModelScaleElement.getScaleFactor(SoState state) Returns current model scale - if the overall SoModelMatrix is diagonazible Not all the SoModelMatrix are diagonalizable because aSoMatrixTransformor a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros.static SbVec3f[]SoModifyViewVolumeElement.getWallCoordinates(SoState state) Returns the current coordinates of the virtual window in the real world.Methods in com.openinventor.inventor.elements with parameters of type SbVec3fModifier and TypeMethodDescriptionCalls get(point, normal, (int)0).Given point and normal, returns texture coordinate.Calls get(point, normal, (int)0).Given point and normal, returns texture coordinate.static voidMultiplies a matrix that performs the specified transformation into the local matrix.static voidThis multiplies a matrix that performs the specified transformation into the model matrix.static voidMultiplies a matrix that performs the specified transformation into the texture matrix.static voidSets the current attributes.static voidSets the current light attenuation(s).static voidSets the current normals.static voidSets the current tangents.static voidSets the current coordinates in the state as 3-vectors.static voidSets the current 3D profile coordinates.static voidCalls set3(state, node, coords, false).static voidstatic voidSoModifyViewVolumeElement.setWallCoordinates(SoState state, SbVec3f lowerLeft, SbVec3f lowerRight, SbVec3f upperLeft) Sets the current coordinates of the virtual window in the real world.static voidSoLocalBBoxMatrixElement.translateBy(SoState state, SbVec3f translation) Multiplies a matrix that performs the specified transformation into the local matrix.static voidSoModelMatrixElement.translateBy(SoState state, SoNode node, SbVec3f translation) This multiplies a matrix that performs the specified transformation into the model matrix.static voidSoTextureMatrixElement.translateBy(SoState state, SoNode node, SbVec3f translation) Multiplies a matrix that performs the specified transformation into the texture matrix. -
Uses of SbVec3f in com.openinventor.inventor.events
Methods in com.openinventor.inventor.events that return SbVec3fModifier and TypeMethodDescriptionSbTrackerInfo.getPosition3()Get position of tracker in world coordinates.SoControllerButtonEvent.getPosition3()Get position of associated tracker in world coordinates.SoTrackerEvent.getPosition3()Get position of associated tracker in world coordinates.SoMotion3Event.getTranslation()Gets the relative change in translation since the last translation event.Methods in com.openinventor.inventor.events with parameters of type SbVec3fModifier and TypeMethodDescriptionvoidSbTrackerInfo.setOrientation(SbVec3f axis, float angle) Set orientation value from axis and angle in radians.voidSoControllerButtonEvent.setOrientation(SbVec3f axis, float angle) Set orientation value of associated tracker from axis and angle in radians.voidSoTrackerEvent.setOrientation(SbVec3f axis, float angle) Set orientation value of associated tracker from axis and angle in radians.voidSbTrackerInfo.setPosition3(SbVec3f p) Set position of tracker in world coordinates.voidSoControllerButtonEvent.setPosition3(SbVec3f p) Set position of associated tracker in world coordinates.voidSoTrackerEvent.setPosition3(SbVec3f p) Set position of associated tracker in world coordinates.voidSoMotion3Event.setTranslation(SbVec3f t) Sets the relative change in translation since the last translation event. -
Uses of SbVec3f in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbVec3fModifier and TypeMethodDescriptionSoSFVec3f.getValue()Returns this field's value.SoMFVec3f.getValueAt(int i) SbVec3f[]SoMFVec3f.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 SbVec3fModifier and TypeMethodDescriptionintCalls find(targetValue, false).intFinds the given targetValue in the array and returns the index of that value.voidSets one of N RGB colors fromSbVec3f.voidSets the index 'th value to the given axis/angle.voidSets the index'th value in the array to newValue.voidSets one value from single precision vector.voidSets one value from single precision vector.voidSets the field to contain one and only one value, the given color (expressed as RGB floating point values in the range 0.0 to 1.0), and deletes the second and subsequent values.voidMakes this field have exactly one value, given by axis and angle .voidSets the first value in the array to newValue, and deletes.voidSets to one value from single precision vector.voidSets to one value from single precision vector.voidSets the box dimensions.voidConvenience method for setting the value.voidSets the field to the rotation given by axis/angle.voidSets this field to newValue.voidConvenience method that allows you to specify a field value using a single precision variable.voidSets num values starting at index start to the values.voidDeprecated.voidSets values from array of single precision vectors.voidDeprecated.As of Open Inventor 9.3.1, useSoMFVec3s.setValues(int, com.openinventor.inventor.SbVec3f[])instead.voidSets values from array of single precision vectors.Constructors in com.openinventor.inventor.fields with parameters of type SbVec3fModifierConstructorDescriptionSoSFVec3f(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SbVec3f defaultValue) Default constructor. -
Uses of SbVec3f in com.openinventor.inventor.manips
Methods in com.openinventor.inventor.manips with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.misc
Method parameters in com.openinventor.inventor.misc with type arguments of type SbVec3fModifier and TypeMethodDescriptionstatic SoShapeSbExtrusionGenerator.createFrom3DPoints(Collection<SbVec3f> pointsInWorld, SoPath nodePath, SbViewVolume volume) Calls createFrom3DPoints(pointsInWorld, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShapeSbExtrusionGenerator.createFrom3DPoints(Collection<SbVec3f> pointsInWorld, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal) Create an extruded shape from points in world space. -
Uses of SbVec3f in com.openinventor.inventor.nodes
Methods in com.openinventor.inventor.nodes that return SbVec3fModifier and TypeMethodDescriptionstatic SbVec3f[]SoProjection.checkProjection(SoState state, SoNode node, SbVec3f[] coords) Apply projection to given coordinates.SbVec3f[]SoExtSelection.getLassoCoordsWC()Returns the lasso coordinates in world coordinates.Methods in com.openinventor.inventor.nodes with parameters of type SbVec3fModifier and TypeMethodDescriptionstatic SbVec3f[]SoProjection.checkProjection(SoState state, SoNode node, SbVec3f[] coords) Apply projection to given coordinates.SoCamera.getViewVolume(float aspectRatio, float nearDist, float farDist, SbVec3f position, SbRotation rotation) Computes a view volume from the given parameters.voidSets the orientation of the camera so that it points toward the given target point while keeping the "up" direction of the camera parallel to the positive y-axis.voidSets the node to translate the origin to the fromPoint and rotate the negative z-axis (0,0,-1) to lie on the vector from fromPoint to toPoint .voidChanges the center of the transformation to the given point without affecting the overall effect of the transformation. -
Uses of SbVec3f in com.openinventor.inventor.projection
Methods in com.openinventor.inventor.projection that return SbVec3fModifier and TypeMethodDescriptionSbVec3f[]SbProjectionCoordinates.getCoordinates()Return coordinates .SbProjection.inverse()Apply the inverse coordinate to one point.SbProjection.project()Apply the complete computation (matrix, pre-projection, projection, post-projection) to one point.SbProj4Projection.toGeocentric()Transform the given coordinates from Geodetic coordinate system to Geocentric coordinate system .SbProj4Projection.toGeodetic()Transform the given coordinates from Geocentric coordinate system to Geodetic coordinate system . -
Uses of SbVec3f in com.openinventor.inventor.projectors
Methods in com.openinventor.inventor.projectors that return SbVec3fModifier and TypeMethodDescriptionGets a vector given the current mouse point.Gets a vector on this line given two normalized mouse points.Gets a vector given the current mouse point.Gets a vector on this plane given two normalized mouse positions.Applies the projector using the given line in world coordinates, returning the point in three dimensions that it projects to.Applies the projector using the given point, returning the point in three dimensions that it projects to and the status.Apply the projector using the given point, returning the point in three dimensions that it projects to.Methods in com.openinventor.inventor.projectors with parameters of type SbVec3fModifier and TypeMethodDescriptionSbCylinderProjector.getRotation(SbVec3f point1, SbVec3f point2) Gets a rotation given two points on this cylinder projector.SbSphereProjector.getRotation(SbVec3f point1, SbVec3f point2) Gets a rotation given two points on this sphere projector.booleanSbCylinderProjector.isPointInFront(SbVec3f point) Gets whether the projector should intersect the half of the cylinder that faces the eye.booleanSbSphereProjector.isPointInFront(SbVec3f point) Gets whether the projector should intersect the half of the sphere that faces the eye.booleanSbCylinderSectionProjector.isWithinTolerance(SbVec3f point) Finds whether this point on the cylinder or tolerance plane is within tolerance.booleanSbSphereSectionProjector.isWithinTolerance(SbVec3f point) Finds whether this point on the sphere or tolerance plane is within tolerance.voidSbLineProjector.setStartPosition(SbVec3f point) Sets the initial position from a point on the projector.voidSbPlaneProjector.setStartPosition(SbVec3f point) Sets the initial position from a point on the projector. -
Uses of SbVec3f in com.openinventor.inventor.simplifier
Methods in com.openinventor.inventor.simplifier with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.viewercomponents
Methods in com.openinventor.inventor.viewercomponents that return SbVec3fModifier and TypeMethodDescriptionSoCameraInteractor.getDirectionVector()Returns the direction vector of the camera.SoCameraInteractor.getFocalPoint()Returns the camera's "focal point", located focalDistance units from the camera position along the view direction vector (defined by the camera's orientation field).SoCameraInteractor.getViewportCenter()Deprecated.As of Open Inventor 9.5.0.0.SoCameraInteractor.projectToPlane(SbVec2f point, float distFromEye, SbViewportRegion vpRegion) Project specified 2D point on the plane parallel to the near plane that is at distFromEye units from the eye, see alsoSbViewVolume.getPlanePoint.Methods in com.openinventor.inventor.viewercomponents with parameters of type SbVec3fModifier and TypeMethodDescriptionReturns the rotation needed to point a camera at position toward the given target point while keeping the "up" direction of the camera parallel to the specified up vector.voidSets the orientation of the camera so that it points toward the given target point while keeping the "up" direction of the camera parallel to the positive world coordinate y-axis.SoCameraInteractor.projectToScreen(SbVec3f point, SbViewportRegion vpRegion) Map a 3D point in world coordinates to a 2D point in normalized screen coordinates (0 <= x,y <= 1), see alsoSbViewVolume.projectToScreen.voidSoCameraInteractor.setPosition(SbVec3f pos) Move camera to the specified position.voidSoCameraInteractor.setRotationAxis(SbVec3f axis) Set the axis of rotation.voidSoCameraInteractor.setRotationCenter(SbVec3f pos) Set the center of rotation.voidMove camera by the specified 3D displacement.voidMoves and rotates the camera to be aligned with the given direction vector while keeping the up direction of the camera parallel to the specified up vector. -
Uses of SbVec3f in com.openinventor.inventor.viewercomponents.awt
Methods in com.openinventor.inventor.viewercomponents.awt with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.viewercomponents.awt.glcanvas.renderareas
Methods in com.openinventor.inventor.viewercomponents.awt.glcanvas.renderareas with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.viewercomponents.awt.newt.renderareas
Methods in com.openinventor.inventor.viewercomponents.awt.newt.renderareas with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.viewercomponents.nodes
Methods in com.openinventor.inventor.viewercomponents.nodes with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.viewercomponents.swt.glcanvas.renderareas
Methods in com.openinventor.inventor.viewercomponents.swt.glcanvas.renderareas with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.inventor.viewercomponents.swt.glcanvas.viewers
Methods in com.openinventor.inventor.viewercomponents.swt.glcanvas.viewers with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.ldm
Methods in com.openinventor.ldm that return SbVec3fModifier and TypeMethodDescriptionSoLDMDataAccess.voxelToXYZ(SbVec3i32 dataPosition) Converts a voxel coordinate (I,J,K) to a geometry coordinate (X,Y,Z).Methods in com.openinventor.ldm with parameters of type SbVec3fModifier and TypeMethodDescriptionSoLDMDataAccess.XYZToVoxel(SbVec3f dataPosition) Converts a geometry coordinate (X,Y,Z) to a voxel coordinate (I,J,K). -
Uses of SbVec3f in com.openinventor.ldm.nodes
Methods in com.openinventor.ldm.nodes that return SbVec3fModifier and TypeMethodDescriptionSoDataSet.voxelToXYZ(SbVec3f dataPosition) Converts the specified point in voxel coordinates (I,J,K) to geometric coordinates (X,Y,Z).SoDataSet.XYZToVoxel(SbVec3f dataPosition) Converts the specified point in geometric coordinates (X,Y,Z) to voxel coordinates (I,J,K).Methods in com.openinventor.ldm.nodes with parameters of type SbVec3fModifier and TypeMethodDescriptionSoDataSet.voxelToXYZ(SbVec3f dataPosition) Converts the specified point in voxel coordinates (I,J,K) to geometric coordinates (X,Y,Z).SoDataSet.XYZToVoxel(SbVec3f dataPosition) Converts the specified point in geometric coordinates (X,Y,Z) to voxel coordinates (I,J,K). -
Uses of SbVec3f in com.openinventor.ldm.readers
Methods in com.openinventor.ldm.readers that return SbVec3f -
Uses of SbVec3f in com.openinventor.medical.helpers
Methods in com.openinventor.medical.helpers that return SbVec3fModifier and TypeMethodDescriptionstatic SbVec3fMedicalHelper.dicomGetImagePosition(SoVolumeData volume) Get the "Image Position (Patient)" attribute (0020,0032) from a DICOM volume. -
Uses of SbVec3f in com.openinventor.medical.nodes
Methods in com.openinventor.medical.nodes with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.meshviz.data
Fields in com.openinventor.meshviz.data declared as SbVec3fMethods in com.openinventor.meshviz.data that return SbVec3fModifier and TypeMethodDescriptionPbCell.getCenter()Gets the cell's geometric center.PbCell.getNodeCoord(int nod) Gets the coordinate of the nod (nod must be >=0 and <getNumNodes()).PbGrid2D.getNodeCoord(int i, int j) Gets the coordinates of a node defined by its i,j indices on the grid.PbGrid3D.getNodeCoord(int i, int j, int k) Gets the coordinates of a node defined by its i,j,k indices on the grid.PbMesh.getNodeCoord(int nod_index) Gets the coordinates of a node.Gets the vector value of a point in this cell, given the point's weights.Get the vector value of a point in the cell.SbVec3f[]PbMesh.getVecsSet(int set_index) Gets a set of vector values.PbCell.locatePoint(SbVec3f coord, float tolerance) Returns 1 if the point is inside the cell, 0 otherwise.Methods in com.openinventor.meshviz.data with parameters of type SbVec3fModifier and TypeMethodDescriptionvoidPbMesh.addVecsSet(int set_index, SbVec3f[] val) Calls addVecsSet(set_index, val, "").voidPbMesh.addVecsSet(int set_index, SbVec3f[] val, String set_name) Adds a set of vector values .PbMesh.findContainingCell(SbVec3f point, float tolerance) Find the cell that contains the point.PbMesh.findContainingCell(SbVec3f point, float tolerance, PbCell adjacent_cell) float[]Gets the derivs of a point defined by its parametric coordinates.float[]Returns the derivs of a point defined by its parametric coordinates.float[]Gets the derivs of a point defined by its parametric coordinates .float[]Returns the derivs of a point defined by its parametric coordinates.PbMesh2D.getFaultMesh(int num_fault_lines, int[] fault_line_sizes, SbVec3f[] coord) Same as calling getFaultMesh(num_fault_lines, fault_line_sizes, coord,PbMesh2D.USE_ADJACENT_DERIVS, PbDefinedValue())Gets the vector value of a point in this cell, given the point's weights.floatGet the scalar value of a point in the cell.Get the vector value of a point in the cell.PbCell.locatePoint(SbVec3f coord, float tolerance) Returns 1 if the point is inside the cell, 0 otherwise. -
Uses of SbVec3f in com.openinventor.meshviz.fields
Methods in com.openinventor.meshviz.fields with parameters of type SbVec3fModifier and TypeMethodDescriptionvoidPoSFMesh.addVecsSet(int index, SbVec3f[] val) Calls addVecsSet(index, val, "").voidPoSFMesh.addVecsSet(int index, SbVec3f[] val, String setName) Convenience methods that adds a set of vector values to the internalPbMeshobject. -
Uses of SbVec3f in com.openinventor.meshviz.graph
Constructors in com.openinventor.meshviz.graph with parameters of type SbVec3fModifierConstructorDescriptionCalls PoArrow3(_point, PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), (float)0.05f, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType) Calls PoArrow3(_point, startType, PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), (float)0.05f, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType) Calls PoArrow3(_point, startType, endType, (float)0.05f, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType, float _patternWidth) Calls PoArrow3(_point, startType, endType, _patternWidth, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType, float _patternWidth, float _patternHeight) Constructor.PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType) Calls PoAutoCubeAxis(_start, _end, xAxisType, yAxisType, zAxisType, (java.lang.String)null, (java.lang.String)null, (java.lang.String)null).PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType, String xTtle) Calls PoAutoCubeAxis(_start, _end, xAxisType, yAxisType, zAxisType, xTtle, (java.lang.String)null, (java.lang.String)null).PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType, String xTtle, String yTtle) Calls PoAutoCubeAxis(_start, _end, xAxisType, yAxisType, zAxisType, xTtle, yTtle, (java.lang.String)null).PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType, String xTtle, String yTtle, String zTtle) Constructor.PoCircle3CenterRadius(SbVec3f _center, float _radius, SbVec3f _normal) Constructor.PoCircle3ThreePoints(SbVec3f _p, SbVec3f _q, SbVec3f _r) Constructor.PoCircleArc3CtrPtAngle(SbVec3f _center, SbVec3f _startPoint, float _angle, SbVec3f _normal) Constructor.PoCircleArc3CtrTwoPts(SbVec3f _center, SbVec3f _startPoint, SbVec3f _endPoint) Constructor.PoCircleArc3ThreePts(SbVec3f _startPoint, SbVec3f _middlePoint, SbVec3f _endPoint) Constructor.PoCoordinateSystemAxis(SbVec3f _start, SbVec3f _end, String _xTitle, String _yTitle, String _zTitle, float _arrowLengthFactor, float _titleTranslationFactor) Constructor.Calls PoCurve3(_point, PoCurve3.CurveReps.valueOf( PoCurve3.CurveReps.CURVE_POLYLINE.getValue() )).PoCurve3(SbVec3f[] _point, PoCurve3.CurveReps _curveRep) Constructor.PoGenAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, String[] _gradList) Constructor of a generalized axis with graduations _gradList .PoGroup3Axis3(SbVec3f _start, SbVec3f _end, PoGroup3Axis3.AxisTypes _xAxisType, PoGroup3Axis3.AxisTypes _yAxisType, PoGroup3Axis3.AxisTypes _zAxisType) Calls PoGroup3Axis3(_start, _end, _xAxisType, _yAxisType, _zAxisType, PoGroup3Axis3.AxisNames.valueOf( PoGroup3Axis3.AxisNames.Z_AXIS.getValue() ), (java.lang.String)null, (java.lang.String)null, (java.lang.String)null).PoGroup3Axis3(SbVec3f _start, SbVec3f _end, PoGroup3Axis3.AxisTypes _xAxisType, PoGroup3Axis3.AxisTypes _yAxisType, PoGroup3Axis3.AxisTypes _zAxisType, PoGroup3Axis3.AxisNames vertAxis) Calls PoGroup3Axis3(_start, _end, _xAxisType, _yAxisType, _zAxisType, vertAxis, (java.lang.String)null, (java.lang.String)null, (java.lang.String)null).PoGroup3Axis3(SbVec3f _start, SbVec3f _end, PoGroup3Axis3.AxisTypes _xAxisType, PoGroup3Axis3.AxisTypes _yAxisType, PoGroup3Axis3.AxisTypes _zAxisType, PoGroup3Axis3.AxisNames vertAxis, String xTtle) Calls PoGroup3Axis3(_start, _end, _xAxisType, _yAxisType, _zAxisType, vertAxis, xTtle, (java.lang.String)null, (java.lang.String)null).PoGroup3Axis3(SbVec3f _start, SbVec3f _end, PoGroup3Axis3.AxisTypes _xAxisType, PoGroup3Axis3.AxisTypes _yAxisType, PoGroup3Axis3.AxisTypes _zAxisType, PoGroup3Axis3.AxisNames vertAxis, String xTtle, String yTtle) Calls PoGroup3Axis3(_start, _end, _xAxisType, _yAxisType, _zAxisType, vertAxis, xTtle, yTtle, (java.lang.String)null).PoGroup3Axis3(SbVec3f _start, SbVec3f _end, PoGroup3Axis3.AxisTypes _xAxisType, PoGroup3Axis3.AxisTypes _yAxisType, PoGroup3Axis3.AxisTypes _zAxisType, PoGroup3Axis3.AxisNames vertAxis, String xTtle, String yTtle, String zTtle) Constructor.PoGroup6Axis3(SbVec3f _start, SbVec3f _end, PoGroup6Axis3.AxisTypes _xAxisType, PoGroup6Axis3.AxisTypes _yAxisType, PoGroup6Axis3.AxisTypes _zAxisType) Calls PoGroup6Axis3(_start, _end, _xAxisType, _yAxisType, _zAxisType, (java.lang.String)null, (java.lang.String)null, (java.lang.String)null).PoGroup6Axis3(SbVec3f _start, SbVec3f _end, PoGroup6Axis3.AxisTypes _xAxisType, PoGroup6Axis3.AxisTypes _yAxisType, PoGroup6Axis3.AxisTypes _zAxisType, String xTtle) Calls PoGroup6Axis3(_start, _end, _xAxisType, _yAxisType, _zAxisType, xTtle, (java.lang.String)null, (java.lang.String)null).PoGroup6Axis3(SbVec3f _start, SbVec3f _end, PoGroup6Axis3.AxisTypes _xAxisType, PoGroup6Axis3.AxisTypes _yAxisType, PoGroup6Axis3.AxisTypes _zAxisType, String xTtle, String yTtle) Calls PoGroup6Axis3(_start, _end, _xAxisType, _yAxisType, _zAxisType, xTtle, yTtle, (java.lang.String)null).PoGroup6Axis3(SbVec3f _start, SbVec3f _end, PoGroup6Axis3.AxisTypes _xAxisType, PoGroup6Axis3.AxisTypes _yAxisType, PoGroup6Axis3.AxisTypes _zAxisType, String xTtle, String yTtle, String zTtle) Constructor.PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type) Calls PoLinearAxis(_start, _end, _type, (float)0.0).PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _step) Constructor.PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd) Calls PoLinearAxis(_start, _end, _type, _gradStart, _gradEnd, (float)0.0).PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, float _step) Constructor.PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type) Calls PoLogAxis(_start, _end, _type, PoLogAxis.DecadeListDefs.valueOf( PoLogAxis.DecadeListDefs.DECADE_LIST_AUTO.getValue() ), (short[])null).PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd) Calls PoLogAxis(_start, _end, _type, _gradStart, _gradEnd, PoLogAxis.DecadeListDefs.valueOf( PoLogAxis.DecadeListDefs.DECADE_LIST_AUTO.getValue() ), (short[])null).PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, PoLogAxis.DecadeListDefs _decadeListDef) Calls PoLogAxis(_start, _end, _type, _gradStart, _gradEnd, _decadeListDef, (short[])null).PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, PoLogAxis.DecadeListDefs _decadeListDef, short[] _decadeList) Constructor.PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, PoLogAxis.DecadeListDefs _decadeListDef) Calls PoLogAxis(_start, _end, _type, _decadeListDef, (short[])null).PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, PoLogAxis.DecadeListDefs _decadeListDef, short[] _decadeList) Constructor.PoParallelogram3(SbVec3f _p, SbVec3f _q, SbVec3f _r) Constructor.PoPieChart3D(SbVec3f _center, float _zCenter2, float _radius, String[] sliceTexts, float[] sliceValues, SbColor[] sliceColors) Constructor.PoPointsFieldBars(SbVec3f[] _point, float[] _value, float _width, float _height) Constructor. -
Uses of SbVec3f in com.openinventor.meshviz.nodes
Methods in com.openinventor.meshviz.nodes with parameters of type SbVec3fModifier and TypeMethodDescriptionvoidPoMeshProperty.addVecsSet(int index, SbVec3f[] val) Calls addVecsSet(index, val, "").voidPoMeshProperty.addVecsSet(int index, SbVec3f[] val, String set_name) Convenience method to add a new set of vector values to the mesh.voidCalls setValues(min, max, PoDomain.BoundingBoxTypes.valueOf( PoDomain.BoundingBoxTypes.AS_IS.getValue() )).voidPoDomain.setValues(SbVec3f min, SbVec3f max, PoDomain.BoundingBoxTypes type) Convenience method to define a 3D domain. -
Uses of SbVec3f in com.openinventor.meshvizxlm.mapping.details
Methods in com.openinventor.meshvizxlm.mapping.details with parameters of type SbVec3f -
Uses of SbVec3f in com.openinventor.volumeviz.details
Fields in com.openinventor.volumeviz.details declared as SbVec3fModifier and TypeFieldDescriptionSoVolumeDetail.ProfileValue.objPosSoVolumeDetail.ProfileValueD.objPosSoVolumeDetail.TransparentDoubleValue.objPosSoVolumeDetail.TransparentLongValue.objPosMethods in com.openinventor.volumeviz.details that return SbVec3fModifier and TypeMethodDescriptionSbVec3f[]SoVolumeDetail.getProfileObjectPos()Returns the profile position in object space (world coordinates).SoSliceDetail.getValueObjectPos() -
Uses of SbVec3f in com.openinventor.volumeviz.readers
Methods in com.openinventor.volumeviz.readers that return SbVec3fModifier and TypeMethodDescriptionSoVRDicomData.getImagePosition()Returns the position of the first frame's top left voxel center in the patient space.SoVRDicomData.getPosition()Returns the 3D position of the center of the image.
SoMFVec3i32.setValues(int, com.openinventor.inventor.SbVec3f[])instead.