1 #ifndef COIN_SOINTERSECTIONDETECTIONACTION_H 2 #define COIN_SOINTERSECTIONDETECTIONACTION_H 27 #include <Inventor/tools/SbPimplPtr.h> 28 #include <Inventor/actions/SoSubAction.h> 29 #include <Inventor/actions/SoAction.h> 30 #include <Inventor/actions/SoCallbackAction.h> 58 typedef SbBool SoIntersectionFilterCB(
void * closure,
const SoPath * p1,
const SoPath * p2);
61 void setIntersectionDetectionEpsilon(
float epsilon);
62 float getIntersectionDetectionEpsilon(
void)
const;
64 static void setIntersectionEpsilon(
float epsilon);
65 static float getIntersectionEpsilon(
void);
67 void setTypeEnabled(
SoType type, SbBool enable);
68 SbBool isTypeEnabled(
SoType type, SbBool checkgroups = FALSE)
const;
70 void setManipsEnabled(SbBool enable);
71 SbBool isManipsEnabled(
void)
const;
73 void setDraggersEnabled(SbBool enable);
74 SbBool isDraggersEnabled(
void)
const;
76 void setShapeInternalsEnabled(SbBool enable);
77 SbBool isShapeInternalsEnabled(
void)
const;
79 void addVisitationCallback(
SoType type, SoIntersectionVisitationCB * cb,
void * closure);
80 void removeVisitationCallback(
SoType type, SoIntersectionVisitationCB * cb,
void * closure);
84 virtual void apply(
const SoPathList & paths, SbBool obeysRules = FALSE);
86 virtual void setFilterCallback(SoIntersectionFilterCB * cb,
void * closure = NULL);
87 virtual void addIntersectionCallback(SoIntersectionCB * cb,
void * closure = NULL);
88 virtual void removeIntersectionCallback(SoIntersectionCB * cb,
void * closure = NULL);
92 SbPimplPtr<PImpl> pimpl;
99 #endif // !COIN_SOINTERSECTIONDETECTIONACTION_H static void initClass(void)
Definition: SoAction.cpp:366
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:68
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
Response
Definition: SoCallbackAction.h:85
The SoIntersectionDetectionAction class is for detecting intersecting primitives in a scene...
Definition: SoIntersectionDetectionAction.h:43
Struct with collision information.
Definition: SoIntersectionDetectionAction.h:32
virtual void apply(SoNode *root)
Definition: SoAction.cpp:459
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