Uses of Class
com.openinventor.inventor.SoPath
-
Packages that use SoPath 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.collision Collision Detection.com.openinventor.inventor.fields com.openinventor.inventor.manips com.openinventor.inventor.misc com.openinventor.inventor.misc.callbacks com.openinventor.inventor.nodekits com.openinventor.inventor.nodes com.openinventor.inventor.sensors com.openinventor.inventor.viewercomponents Viewer components contains helpful tools to implement a custom viewer.com.openinventor.ldm.manips com.openinventor.meshviz.graph -
-
Uses of SoPath in com.openinventor.inventor
Methods in com.openinventor.inventor that return SoPath Modifier and Type Method Description SoPathSoGeneralPath. copy(int startFromNodeIndex)Creates and returns a new path that is a copy of some or all of this path.SoPathSoGeneralPath. 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(java.lang.String name)Returns an array of all path with the given name.static SoPathSoPath. getByName(java.lang.String name)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.SoPathSoPickedPoint. getPath()Returns the path to the object that was intersected.static SoPathSoDB. readPath(SoInput in)Reads a graph from the file specified by the givenSoInput, returning the resulting path.Methods in com.openinventor.inventor with parameters of type SoPath Modifier and Type Method Description voidSoGeneralPath. append(SoPath fromPath)Adds all nodes in fromPath's chain to end of chain.voidSoNodeKitPath. append(SoPath fromPath)Adds 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.intSoGeneralPath. findFork(SoPath path)If the two paths have different head nodes, this returns -1.intSoNodeKitPath. findFork(SoPath path)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 SoPath Modifier and Type Method Description SoPathSoAction. 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.SoPathSoSearchAction. getPath()Returns resulting path, or NULL if no path was found.SoPathSoAction. getPathAppliedTo()(Extender API) Returns the path the action is being applied to.SoPathSoGetBoundingBoxAction. getResetPath()Returns the current reset path, or NULL.Methods in com.openinventor.inventor.actions that return types with arguments of type SoPath Modifier and Type Method Description java.util.Vector<SoPath>SoAction. getOriginalPathListAppliedTo()(Extender API) Returns the original path list the action is being applied to.java.util.Vector<SoPath>SoAction. getPathListAppliedTo()(Extender API) Returns the path list the action is being applied to.java.util.Vector<SoPath>SoSearchAction. getPaths()Returns resulting path list.Methods in com.openinventor.inventor.actions with parameters of type SoPath Modifier and Type Method Description voidSoSearchAction. addPath(SoPath path)voidSoAction. apply(SoPath path)Initiates 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 SoPath Modifier and Type Field Description SoPathSoCollidingPrimitive. pathPath of the shape.SoPathSoCollisionManager.CollidingPrimitive. pathSoPathSoIntersectingPrimitive. pathPath of the shape.Methods in com.openinventor.inventor.collision that return SoPath Modifier and Type Method Description SoPathSoCollisionManager. getObject()Returns the object that will be transformed.Methods in com.openinventor.inventor.collision with parameters of type SoPath Modifier and Type Method Description booleanSoCollisionManager.Filter. accept(SoPath p1, SoPath p2)voidSoCollisionManager.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.voidSoCollisionManager. setObject(SoPath object)Sets 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 SoPath Constructor Description CollidingPrimitive(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 SoPath Modifier and Type Method Description SoPathSoMFPath. getPath(int index)Returns pointer to nth path.SoPathSoSFPath. getValue()Returns this field's value.SoPathSoMFPath. getValueAt(int i)Methods in com.openinventor.inventor.fields with parameters of type SoPath Modifier and Type Method Description intSoMFPath. find(SoPath targetValue)Calls find(targetValue, false).intSoMFPath. find(SoPath targetValue, boolean addIfNotFound)Finds the given targetValue in the array and returns the index of that value.voidSoMFPath. set1Value(int index, SoPath newValue)Sets the index'th value in the array to newValue.voidSoMFPath. setValue(SoPath newValue)Sets the first value in the array to newValue, and deletes.voidSoSFPath. setValue(SoPath newValue)Sets this field to newValue.voidSoMFPath. setValues(int start, SoPath[] newValues)Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SoPath Constructor Description SoSFPath(SoFieldContainer fieldContainer, java.lang.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 SoPath Modifier and Type Method Description booleanSoClipPlaneManip. 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 SoPath Modifier and Type Method Description static java.util.Vector<SoPath>SoByteStream. 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 SoPath Modifier and Type Method Description voidSoByteStream. convert(SoPath path)Calls convert(path, true).voidSoByteStream. convert(SoPath path, boolean binaryFormat)Converts the passed scene graph object(s) into a byte stream.static SoShapeSbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume)Calls createFrom2DPoints(pointsInCam, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShapeSbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal)Create an extruded shape from points in camera space.static SoShapeSbExtrusionGenerator. createFrom3DPoints(java.util.Collection<SbVec3f> pointsInWorld, SoPath nodePath, SbViewVolume volume)Calls createFrom3DPoints(pointsInWorld, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShapeSbExtrusionGenerator. createFrom3DPoints(java.util.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 SoPath Modifier and Type Method Description SoPathSoSelectionPickCB. 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 Modifier and Type Method Description voidSoSelectionPathCB. invoke(SoPath 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. -
Uses of SoPath in com.openinventor.inventor.nodekits
Methods in com.openinventor.inventor.nodekits with parameters of type SoPath Modifier and Type Method Description booleanSoInteractionKit. setPartAsPath(java.lang.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 SoPath Modifier and Type Method Description SoPathSoEventCallback. getPath()Gets the path which must be picked in order for the callbacks to be invoked.SoPathSoExtSelection.PreFilterEventArg. getPath()Returns path to node that will be traversed just after event is called.SoPathSoSelection. getPath(int index)Returns the ith path in the selection list.SoPathSoSelection. getValueAt(int i)Methods in com.openinventor.inventor.nodes that return types with arguments of type SoPath Modifier and Type Method Description java.util.Vector<SoPath>SoSelection. getList()Returns the list of selected paths.java.util.Vector<SoPath>SoExtSelection. getSelectionPathList()Returns paths list of selected objects.Methods in com.openinventor.inventor.nodes with parameters of type SoPath Modifier and Type Method Description voidSoSelection. deselect(SoPath path)Deselects 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.voidSoSelection. select(SoPath path)Selects the passed path by adding it to the selection list.voidSoEventCallback. setPath(SoPath path)Sets the path which must be picked in order for the callbacks to be invoked.voidSoSelection. toggle(SoPath path)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.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 Constructor Description PreFilterEventArg(SoPath path, SoExtSelection source)constructor -
Uses of SoPath in com.openinventor.inventor.sensors
Methods in com.openinventor.inventor.sensors that return SoPath Modifier and Type Method Description SoPathSoPathSensor. getAttachedPath()Returns the path that this sensor is sensing, or NULL if it is not attached to any path.SoPathSoDataSensor. 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 Modifier and Type Method Description voidSoPathSensor. attach(SoPath path)Makes this sensor detect changes to the given path. -
Uses of SoPath in com.openinventor.inventor.viewercomponents
Methods in com.openinventor.inventor.viewercomponents with parameters of type SoPath Modifier and Type Method Description voidSoCameraInteractor. 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 SoPath Modifier and Type Method Description booleanSoROIManip. 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 SoPath Modifier and Type Method Description intPoPieChart. 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).
-