29 #ifndef __GEOMETRYGROUP_H__
30 #define __GEOMETRYGROUP_H__
53 class H3DAPI_API MFGeometry :
55 FieldRef< H3DDisplayListObject,
56 H3DDisplayListObject::DisplayList,
57 &H3DDisplayListObject::displayList >,
66 true > MFGeometryBase;
76 virtual void onAdd(
Node *n );
79 virtual void onRemove(
Node *n );
97 AnyNumber< X3DBoundedObject::SFBound > > {
100 virtual void update();
111 virtual void update();
118 public TypedField< MFVec3f, MFVec3f, AnyNumber< MFVec3f > > {
120 void unrouteAllFrom();
122 virtual void update();
127 Inst< SFBound > _bound = 0,
128 Inst< DisplayList > _displayList = 0,
129 Inst< IsTouched > _isTouched = 0,
130 Inst< MFVec3fPerIndex > _force = 0,
131 Inst< MFVec3fPerIndex > _contactPoint = 0,
132 Inst< MFVec3fPerIndex > _contactNormal = 0,
133 Inst< MFVec3fPerIndex > _contactTexCoord = 0,
134 Inst< SFBoundTree > _boundTree = 0,
135 Inst< MFGeometry > _geometry = 0 );
138 virtual int nrTriangles();
141 virtual void render();
152 virtual bool lineIntersect(
162 virtual void closestPoint(
const Vec3f &p,
172 virtual bool movingSphereIntersect(
H3DFloat radius,
181 virtual bool supportsTangentAttributes();
185 virtual void glRender();
Contains the DependentSFNode and DependentMFNode template classes.
Header file for X3DBoundedObject.
Header file for X3DGeometryNode, X3D scene-graph node.
DependentMFNode are modified TypedMFNode fields where the field dirty status is dependent on fields i...
Definition: DependentNodeFields.h:336
Class used for specifying a field member of a node in a DependentSFNode or DependentMFNode specificat...
Definition: DependentNodeFields.h:48
Specialized field class which grabs the first true value for each index for any of the contained geom...
Definition: GeometryGroup.h:109
Specialized field class which gets one value from each routed field and stores that at the correspond...
Definition: GeometryGroup.h:118
SFBound is specialized to update from the SFBound fields routed to it.
Definition: GeometryGroup.h:97
The GeometryGroup node is treated by the scenegraph as one geometry but it can contain several geomet...
Definition: GeometryGroup.h:50
H3DUniquePtr< MFGeometry > geometry
The geometry nodes.
Definition: GeometryGroup.h:192
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: GeometryGroup.h:195
We use the Field's lazy evaluation mechanisms to manage the GL display lists for rendering,...
Definition: H3DDisplayListObject.h:60
This abstract interface class is the base class for all node types that wants to create an OpenGL dis...
Definition: H3DDisplayListObject.h:54
H3DUniquePtr< DisplayList > displayList
The DisplayList instance handling the OpenGL caching of this object.
Definition: H3DDisplayListObject.h:256
The MFBool field contains a vector of boolean values.
Definition: MFBool.h:39
Node is the base class for all classes that can be part of the H3D scene-graph.
Definition: Node.h:46
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 is the base node type for all geometry in X3D.
Definition: X3DGeometryNode.h:61
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