#include <X3DPrototypeInstance.h>
Inheritance diagram for H3D::X3DPrototypeInstance:

Public Member Functions | |
| X3DPrototypeInstance (Inst< SFNode > _metadata=0) | |
| Constructor. | |
| virtual void | render () |
| Renders prototyped_node. | |
| virtual void | setPrototypedNode (Node *n) |
| Set the node that is the internal scenegraph of the prototype. | |
| virtual Node * | getPrototypedNode () |
| Get the node that is the internal scenegraph of the prototype. | |
| virtual string | defaultXMLContainerField () |
| Returns the default xml containerField attribute value. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Protected Attributes | |
| AutoRef< Node > | prototyped_node |
Friends | |
| class | X3D::X3DSAX2Handlers |
| We need to make it possible for X3DSAX2Handlers to set up routes to fields withing the X3DPrototypeNode, so it must have access to the id member variable. | |
| class | yy::VrmlParser |
| And the same for the VRML parser. | |
Any user-defined nodes declared with PROTO or EXTERNPROTO are instantiated using this base type. An X3DPrototypeInstance may be place anywhere in the scene graph where it is legal to place the first node declared within the prototype instance. For example, if the base type of first node is X3DAppearanceNode, that prototype may be instantiated anywhere in the scene graph that allows for an appearance node system.
|
|
And the same for the VRML parser. Bison code handles routing, so yy::vrml_parser must be a friend: |
1.4.5