X3DNode Class Reference

#include <X3DNode.h>

Inherited by ExternProtoDeclare, LayerSet, PixelTexture, ProtoDeclare, ProtoInstance, ProtoInterface, ROUTE, ShaderProgram, TextureProperties, X3DAppearanceChildNode, X3DAppearanceNode, X3DChildNode, X3DGeometricPropertyNode, X3DGeometryNode, X3DLayerNode, and X3DMaterialNode.

Collaboration diagram for X3DNode:

Collaboration graph

Public Member Functions

void AddField (const AP_String &name, X3DField *field)
virtual void Destroy (void)
AP_String GetDEF (void) const
X3DFieldGetField (const AP_String &name) const
AP_String GetUSE (void) const
virtual AP_Bool Init (void)
 Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes.
AP_Bool initialized (void) const
AP_String nameXml (void) const
X3DNodeType nodeType (void) const
 Inline.
virtual void Render (void)
virtual AP_Bool Update (const X3DEvent &event)
 X3DNode (const AP_Xml &xml, SFNode scene)
virtual ~X3DNode (void)

Protected Member Functions

SFNode Alloc (const AP_Xml &xml, SFNode scene)
AP_Float32MFColorToFloat (const MFColor &vector)
AP_Sint16 * MFInt32ToInt16 (const MFInt32 &vector)
AP_Sint32MFInt32ToInt32 (const MFInt32 &vector)
AP_Float32MFVec2fToFloat (const MFVec2f &vector)
AP_Float32MFVec3fToFloat (const MFVec3f &vector)

Protected Attributes

AP_String _m_DEF
MField _m_fields
 Not X3D ISO standard, need it for rendering.
AP_Bool _m_initialized
 Not X3D ISO standard, need it for rendering.
IS_m_IS
X3DMetadataObject_m_metadata
AP_String _m_nameXml
X3DNodeType _m_nodeType
SFNode _m_scene
 Not X3D ISO standard, need it for rendering.
AP_String _m_USE

Constructor & Destructor Documentation

X3DNode ( const AP_Xml xml,
SFNode  scene 
)

~X3DNode ( void   )  [virtual]


Member Function Documentation

void AddField ( const AP_String name,
X3DField field 
) [inline]

SFNode Alloc ( const AP_Xml xml,
SFNode  scene 
) [protected]

virtual void Destroy ( void   )  [inline, virtual]

Reimplemented in TimeSensor, and X3DGroupingNode.

AP_String GetDEF ( void   )  const [inline]

X3DField* GetField ( const AP_String name  )  const [inline]

AP_String GetUSE ( void   )  const [inline]

virtual AP_Bool Init ( void   )  [inline, virtual]

Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes.

Reimplemented in Appearance, FontStyle, ImageTexture, LayerSet, ProgramShader, ProtoBody, ProtoDeclare, ProtoInstance, Scene, Shape, Text, TimeSensor, X3DGroupingNode, and X3DLayerNode.

AP_Bool initialized ( void   )  const [inline]

Reimplemented in Scene.

AP_Float32 * MFColorToFloat ( const MFColor &  vector  )  [protected]

AP_Sint16 * MFInt32ToInt16 ( const MFInt32 &  vector  )  [protected]

AP_Sint32 * MFInt32ToInt32 ( const MFInt32 &  vector  )  [protected]

AP_Float32 * MFVec2fToFloat ( const MFVec2f &  vector  )  [protected]

AP_Float32 * MFVec3fToFloat ( const MFVec3f &  vector  )  [protected]

AP_String nameXml ( void   )  const [inline]

X3DNodeType nodeType ( void   )  const [inline]

Inline.

virtual void Render ( void   )  [inline, virtual]

virtual AP_Bool Update ( const X3DEvent event  )  [inline, virtual]


Field Documentation

AP_String _m_DEF [protected]

MField _m_fields [protected]

Not X3D ISO standard, need it for rendering.

Reimplemented in ShaderProgram.

AP_Bool _m_initialized [protected]

Not X3D ISO standard, need it for rendering.

IS* _m_IS [protected]

Reimplemented in X3DLightNode.

AP_String _m_nameXml [protected]

X3DNodeType _m_nodeType [protected]

SFNode _m_scene [protected]

Not X3D ISO standard, need it for rendering.

Reimplemented in ROUTE.

AP_String _m_USE [protected]


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

Generated on Fri Mar 5 16:50:46 2010 for CarLinO by  doxygen 1.5.8