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 SoPathReturns 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 SoPathReads a graph from the file specified by the givenSoInput, returning the resulting path.Methods in com.openinventor.inventor with parameters of type SoPathModifier and TypeMethodDescriptionvoidAdds all nodes in fromPath's chain to end of chain.voidAdds all nodekits in fromPath's chain to end of chain.booleanSoGeneralPath.containsPath(SoPath path) Returns true if the nodes in the given path argument are contained (in consecutive order) in this path.booleanSoNodeKitPath.containsPath(SoPath path) Returns true if the nodes in the given path argument are contained (in consecutive order) in this path.intIf the two paths have different head nodes, this returns -1.intIf 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 TypeMethodDescriptionvoidvoidInitiates an action on the graph defined by a path.voidSoAction.forwardTraversal(SoPath path) Traverse a path that is not part of the current scenegraph.voidSoGetBoundingBoxAction.setResetPath(SoPath path) Calls setResetPath(path, true, SoGetBoundingBoxAction.ResetTypes.valueOf( SoGetBoundingBoxAction.ResetTypes.ALL.getValue() )).voidSoGetBoundingBoxAction.setResetPath(SoPath path, boolean resetBefore) Calls setResetPath(path, resetBefore, SoGetBoundingBoxAction.ResetTypes.valueOf( SoGetBoundingBoxAction.ResetTypes.ALL.getValue() )).voidSoGetBoundingBoxAction.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 SoPathSoCollidingPrimitive.pathPath of the shape.SoCollisionManager.CollidingPrimitive.pathfinal SoPathSoIntersectingPrimitive.pathPath 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 TypeMethodDescriptionbooleanvoidSoCollisionManager.BBoxCollisionListener.bboxCollide(SoPath p1, SoPath p2) voidSoDualSceneCollider.setMovingScene(SoPath object) Calls setMovingScene(object, (int)0).voidSoDualSceneCollider.setMovingScene(SoPath object, int max_triangles_per_leaf) Specifies the scene that will be moved or transformed.voidSets the object that will be transformed.voidSoDualSceneCollider.setStaticScene(SoPath scene) Calls setStaticScene(scene, (int)0).voidSoDualSceneCollider.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 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 the first value in the array to newValue, and deletes.voidSets this field to newValue.voidSets 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 TypeMethodDescriptionbooleanSoClipPlaneManip.replaceManip(SoPath p, SoClipPlane newOne) Replaces this manipulator with a regularSoClipPlanenode.booleanSoDirectionalLightManip.replaceManip(SoPath p, SoDirectionalLight newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoDirectionalLightnode.booleanSoPointLightManip.replaceManip(SoPath p, SoPointLight newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoPointLightnode.booleanSoSpotLightManip.replaceManip(SoPath p, SoSpotLight newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoSpotLightnode.booleanSoTransformManip.replaceManip(SoPath p, SoTransform newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoTransformnode.booleanSoClipPlaneManip.replaceNode(SoPath p) Replaces a regularSoClipPlanenode with this manipulator.booleanSoDirectionalLightManip.replaceNode(SoPath p) Replaces the tail of the path with this manipulator.booleanSoPointLightManip.replaceNode(SoPath p) Replaces the tail of the path with this manipulator.booleanSoSpotLightManip.replaceNode(SoPath p) Replaces the tail of the path with this manipulator.booleanSoTransformManip.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 TypeMethodDescriptionvoidCalls convert(path, true).voidConverts the passed scene graph object(s) into a byte stream.static SoShapeSbExtrusionGenerator.createFrom2DPoints(Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume) Calls createFrom2DPoints(pointsInCam, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShapeSbExtrusionGenerator.createFrom2DPoints(Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal) Create an extruded shape from points in camera space.static 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 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 TypeMethodDescriptionbooleanSoInteractionKit.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 TypeMethodDescriptionvoidDeselects the passed path by removing it from the selection list.booleanSoSelection.isSelected(SoPath path) Returns true if the passed path is selected, that is, if it is in the selection list.voidSelects the passed path by adding it to the selection list.voidSets the path which must be picked in order for the callbacks to be invoked.voidToggles 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.voidSoCamera.viewAll(SoPath path, SbViewportRegion vpRegion) Calls viewAll(path, vpRegion, (float)1.0).voidSoCamera.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 TypeMethodDescriptionvoidSoCameraInteractor.viewAll(SoPath path, SbViewportRegion vpRegion) Move the camera to view the scene defined by the given path.voidSoCameraInteractor.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 TypeMethodDescriptionbooleanSoROIManip.replaceManip(SoPath p, SoROI newOne) Replaces the tail of the path, which must be this manipulator, with the givenSoROInode.booleanSoROIManip.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 TypeMethodDescriptionintPoPieChart.getPickedSliceNumber(SoPath path) Allow the user to retreive the slice number (sliceNumber argument) which has been picked from a picked path (path argument) (cfSoSelectionnode for more information about picking).intPoPieChartRep.getPickedSliceNumber(SoPath path) Allow the user to retreive the slice number (sliceNumber argument) which has been picked from a picked path (path argument) (cfSoSelectionnode for more information about picking).