Documentation


X3DTK::GL::GLEngineLeafNode Class Reference

#include <GLEngineLeafNode.h>

Inheritance diagram for X3DTK::GL::GLEngineLeafNode:

X3DTK::GL::GLEngineNode Group List of all members.

Detailed Description

GL node with no child for an engine which must override the drawing of its children, e.g.

DeformableOctree

Author:
François Faure

Definition at line 29 of file GLEngineLeafNode.h.

Public Member Functions

 GLEngineLeafNode ()
 ~GLEngineLeafNode ()
void setX4DNode (X3DTK::X3D::X4DNode *n)
virtual void draw () const
 Renders the node in an openGL context.

virtual void update ()
 Update the GL node from the X3D node.

bool addChild (const X3DAbstractNode *&)
bool setChild (const X3DAbstractNode *&)
bool removeChild (const X3DAbstractNode *&)
MFNode getChildren () const
MFNode getChildList () const

Protected Attributes

X3DTK::X3D::X4DNodee_x4dNode


Constructor & Destructor Documentation

X3DTK::GL::GLEngineLeafNode::GLEngineLeafNode  ) 
 

Definition at line 21 of file GLEngineLeafNode.cpp.

X3DTK::GL::GLEngineLeafNode::~GLEngineLeafNode  ) 
 

Definition at line 26 of file GLEngineLeafNode.cpp.


Member Function Documentation

bool X3DTK::GL::GLEngineLeafNode::addChild const X3DAbstractNode *&   )  [inline]
 

Definition at line 43 of file GLEngineLeafNode.h.

void X3DTK::GL::GLEngineLeafNode::draw  )  const [virtual]
 

Renders the node in an openGL context.

Reimplemented from X3DTK::GL::GLEngineNode.

Definition at line 35 of file GLEngineLeafNode.cpp.

References X3DTK::X3D::X4DNode::draw(), e_x4dNode, and X3DTK::X3D::X4DNode::m_draw.

MFNode X3DTK::GL::GLEngineLeafNode::getChildList  )  const [inline]
 

Definition at line 47 of file GLEngineLeafNode.h.

MFNode X3DTK::GL::GLEngineLeafNode::getChildren  )  const [inline]
 

Definition at line 46 of file GLEngineLeafNode.h.

bool X3DTK::GL::GLEngineLeafNode::removeChild const X3DAbstractNode *&   )  [inline]
 

Definition at line 45 of file GLEngineLeafNode.h.

bool X3DTK::GL::GLEngineLeafNode::setChild const X3DAbstractNode *&   )  [inline]
 

Definition at line 44 of file GLEngineLeafNode.h.

void X3DTK::GL::GLEngineLeafNode::setX4DNode X3DTK::X3D::X4DNode n  ) 
 

Reimplemented from X3DTK::GL::GLEngineNode.

Definition at line 30 of file GLEngineLeafNode.cpp.

References e_x4dNode.

Referenced by X3DTK::X3D::GLBuilderEngineNodeVisitor::enterX4DNode().

virtual void X3DTK::GL::GLEngineLeafNode::update  )  [inline, virtual]
 

Update the GL node from the X3D node.

Reimplemented from X3DTK::GL::GLEngineNode.

Definition at line 41 of file GLEngineLeafNode.h.


Member Data Documentation

X3DTK::X3D::X4DNode* X3DTK::GL::GLEngineLeafNode::e_x4dNode [protected]
 

Reimplemented from X3DTK::GL::GLEngineNode.

Definition at line 50 of file GLEngineLeafNode.h.

Referenced by draw(), and setX4DNode().


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:34 2004 by doxygen 1.3.6