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.ColoringTypesNested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFVec3fPosition of the point probe.final SoSFFloatTolerance 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, vecsIndexFields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalogReturns theSoNodekitCatalogfor this class.voidsetChangeCellCallback(PoProbeCB cb, Object userData) Set a callback that is triggered each time the probe enters another cellvoidsetEnterMeshCallback(PoProbeCB cb, Object userData) Set a callback that is triggered each time the probe enters the meshvoidsetLeaveMeshCallback(PoProbeCB cb, Object userData) Set a callback that is triggered each time the probe leaves the meshvoidsetMotionCallback(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, setModuleDataMappingMethods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitMethods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenMethods 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, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods 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 theSoNodekitCatalogfor this class.
-