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>
42class 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;
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:37
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:67
static void initClass(void)
Definition SoAction.cpp:392
virtual void apply(SoNode *root)
Definition SoAction.cpp:476
Response
Definition SoCallbackAction.h:85
The SoIntersectionDetectionAction class is for detecting intersecting primitives in a scene.
Definition SoIntersectionDetectionAction.h:44
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:31
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen. 1.11.0