29 #ifndef __COLLISION_H__
30 #define __COLLISION_H__
122 Collision( Inst< AddChildren > _addChildren = 0,
123 Inst< RemoveChildren > _removeChildren = 0,
124 Inst< SFBool > _enabled = 0,
125 Inst< MFChild > _children = 0,
126 Inst< SFNode > _metadata = 0,
127 Inst< SFTime > _collideTime = 0,
128 Inst< SFBool > _isActive = 0,
129 Inst< SFBound > _bound = 0,
130 Inst< SFVec3f > _bboxCenter = 0,
131 Inst< SFVec3f > _bboxSize = 0,
132 Inst< SFChild > _proxy = 0 );
141 virtual bool lineIntersect(
152 virtual void closestPoint(
const Vec3f &p,
164 virtual bool movingSphereIntersect(
H3DFloat radius,
Header file for X3DGroupingNode, X3D scene-graph node.
Header file for X3DSensorNode, X3D scene-graph node.
The Collision node is a grouping node that specifies the collision detection properties for its child...
Definition: Collision.h:116
H3DUniquePtr< SFBool > enabled
The enabled field enables and disables collision detection as well as terrain following (not implemen...
Definition: Collision.h:197
H3DUniquePtr< SFTime > collideTime
The collideTime field generates an event specifying the time when the avatar (see NavigationInfo) mak...
Definition: Collision.h:174
H3DUniquePtr< SFChild > proxy
The collision proxy, defined in the proxy field, is any legal children node as described in 10....
Definition: Collision.h:184
H3DUniquePtr< SFBool > isActive
The value of the isActive field indicates the current state of the Collision node.
Definition: Collision.h:206
Template to make sure that the Node that is set in a SFNode is of a specified Node type.
Definition: SFNode.h:97
This abstract node type indicates that concrete node types derived from it contain children nodes and...
Definition: X3DGroupingNode.h:53
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194
Used as input to lineIntersect functions.
Definition: Node.h:224
Used as input to intersection functions.
Definition: Node.h:114