H3D::Node Class Reference

Node is the base class for all classes that can be part of the H3D scene-graph. More...

#include <Node.h>

Inheritance diagram for H3D::Node:

Inheritance graph
List of all members.

Public Member Functions

 Node ()
 Constructor.
virtual ~Node ()
 Destructor.
virtual void render ()
 the render() function is used for the depth-first rendering traversal of the scene-graph.
virtual string defaultXMLContainerField ()
 Returns the default xml containerField attribute value.
virtual FieldgetField (const string &name)
 return a pointer to the field specified by name within this instance

Static Public Member Functions

template<class N>
static NodenewInstance ()

Protected Attributes

int id

Static Protected Attributes

static H3DNodeDatabase database
static int nr_nodes_created = 0

Friends

class Field
class SField
class MField
class RefCountSField

Detailed Description

Node is the base class for all classes that can be part of the H3D scene-graph.


Member Function Documentation

virtual string H3D::Node::defaultXMLContainerField  )  [inline, virtual]
 

Returns the default xml containerField attribute value.

For this node it is "children".

Reimplemented in H3D::DeviceLog, H3D::FillProperties, H3D::H3DCoordinateDeformerNode, H3D::H3DHapticsDevice, H3D::H3DImageLoaderNode, H3D::H3DOptionNode, H3D::H3DSurfaceNode, H3D::H3DVideoClipDecoderNode, H3D::LineProperties, H3D::MetadataDouble, H3D::MetadataFloat, H3D::MetadataInteger, H3D::MetadataSet, H3D::MetadataString, H3D::NurbsTextureCoordinate, H3D::RenderProperties, H3D::ShaderPart, H3D::ShaderProgram, H3D::TextureProperties, H3D::X3DAppearanceNode, H3D::X3DColorNode, H3D::X3DCoordinateNode, H3D::X3DFontStyleNode, H3D::X3DGeometryNode, H3D::X3DMaterialNode, H3D::X3DNormalNode, H3D::X3DPrototypeInstance, H3D::X3DShaderNode, H3D::X3DSoundSourceNode, H3D::X3DTextureCoordinateNode, H3D::X3DTextureNode, H3D::X3DTextureTransformNode, and H3D::X3DVertexAttributeNode.


Generated on Thu Aug 24 12:39:42 2006 for H3D API by  doxygen 1.4.5