AnimaL |
Tutorial |
Documentation |
#include <X4DNode.h>
Inheritance diagram for X3DTK::X3D::X4DNode:
This class is only used to process your new classes automatically. If your new class does not derive from this class, then you have to modify GLBuilderEngineNodeVisitor.
Definition at line 27 of file X4DNode.h.
Public Member Functions | |
virtual void | init () |
Called once the graph is created. | |
virtual void | postInit () |
Called once the graph is created. | |
virtual void | draw () |
Draw the derived object in OpenGL. | |
X4DNode () | |
virtual | ~X4DNode () |
virtual void | toggleDraw (bool b) |
Public Attributes | |
bool | m_draw |
the node is drawn iff m_draw |
|
Definition at line 18 of file X4DNode.cpp. |
|
Definition at line 24 of file X4DNode.cpp. |
|
Draw the derived object in OpenGL. This base implementation does nothing. Reimplemented in X3DTK::X3D::AnimalEngineNode< AnimalEngine >, X3DTK::X3D::EngineNode, X3DTK::X3D::DeformableOctreeNode, X3DTK::X3D::DeformableOctreeParticleSystemNode, X3DTK::X3D::EngineGroupNode, X3DTK::X3D::FrameNode, X3DTK::X3D::AnimalEngineNode< AMassSpringEngine >, and X3DTK::X3D::AnimalEngineNode< AMorphingEngine >. Definition at line 41 of file X4DNode.h. Referenced by X3DTK::GL::GLEngineNode::draw(), and X3DTK::GL::GLEngineLeafNode::draw(). |
|
Called once the graph is created. If you overload this method, it is a good idea to explicitly initialize the parent class before the derived class. Base implementation does nothing. Reimplemented in X3DTK::X3D::AnimalEngineNode< AnimalEngine >, X3DTK::X3D::EngineNode, X3DTK::X3D::EngineGroupNode, X3DTK::X3D::MorphingNode, X3DTK::X3D::FrameNode, X3DTK::X3D::MassSpringNode, X3DTK::X3D::AnimalEngineNode< AMassSpringEngine >, and X3DTK::X3D::AnimalEngineNode< AMorphingEngine >. Definition at line 32 of file X4DNode.h. Referenced by X3DTK::X3D::EngineLoaderVisitor::enterNode(). |
|
Called once the graph is created. If you overload this method, it is a good idea to explicitly initialize the parent class before the derived class. Base implementation does nothing. Reimplemented in X3DTK::X3D::EngineNode, X3DTK::X3D::DeformableOctreeNode, X3DTK::X3D::DeformableOctreeParticleSystemNode, and X3DTK::X3D::DeformableOctreeShapeNode. Definition at line 37 of file X4DNode.h. Referenced by X3DTK::X3D::EngineLoaderVisitor::leaveNode(). |
|
Definition at line 49 of file X4DNode.h. References m_draw. |
|
the node is drawn iff m_draw
Definition at line 51 of file X4DNode.h. Referenced by X3DTK::Qt::createEngineNodeQWidget(), X3DTK::Qt::createX4DNodeQWidget(), X3DTK::GL::GLEngineNode::draw(), X3DTK::GL::GLEngineLeafNode::draw(), and toggleDraw(). |