84 AnyNumber< X3DBoundedObject::SFBound > > {
87 virtual void update();
91 Switch( Inst< AddChildren > _addChildren = 0,
92 Inst< RemoveChildren > _removeChildren = 0,
93 Inst< MFChild > _children = 0,
94 Inst< SFNode > _metadata = 0,
95 Inst< SFBound > _bound = 0,
96 Inst< SFVec3f > _bboxCenter = 0,
97 Inst< SFVec3f > _bboxSize = 0,
98 Inst< SFInt32 > _whichChoice = 0 );
101 virtual void render();
114 virtual bool lineIntersect(
125 virtual void closestPoint(
const Vec3f &p,
137 virtual bool movingSphereIntersect(
H3DFloat radius,
Contains the SFInt32 field class.
Header file for X3DGroupingNode, X3D scene-graph node.
SFBound is specialized to update from the SFBound fields routed to it.
Definition: Switch.h:84
The Switch grouping node traverses zero or one of the nodes specified in the choice field.
Definition: Switch.h:67
H3DUniquePtr< SFInt32 > whichChoice
The whichChoice field specifies the index of the child to traverse, with the first child having index...
Definition: Switch.h:151
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: Switch.h:154
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
A template modifier class for adding type checking on the routes to any Field class.
Definition: TypedField.h:84
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