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 SoPath
SoGeneralPath. copy(int startFromNodeIndex)
Creates and returns a new path that is a copy of some or all of this path.SoPath
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(java.lang.String name)
Returns an array of all path with the given name.static SoPath
SoPath. 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.SoPath
SoPickedPoint. getPath()
Returns the path to the object that was intersected.static SoPath
SoDB. 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 void
SoGeneralPath. append(SoPath fromPath)
Adds all nodes in fromPath's chain to end of chain.void
SoNodeKitPath. append(SoPath fromPath)
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
SoGeneralPath. findFork(SoPath path)
If the two paths have different head nodes, this returns -1.int
SoNodeKitPath. 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 SoPath
SoAction. 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.SoPath
SoSearchAction. getPath()
Returns resulting path, or NULL if no path was found.SoPath
SoAction. getPathAppliedTo()
(Extender API) Returns the path the action is being applied to.SoPath
SoGetBoundingBoxAction. 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 void
SoSearchAction. addPath(SoPath path)
void
SoAction. apply(SoPath path)
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 SoPath Modifier and Type Field Description SoPath
SoCollidingPrimitive. path
Path of the shape.SoPath
SoCollisionManager.CollidingPrimitive. path
SoPath
SoIntersectingPrimitive. path
Path of the shape.Methods in com.openinventor.inventor.collision that return SoPath Modifier and Type Method Description SoPath
SoCollisionManager. getObject()
Returns the object that will be transformed.Methods in com.openinventor.inventor.collision with parameters of type SoPath Modifier and Type Method Description boolean
SoCollisionManager.Filter. accept(SoPath p1, SoPath p2)
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
SoCollisionManager. setObject(SoPath object)
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 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 SoPath
SoMFPath. getPath(int index)
Returns pointer to nth path.SoPath
SoSFPath. getValue()
Returns this field's value.SoPath
SoMFPath. getValueAt(int i)
Methods in com.openinventor.inventor.fields with parameters of type SoPath Modifier and Type Method Description int
SoMFPath. find(SoPath targetValue)
Calls find(targetValue, false).int
SoMFPath. find(SoPath targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFPath. set1Value(int index, SoPath newValue)
Sets the index'th value in the array to newValue.void
SoMFPath. setValue(SoPath newValue)
Sets the first value in the array to newValue, and deletes.void
SoSFPath. setValue(SoPath newValue)
Sets this field to newValue.void
SoMFPath. 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 boolean
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 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 void
SoByteStream. convert(SoPath path)
Calls convert(path, true).void
SoByteStream. convert(SoPath path, boolean binaryFormat)
Converts the passed scene graph object(s) into a byte stream.static SoShape
SbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume)
Calls createFrom2DPoints(pointsInCam, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShape
SbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal)
Create an extruded shape from points in camera space.static SoShape
SbExtrusionGenerator. createFrom3DPoints(java.util.Collection<SbVec3f> pointsInWorld, SoPath nodePath, SbViewVolume volume)
Calls createFrom3DPoints(pointsInWorld, nodePath, volume, new com.openinventor.inventor.SbBox3f()).static SoShape
SbExtrusionGenerator. 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 SoPath
SoSelectionPickCB. 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 void
SoSelectionPathCB. 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 boolean
SoInteractionKit. 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 SoPath
SoEventCallback. getPath()
Gets the path which must be picked in order for the callbacks to be invoked.SoPath
SoExtSelection.PreFilterEventArg. getPath()
Returns path to node that will be traversed just after event is called.SoPath
SoSelection. getPath(int index)
Returns the ith path in the selection list.SoPath
SoSelection. 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 void
SoSelection. deselect(SoPath path)
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
SoSelection. select(SoPath path)
Selects the passed path by adding it to the selection list.void
SoEventCallback. setPath(SoPath path)
Sets the path which must be picked in order for the callbacks to be invoked.void
SoSelection. 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.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 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 SoPath
SoPathSensor. getAttachedPath()
Returns the path that this sensor is sensing, or NULL if it is not attached to any path.SoPath
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 Modifier and Type Method Description void
SoPathSensor. 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 void
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 SoPath Modifier and Type Method Description boolean
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 SoPath Modifier and Type Method Description int
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).
-