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;
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:40
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:68
static void initClass(void)
Definition SoAction.cpp:366
virtual void apply(SoNode *root)
Definition SoAction.cpp:459
Response
Definition SoCallbackAction.h:85
The SoIntersectionDetectionAction class is for detecting intersecting primitives in a scene.
Definition SoIntersectionDetectionAction.h:43
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoPathList class is a container for pointers to SoPath objects.
Definition SoPathList.h:31
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:43
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:50
Struct with collision information.
Definition SoIntersectionDetectionAction.h:32
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.