Package com.openinventor.meshviz.data
Class PoMeshProbePoint
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.misc.SoBase
com.openinventor.inventor.fields.SoFieldContainer
com.openinventor.inventor.nodes.SoNode
com.openinventor.inventor.nodekits.SoBaseKit
com.openinventor.meshviz.graph.PoBase
com.openinventor.meshviz.data.Po3DdataMaster
com.openinventor.meshviz.data.PoMesh
com.openinventor.meshviz.data.PoMeshProbePoint
- All Implemented Interfaces:
SafeDisposable
Probing in a mesh.
Class to get information about the position of a probe. Callbacks can be trigger each time the probe moves. These callbacks have as parameter, the cell that contains the position of the probe.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh
PoMesh.ColoringTypes
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFVec3f
Position of the point probe.final SoSFFloat
Tolerance used to locate the position of the probe inside a cell of the mesh.Fields inherited from class com.openinventor.meshviz.data.PoMesh
coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndex
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for this class.void
setChangeCellCallback
(PoProbeCB cb, Object userData) Set a callback that is triggered each time the probe enters another cellvoid
setEnterMeshCallback
(PoProbeCB cb, Object userData) Set a callback that is triggered each time the probe enters the meshvoid
setLeaveMeshCallback
(PoProbeCB cb, Object userData) Set a callback that is triggered each time the probe leaves the meshvoid
setMotionCallback
(PoProbeCB cb, Object userData) Set a callback that is triggered each time "position" changeMethods inherited from class com.openinventor.meshviz.data.PoMesh
getDataMapping, getIsovaluesList, getMesh, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMapping
Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
position
Position of the point probe. -
tolerance
Tolerance used to locate the position of the probe inside a cell of the mesh.
-
-
Constructor Details
-
PoMeshProbePoint
public PoMeshProbePoint()Constructor.
-
-
Method Details
-
setMotionCallback
Set a callback that is triggered each time "position" change -
setChangeCellCallback
Set a callback that is triggered each time the probe enters another cell -
setEnterMeshCallback
Set a callback that is triggered each time the probe enters the mesh -
setLeaveMeshCallback
Set a callback that is triggered each time the probe leaves the mesh -
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-