Probing in a mesh.
More...
#include <MeshViz/3Ddata/PoMeshProbePoint.h>
Public Types | |
| typedef void | PoProbeCB (void *userData, PoMeshProbePoint *probe, const PbCell *cell) |
Public Member Functions | |
| virtual SoType | getTypeId () const |
| virtual const SoNodekitCatalog * | getNodekitCatalog () const |
| PoMeshProbePoint () | |
| virtual void | rebuild () |
| void | setMotionCallback (PoProbeCB *cb, void *data) |
| void | setChangeCellCallback (PoProbeCB *cb, void *data) |
| void | setEnterMeshCallback (PoProbeCB *cb, void *data) |
| void | setLeaveMeshCallback (PoProbeCB *cb, void *data) |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
| SoSFVec3f | position |
| SoSFFloat | tolerance |
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.
| typedef void PoMeshProbePoint::PoProbeCB(void *userData, PoMeshProbePoint *probe, const PbCell *cell) |
| PoMeshProbePoint::PoMeshProbePoint | ( | ) |
Constructor.
| static const SoNodekitCatalog* PoMeshProbePoint::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoMesh.
| static SoType PoMeshProbePoint::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoMesh.
| virtual const SoNodekitCatalog* PoMeshProbePoint::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoMesh.
| virtual SoType PoMeshProbePoint::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoMesh.
| virtual void PoMeshProbePoint::rebuild | ( | ) | [virtual] |
| void PoMeshProbePoint::setChangeCellCallback | ( | PoProbeCB * | cb, | |
| void * | data | |||
| ) |
Set a callback that is triggered each time the probe enters another cell.
| void PoMeshProbePoint::setEnterMeshCallback | ( | PoProbeCB * | cb, | |
| void * | data | |||
| ) |
Set a callback that is triggered each time the probe enters the mesh.
| void PoMeshProbePoint::setLeaveMeshCallback | ( | PoProbeCB * | cb, | |
| void * | data | |||
| ) |
Set a callback that is triggered each time the probe leaves the mesh.
| void PoMeshProbePoint::setMotionCallback | ( | PoProbeCB * | cb, | |
| void * | data | |||
| ) |
Set a callback that is triggered each time "position" change.
Position of the point probe.
Tolerance used to locate the position of the probe inside a cell of the mesh.