Uses of Class
com.openinventor.inventor.SoPath
Packages that use SoPath
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
Collision Detection.
Viewer components contains helpful tools to implement a custom viewer.
-
Uses of SoPath in com.openinventor.inventor
Methods in com.openinventor.inventor that return SoPathModifier and TypeMethodDescriptionSoGeneralPath.copy
(int startFromNodeIndex) Creates and returns a new path that is a copy of some or all of this path.SoGeneralPath.copy
(int startFromNodeIndex, int numNodes) Creates and returns a new path that is a copy of some or all of this path.static SoPath[]
SoPath.getAllByName
(String name) Returns an array of all path with the given name.static SoPath
Returns the last path that was given the name, either bySoBase.setName(java.lang.String)
or by reading in a named path from a file.SoPickedPoint.getPath()
Returns the path to the object that was intersected.static SoPath
Reads a graph from the file specified by the givenSoInput
, returning the resulting path.Methods in com.openinventor.inventor with parameters of type SoPathModifier and TypeMethodDescriptionvoid
Adds all nodes in fromPath's chain to end of chain.void
Adds all nodekits in fromPath's chain to end of chain.boolean
SoGeneralPath.containsPath
(SoPath path) Returns true if the nodes in the given path argument are contained (in consecutive order) in this path.boolean
SoNodeKitPath.containsPath
(SoPath path) Returns true if the nodes in the given path argument are contained (in consecutive order) in this path.int
If the two paths have different head nodes, this returns -1.int
If the two paths have different head nodes, this returns -1. -
Uses of SoPath in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SoPathModifier and TypeMethodDescriptionSoAction.getCurPath()
(Extender API) Returns the path accumulated during traversal, i.e., the chain of nodes from the root of the traversed graph to the current node being traversed.SoSearchAction.getPath()
Returns resulting path, or NULL if no path was found.SoAction.getPathAppliedTo()
(Extender API) Returns the path the action is being applied to.SoGetBoundingBoxAction.getResetPath()
Returns the current reset path, or NULL.Methods in com.openinventor.inventor.actions that return types with arguments of type SoPathModifier and TypeMethodDescriptionSoAction.getOriginalPathListAppliedTo()
(Extender API) Returns the original path list the action is being applied to.SoAction.getPathListAppliedTo()
(Extender API) Returns the path list the action is being applied to.SoSearchAction.getPaths()
Returns resulting path list.Methods in com.openinventor.inventor.actions with parameters of type SoPathModifier and TypeMethodDescriptionvoid
void
Initiates an action on the graph defined by a path.void
SoAction.forwardTraversal
(SoPath path) Traverse a path that is not part of the current scenegraph.void
SoGetBoundingBoxAction.setResetPath
(SoPath path) Calls setResetPath(path, true, SoGetBoundingBoxAction.ResetTypes.valueOf( SoGetBoundingBoxAction.ResetTypes.ALL.getValue() )).void
SoGetBoundingBoxAction.setResetPath
(SoPath path, boolean resetBefore) Calls setResetPath(path, resetBefore, SoGetBoundingBoxAction.ResetTypes.valueOf( SoGetBoundingBoxAction.ResetTypes.ALL.getValue() )).void
SoGetBoundingBoxAction.setResetPath
(SoPath path, boolean resetBefore, SoGetBoundingBoxAction.ResetTypes what) If a non-NULL path is specified, the action will reset the computed bounding box to be empty and/or the current transformation to identity. -
Uses of SoPath in com.openinventor.inventor.collision
Fields in com.openinventor.inventor.collision declared as SoPathModifier and TypeFieldDescriptionfinal SoPath
SoCollidingPrimitive.path
Path of the shape.SoCollisionManager.CollidingPrimitive.path
final SoPath
SoIntersectingPrimitive.path
Path of the shape.Methods in com.openinventor.inventor.collision that return SoPathModifier and TypeMethodDescriptionSoCollisionManager.getObject()
Returns the object that will be transformed.Methods in com.openinventor.inventor.collision with parameters of type SoPathModifier and TypeMethodDescriptionboolean
void
SoCollisionManager.BBoxCollisionListener.bboxCollide
(SoPath p1, SoPath p2) void
SoDualSceneCollider.setMovingScene
(SoPath object) Calls setMovingScene(object, (int)0).void
SoDualSceneCollider.setMovingScene
(SoPath object, int max_triangles_per_leaf) Specifies the scene that will be moved or transformed.void
Sets the object that will be transformed.void
SoDualSceneCollider.setStaticScene
(SoPath scene) Calls setStaticScene(scene, (int)0).void
SoDualSceneCollider.setStaticScene
(SoPath scene, int max_triangles_per_leaf) Specifies the scene the moving scene is interacting with.Constructors in com.openinventor.inventor.collision with parameters of type SoPathModifierConstructorDescriptionCollidingPrimitive
(SoPath path, SbVec3f[] vertices) SoCollisionManager
(SoPath object, SoGroup scene, SoTransform transform) Constructor. -
Uses of SoPath in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SoPathModifier and TypeMethodDescriptionSoMFPath.getPath
(int index) Returns pointer to nth path.SoSFPath.getValue()
Returns this field's value.SoMFPath.getValueAt
(int i) Methods in com.openinventor.inventor.fields with parameters of type SoPathModifier and TypeMethodDescriptionint
Calls find(targetValue, false).int
Finds the given targetValue in the array and returns the index of that value.void
Sets the index'th value in the array to newValue.void
Sets the first value in the array to newValue, and deletes.void
Sets this field to newValue.void
Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SoPathModifierConstructorDescriptionSoSFPath
(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SoPath defaultValue) Default constructor. -
Uses of SoPath in com.openinventor.inventor.manips
Methods in com.openinventor.inventor.manips with parameters of type SoPathModifier and TypeMethodDescriptionboolean
SoClipPlaneManip.replaceManip
(SoPath p, SoClipPlane newOne) Replaces this manipulator with a regularSoClipPlane
node.boolean
SoDirectionalLightManip.replaceManip
(SoPath p, SoDirectionalLight newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoDirectionalLight
node.boolean
SoPointLightManip.replaceManip
(SoPath p, SoPointLight newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoPointLight
node.boolean
SoSpotLightManip.replaceManip
(SoPath p, SoSpotLight newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoSpotLight
node.boolean
SoTransformManip.replaceManip
(SoPath p, SoTransform newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoTransform
node.boolean
SoClipPlaneManip.replaceNode
(SoPath p) Replaces a regularSoClipPlane
node with this manipulator.boolean
SoDirectionalLightManip.replaceNode
(SoPath p) Replaces the tail of the path with this manipulator.boolean
SoPointLightManip.replaceNode
(SoPath p) Replaces the tail of the path with this manipulator.boolean
SoSpotLightManip.replaceNode
(SoPath p) Replaces the tail of the path with this manipulator.boolean
SoTransformManip.replaceNode
(SoPath p) Replaces the tail of the path with this manipulator. -
Uses of SoPath in com.openinventor.inventor.misc
Methods in com.openinventor.inventor.misc that return types with arguments of type SoPathModifier and TypeMethodDescriptionSoByteStream.unconvert
(SoByteStream byteStream) Takes byte stream data and unconverts it back to scene graph objects.Methods in com.openinventor.inventor.misc with parameters of type SoPathModifier and TypeMethodDescriptionvoid
Calls convert(path, true).void
Converts the passed scene graph object(s) into a byte stream.static SoShape
SbExtrusionGenerator.createFrom2DPoints
(Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume) Calls createFrom2DPoints(pointsInCam, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShape
SbExtrusionGenerator.createFrom2DPoints
(Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal) Create an extruded shape from points in camera space.static SoShape
SbExtrusionGenerator.createFrom3DPoints
(Collection<SbVec3f> pointsInWorld, SoPath nodePath, SbViewVolume volume) Calls createFrom3DPoints(pointsInWorld, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShape
SbExtrusionGenerator.createFrom3DPoints
(Collection<SbVec3f> pointsInWorld, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal) Create an extruded shape from points in world space. -
Uses of SoPath in com.openinventor.inventor.misc.callbacks
Methods in com.openinventor.inventor.misc.callbacks that return SoPathModifier and TypeMethodDescriptionSoSelectionPickCB.invoke
(SoPickedPoint p) This method will be invoked when the native callback will be called so that you only need to override this method to fill the method's body.Methods in com.openinventor.inventor.misc.callbacks with parameters of type SoPath -
Uses of SoPath in com.openinventor.inventor.nodekits
Methods in com.openinventor.inventor.nodekits with parameters of type SoPathModifier and TypeMethodDescriptionboolean
SoInteractionKit.setPartAsPath
(String partName, SoPath surrogatePath) Sets any public part in the interaction kit as a "surrogate" path instead. -
Uses of SoPath in com.openinventor.inventor.nodes
Methods in com.openinventor.inventor.nodes that return SoPathModifier and TypeMethodDescriptionSoEventCallback.getPath()
Gets the path which must be picked in order for the callbacks to be invoked.SoExtSelection.PreFilterEventArg.getPath()
Returns path to node that will be traversed just after event is called.SoSelection.getPath
(int index) Returns the ith path in the selection list.SoSelection.getValueAt
(int i) Methods in com.openinventor.inventor.nodes that return types with arguments of type SoPathModifier and TypeMethodDescriptionSoSelection.getList()
Returns the list of selected paths.SoExtSelection.getSelectionPathList()
Returns paths list of selected objects.Methods in com.openinventor.inventor.nodes with parameters of type SoPathModifier and TypeMethodDescriptionvoid
Deselects the passed path by removing it from the selection list.boolean
SoSelection.isSelected
(SoPath path) Returns true if the passed path is selected, that is, if it is in the selection list.void
Selects the passed path by adding it to the selection list.void
Sets the path which must be picked in order for the callbacks to be invoked.void
Toggles the selection status of the passed path - if the path is in the selection list, it is removed; if not in the list, it is added.void
SoCamera.viewAll
(SoPath path, SbViewportRegion vpRegion) Calls viewAll(path, vpRegion, (float)1.0).void
SoCamera.viewAll
(SoPath path, SbViewportRegion vpRegion, float slack) Sets the camera to view the scene defined by the given path.Constructors in com.openinventor.inventor.nodes with parameters of type SoPath -
Uses of SoPath in com.openinventor.inventor.sensors
Methods in com.openinventor.inventor.sensors that return SoPathModifier and TypeMethodDescriptionSoPathSensor.getAttachedPath()
Returns the path that this sensor is sensing, or NULL if it is not attached to any path.SoDataSensor.getTriggerPath()
If this is a priority 0 data sensor, returns a path to the node that caused this sensor to trigger.Methods in com.openinventor.inventor.sensors with parameters of type SoPath -
Uses of SoPath in com.openinventor.inventor.viewercomponents
Methods in com.openinventor.inventor.viewercomponents with parameters of type SoPathModifier and TypeMethodDescriptionvoid
SoCameraInteractor.viewAll
(SoPath path, SbViewportRegion vpRegion) Move the camera to view the scene defined by the given path.void
SoCameraInteractor.viewIn
(SoPath path, SbViewportRegion vpRegion) Move camera to the center of the scene defined by the specified path. -
Uses of SoPath in com.openinventor.ldm.manips
Methods in com.openinventor.ldm.manips with parameters of type SoPathModifier and TypeMethodDescriptionboolean
SoROIManip.replaceManip
(SoPath p, SoROI newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoROI
node.boolean
SoROIManip.replaceNode
(SoPath p) Replaces the tail of the path with this manipulator. -
Uses of SoPath in com.openinventor.meshviz.graph
Methods in com.openinventor.meshviz.graph with parameters of type SoPathModifier and TypeMethodDescriptionint
PoPieChart.getPickedSliceNumber
(SoPath path) Allow the user to retreive the slice number (sliceNumber argument) which has been picked from a picked path (path argument) (cfSoSelection
node for more information about picking).int
PoPieChartRep.getPickedSliceNumber
(SoPath path) Allow the user to retreive the slice number (sliceNumber argument) which has been picked from a picked path (path argument) (cfSoSelection
node for more information about picking).