1 #ifndef COIN_SOINTERSECTIONDETECTIONACTION_H 2 #define COIN_SOINTERSECTIONDETECTIONACTION_H 27 #include <Inventor/actions/SoSubAction.h> 28 #include <Inventor/actions/SoAction.h> 29 #include <Inventor/actions/SoCallbackAction.h> 42 class SoIntersectionDetectionActionP;
59 typedef SbBool SoIntersectionFilterCB(
void * closure,
const SoPath * p1,
const SoPath * p2);
62 void setIntersectionDetectionEpsilon(
float epsilon);
63 float getIntersectionDetectionEpsilon(
void)
const;
65 static void setIntersectionEpsilon(
float epsilon);
66 static float getIntersectionEpsilon(
void);
68 void setTypeEnabled(
SoType type, SbBool enable);
69 SbBool isTypeEnabled(
SoType type, SbBool checkgroups = FALSE)
const;
71 void setManipsEnabled(SbBool enable);
72 SbBool isManipsEnabled(
void)
const;
74 void setDraggersEnabled(SbBool enable);
75 SbBool isDraggersEnabled(
void)
const;
77 void setShapeInternalsEnabled(SbBool enable);
78 SbBool isShapeInternalsEnabled(
void)
const;
80 void addVisitationCallback(
SoType type, SoIntersectionVisitationCB * cb,
void * closure);
81 void removeVisitationCallback(
SoType type, SoIntersectionVisitationCB * cb,
void * closure);
85 virtual void apply(
const SoPathList & paths, SbBool obeysRules = FALSE);
87 virtual void setFilterCallback(SoIntersectionFilterCB * cb,
void * closure = NULL);
88 virtual void addIntersectionCallback(SoIntersectionCB * cb,
void * closure = NULL);
89 virtual void removeIntersectionCallback(SoIntersectionCB * cb,
void * closure = NULL);
92 SoIntersectionDetectionActionP * pimpl;
95 #endif // !COIN_SOINTERSECTIONDETECTIONACTION_H static void initClass(void)
Definition: SoAction.cpp:392
The SoPathList class is a container for pointers to SoPath objects.As this class inherits SoBaseList...
Definition: SoPathList.h:31
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:43
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:67
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
Response
Definition: SoCallbackAction.h:85
The SoIntersectionDetectionAction class is for detecting intersecting primitives in a scene...
Definition: SoIntersectionDetectionAction.h:44
Struct with collision information.
Definition: SoIntersectionDetectionAction.h:31
virtual void apply(SoNode *root)
Definition: SoAction.cpp:476
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:50