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

X3DTK::GL::X3DShapeNode Class Reference

Class providing an interface for the equivalent of the X3DShapeNode in the X3DGL tree. More...

Inheritance diagram for X3DTK::GL::X3DShapeNode:

X3DTK::GL::X3DChildNode X3DTK::GL::X3DNode X3DTK::X3DAbstractNode X3DTK::GL::Shape List of all members.

Public Methods

Protected Methods


Detailed Description

Class providing an interface for the equivalent of the X3DShapeNode in the X3DGL tree.


Constructor & Destructor Documentation

X3DTK::GL::X3DShapeNode::X3DShapeNode  
 

Constructor.

virtual X3DTK::GL::X3DShapeNode::~X3DShapeNode   [virtual]
 

Virtual destructor.

X3DTK::GL::X3DShapeNode::X3DShapeNode const X3DShapeNode &    N [protected]
 

Copy constructor.


Member Function Documentation

virtual bool X3DTK::GL::X3DShapeNode::addChild const SFAbstractNode &    N [virtual]
 

Adds the child N.

Returns FALSE if the child already exists or N is not a valid child.

Reimplemented from X3DTK::X3DAbstractNode.

virtual SFNode X3DTK::GL::X3DShapeNode::clone   [virtual]
 

Clones the node.

Reimplemented from X3DTK::GL::X3DChildNode.

Reimplemented in X3DTK::GL::Shape.

SFNode X3DTK::GL::X3DShapeNode::getAppearance   const [inline]
 

Gets the Appearance attribute.

SFNode X3DTK::GL::X3DShapeNode::getGeometry   const [inline]
 

Gets the Geometry attribute.

virtual bool X3DTK::GL::X3DShapeNode::removeChild const SFAbstractNode &    N [virtual]
 

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DTK::X3DAbstractNode.

void X3DTK::GL::X3DShapeNode::setAppearance const X3DAppearanceNode   appearance
 

Sets the Appearance attribute.

virtual bool X3DTK::GL::X3DShapeNode::setChild const SFAbstractNode &    N [virtual]
 

Sets the child N.

Returns FALSE if N is not a valid child. If the child already exists then N becomes the new child.

Reimplemented from X3DTK::X3DAbstractNode.

void X3DTK::GL::X3DShapeNode::setGeometry const X3DGeometryNode   geometry
 

Sets the Geometry attribute.


Generated on Thu Oct 9 13:50:59 2003 for X3DToolKit by doxygen1.2.18