H3D::X3DShapeNode::SFGeometryNode Class Reference

SFGeometryNode is dependent on the displayList field of its encapsulated X3DGeometryNode node, i.e. More...

#include <H3D/X3DShapeNode.h>

Inheritance diagram for H3D::X3DShapeNode::SFGeometryNode:

Inheritance graph

List of all members.

Public Member Functions

 SFGeometryNode ()
 Constructor.
 ~SFGeometryNode ()
 Destructor.
virtual void onAdd (Node *n)
 This function will be called when the value of RefCountField changes.
virtual void onRemove (Node *n)
 This function will be called when the value of RefCountField changes.


Detailed Description

SFGeometryNode is dependent on the displayList field of its encapsulated X3DGeometryNode node, i.e.

an event from that field will trigger an event from the SFGeometryNode as well. Also we ovverride onAdd and onRemove in order to uphold a route between the encapsulated X3DGeometryNode's bound field to the bound field of the X3DShapeNode the field resides in.


Constructor & Destructor Documentation

H3D::X3DShapeNode::SFGeometryNode::~SFGeometryNode (  )  [inline]

Destructor.

Sets the value to NULL in order to get the correct onAdd and onRemove functions to be called.


Member Function Documentation

virtual void H3D::X3DShapeNode::SFGeometryNode::onAdd ( Node n  )  [inline, virtual]

This function will be called when the value of RefCountField changes.

As soon as the value changes onRemove will be called on the old value and onAdd will be called on the new value.

Parameters:
n The new value.

References H3D::H3DBoundedObject::bound.

virtual void H3D::X3DShapeNode::SFGeometryNode::onRemove ( Node n  )  [inline, virtual]

This function will be called when the value of RefCountField changes.

As soon as the value changes onRemove will be called on the old value and onAdd will be called on the new value.

Parameters:
n The old value.

References H3D::H3DBoundedObject::bound.


The documentation for this class was generated from the following file:

Generated on Fri Nov 7 10:31:31 2008 for H3D API by  doxygen 1.5.7