1 #ifndef COIN_SOINTERSECTIONDETECTIONACTION_H 2 #define COIN_SOINTERSECTIONDETECTIONACTION_H 36 #include <Inventor/tools/SbPimplPtr.h> 37 #include <Inventor/actions/SoSubAction.h> 38 #include <Inventor/actions/SoAction.h> 67 typedef SbBool SoIntersectionFilterCB(
void * closure,
const SoPath * p1,
const SoPath * p2);
70 void setIntersectionDetectionEpsilon(
float epsilon);
71 float getIntersectionDetectionEpsilon(
void)
const;
73 static void setIntersectionEpsilon(
float epsilon);
74 static float getIntersectionEpsilon(
void);
76 void setTypeEnabled(
SoType type, SbBool enable);
77 SbBool isTypeEnabled(
SoType type, SbBool checkgroups = FALSE)
const;
79 void setManipsEnabled(SbBool enable);
80 SbBool isManipsEnabled(
void)
const;
82 void setDraggersEnabled(SbBool enable);
83 SbBool isDraggersEnabled(
void)
const;
85 void setShapeInternalsEnabled(SbBool enable);
86 SbBool isShapeInternalsEnabled(
void)
const;
88 void addVisitationCallback(
SoType type, SoIntersectionVisitationCB * cb,
void * closure);
89 void removeVisitationCallback(
SoType type, SoIntersectionVisitationCB * cb,
void * closure);
93 virtual void apply(
const SoPathList & paths, SbBool obeysRules = FALSE);
95 virtual void setFilterCallback(SoIntersectionFilterCB * cb,
void * closure = NULL);
96 virtual void addIntersectionCallback(SoIntersectionCB * cb,
void * closure = NULL);
97 virtual void removeIntersectionCallback(SoIntersectionCB * cb,
void * closure = NULL);
108 #endif // !COIN_SOINTERSECTIONDETECTIONACTION_H static void initClass(void)
Definition: SoAction.cpp:370
The SoPathList class is a container for pointers to SoPath objects.
Definition: SoPathList.h:40
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:52
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:77
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
Response
Definition: SoCallbackAction.h:94
The SoIntersectionDetectionAction class is for detecting intersecting primitives in a scene...
Definition: SoIntersectionDetectionAction.h:52
Struct with collision information.
Definition: SoIntersectionDetectionAction.h:41
virtual void apply(SoNode *root)
Definition: SoAction.cpp:463
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59