Scene Class Reference

#include <Scene.h>

Inherits X3D::X3DGroupingNode.

Inherited by GOAL_X3d.

Collaboration diagram for Scene:

Collaboration graph

Public Member Functions

void AddDEF (const AP_String &name, SFNode node)
void AddNodeProto (const AP_String &nodeProto, field *field)
void AddProto (const AP_String &name, const AP_Xml &node)
void AddRoute (ROUTE *route)
AP_Float32 bottom (void) const
void DelProto (const AP_String &name)
SFNode GetDEF (const AP_String &name) const
fieldGetNodeProto (const AP_String &nodeProto)
AP_Xml GetProto (const AP_String &name) const
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_Float32 left (void) const
AP_Bool OpenFile (const AP_String &name, AP_File &file)
AP_Bool OpenFile (const AP_Array &url, AP_File &file)
AP_Float32 right (void) const
 Scene (const AP_Xml &xml, const AP_Array &searchPath)
 Scene (const AP_Xml &xml, const AP_String &searchPath)
const AP_ArraysearchPath (void) const
void setBottom (const AP_Float32 value)
void setLeft (const AP_Float32 value)
 Inline.
void setRight (const AP_Float32 value)
void setTop (const AP_Float32 value)
AP_Float32 top (void) const
AP_Bool Update (const X3DEvent &event)
virtual ~Scene (void)

Protected Attributes

AP_Float32 _m_bottom
MDEF _m_DEFs
AP_Float32 _m_left
 Not X3D ISO standard. Used for rendering pourpose.
I< field * > _m_nodeProto
Proto _m_protos
AP_Float32 _m_right
M< ROUTE * > _m_routes
AP_Array _m_searchPath
AP_Float32 _m_top

Constructor & Destructor Documentation

Scene ( const AP_Xml xml,
const AP_String searchPath 
)

Scene ( const AP_Xml xml,
const AP_Array searchPath 
)

~Scene ( void   )  [virtual]


Member Function Documentation

void AddDEF ( const AP_String name,
SFNode  node 
) [inline]

void AddNodeProto ( const AP_String nodeProto,
field field 
) [inline]

void AddProto ( const AP_String name,
const AP_Xml node 
) [inline]

void AddRoute ( ROUTE route  )  [inline]

AP_Float32 bottom ( void   )  const [inline]

void DelProto ( const AP_String name  )  [inline]

SFNode GetDEF ( const AP_String name  )  const [inline]

field* GetNodeProto ( const AP_String nodeProto  )  [inline]

AP_Xml GetProto ( const AP_String name  )  const [inline]

AP_Bool Init ( void   )  [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 from X3DGroupingNode.

AP_Bool initialized ( void   )  const [inline]

Reimplemented from X3DNode.

AP_Float32 left ( void   )  const [inline]

AP_Bool OpenFile ( const AP_String name,
AP_File file 
)

AP_Bool OpenFile ( const AP_Array url,
AP_File file 
)

AP_Float32 right ( void   )  const [inline]

const AP_Array& searchPath ( void   )  const [inline]

void setBottom ( const AP_Float32  value  )  [inline]

void setLeft ( const AP_Float32  value  )  [inline]

Inline.

void setRight ( const AP_Float32  value  )  [inline]

void setTop ( const AP_Float32  value  )  [inline]

AP_Float32 top ( void   )  const [inline]

AP_Bool Update ( const X3DEvent event  )  [virtual]

Reimplemented from X3DGroupingNode.


Field Documentation

AP_Float32 _m_bottom [protected]

MDEF _m_DEFs [protected]

AP_Float32 _m_left [protected]

Not X3D ISO standard. Used for rendering pourpose.

I<field*> _m_nodeProto [protected]

Proto _m_protos [protected]

AP_Float32 _m_right [protected]

M<ROUTE*> _m_routes [protected]

AP_Array _m_searchPath [protected]

AP_Float32 _m_top [protected]


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

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