Xj3D 2.0 VRML/X3D Code API

Package org.web3d.vrml.nodes.proto

Utility classes to load and represent PROTO and EXTERNPROTO nodes.

See:
          Description

Class Summary
AbstractProto Base representation of the common functionality for the PROTO and EXTERNPROTO node types.
ExternalPrototypeDecl ExternalPrototypeDecl is an implementation of the VRMLExternProtoDeclare interface.
ProtoBuilder A SAV interface for dealing with building a single proto.
ProtoFieldInfo Convenience data holder to keep a node and field value together.
ProtoInstancePlaceHolder A placeholder instance of a Prototype used when declaring and then using a nested proto instance.
ProtoROUTE Internal Proto handler representation of a ROUTE.
ProtoScene Implementation of the BasicScene interface that is used withing protos.
PrototypeDecl Denotes an ordinary prototype node declaration.
 

Package org.web3d.vrml.nodes.proto Description

Utility classes to load and represent PROTO and EXTERNPROTO nodes.

The core of this package is used to construct proto instances from the file as it is being built. That instance remains in memory as a template and can be used to create a runtime instance whenever required and with whatever renderer is required.

This package will handle both protos and externprotos, but requires an external loader to find, resolve and build those extern proto instances. As far as the structures are concerned in this class, placeholder instances are used to represent externprotos that are declared and used inside a PROTO body. These will not be resolved until a runtime instance of the PROTO is created.


Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium