Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

AbstractChild Class Reference

Base class for all child nodes. More...

Inheritance diagram for AbstractChild:

AbstractBase ChildNode Node Node AbstractLight Background ColorInterpolator CoordinateInterpolator CylinderSensor Fog Group Inline LOD NavigationInfo NormalInterpolator OrientationInterpolator PlaneSensor PositionInterpolator ProximitySensor ScalarInterpolator Shape Sound SphereSensor Switch TimeSensor TouchSensor Viewpoint VisibilitySensor WorldInfo List of all members.

Public Methods

virtual ~AbstractChild ()=0 throw ()
 Destructor.


Protected Methods

 AbstractChild (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.


Detailed Description

Base class for all child nodes.

VRML97 defines "child" nodes as those that may occur at the root of the scene, in the "children" field of a Group, Transform, Anchor, or Billboard node, in the "level" field of a LOD node, or in the "choice" field of a Switch node.


Constructor & Destructor Documentation

~AbstractChild   throw () [pure virtual]
 

Destructor.

AbstractChild const NodeType   nodeType,
const ScopePtr   scope
[protected]
 

Constructor.

Parameters:
nodeType the NodeType for the node.
scope the Scope the new node should belong to.