libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moSceneNode Class Reference

#include <mo3dModelManager.h>

Inheritance diagram for moSceneNode:
moAbstract mo3DSModelSceneNode mo3dWidget moObject3D moBone moLine moLineSegments moLOD moMesh moPoints moShape moSkeleton moSkinnedMesh moSprite

Public Member Functions

 moSceneNode ()
 
virtual ~moSceneNode ()
 
 moSceneNode (const moText &name)
 
 moSceneNode (const moSceneNode &p_src)
 
moSceneNodeoperator= (const moSceneNode &p_src)
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
virtual void Draw (moEffectState *state, GLuint g_ViewMode)
 
virtual void Update ()
 
virtual void Interaction ()
 
virtual moSceneNodeGetParent ()
 
virtual void SetParent (moSceneNode *p_parent)
 
void SetProjectionMatrix (const moGLMatrixf &p_projection_matrix)
 
void SetModelMatrix (const moGLMatrixf &p_model_matrix)
 
const moGLMatrixfGetProjectionMatrix () const
 
const moGLMatrixfGetModelMatrix () const
 
virtual int AddChild (moSceneNodePointer p_child_node)
 
virtual int RemoveChild (moSceneNodePointer p_child_node)
 
virtual int RemoveChild (int p_node_index)
 
virtual moSceneNodeGetChild (int p_index_child)
 
virtual moSceneNodePointerArray & GetChilds ()
 
virtual moSceneNodeGetObjectByName (const moText &p_name)
 
virtual moSceneNodeGetObjectById (MOulong p_id)
 
MOulong GetId ()
 
const moTextGetName ()
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Static Public Member Functions

static MOulong CreateUID ()
 

Static Public Attributes

static MOulong UID
 
- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Protected Attributes

void * SceneNodeImplementation
 
moGLMatrixf m_ProjectionMatrix
 
moGLMatrixf m_ModelMatrix
 
moSceneNodePointerArray m_Childrens
 
moSceneNodem_Parent
 
MOulong m_Id
 
moText m_Name
 

Additional Inherited Members

- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 

Detailed Description

Definition at line 157 of file mo3dModelManager.h.

Constructor & Destructor Documentation

moSceneNode::moSceneNode ( )

Definition at line 50 of file mo3dModelManager.cpp.

moSceneNode::~moSceneNode ( )
virtual

Definition at line 74 of file mo3dModelManager.cpp.

moSceneNode::moSceneNode ( const moText name)

Definition at line 55 of file mo3dModelManager.cpp.

moSceneNode::moSceneNode ( const moSceneNode p_src)

Definition at line 60 of file mo3dModelManager.cpp.

Member Function Documentation

int moSceneNode::AddChild ( moSceneNodePointer  p_child_node)
virtual

Definition at line 125 of file mo3dModelManager.cpp.

static MOulong moSceneNode::CreateUID ( )
static
void moSceneNode::Draw ( moEffectState state,
GLuint  g_ViewMode 
)
virtual

Reimplemented in mo3DSModelSceneNode.

Definition at line 149 of file mo3dModelManager.cpp.

MOboolean moSceneNode::Finish ( )
virtual

Finaliza el objeto, libera recursos.

Función de finalización. Libera los recursos generados en la función de inicialización.

Returns
verdadero si fue exitosa o falso en otro caso

Reimplemented from moAbstract.

Reimplemented in mo3DSModelSceneNode.

Definition at line 84 of file mo3dModelManager.cpp.

moSceneNodePointer moSceneNode::GetChild ( int  p_index_child)
virtual

Definition at line 121 of file mo3dModelManager.cpp.

virtual moSceneNodePointerArray& moSceneNode::GetChilds ( )
inlinevirtual

Definition at line 199 of file mo3dModelManager.h.

MOulong moSceneNode::GetId ( )
inline

Definition at line 204 of file mo3dModelManager.h.

const moGLMatrixf& moSceneNode::GetModelMatrix ( ) const
inline

Definition at line 190 of file mo3dModelManager.h.

const moText& moSceneNode::GetName ( )
inline

Definition at line 205 of file mo3dModelManager.h.

moSceneNode * moSceneNode::GetObjectById ( MOulong  p_id)
virtual

Definition at line 105 of file mo3dModelManager.cpp.

moSceneNode * moSceneNode::GetObjectByName ( const moText p_name)
virtual

Definition at line 89 of file mo3dModelManager.cpp.

virtual moSceneNode* moSceneNode::GetParent ( )
inlinevirtual

Definition at line 174 of file mo3dModelManager.h.

const moGLMatrixf& moSceneNode::GetProjectionMatrix ( ) const
inline

Definition at line 187 of file mo3dModelManager.h.

MOboolean moSceneNode::Init ( )
virtual

Inicializa el objeto.

Función de Inicialización. Todos los recursos manejados exclusivamente por este objeto son generados aquí.

Returns
verdadero si fue exitosa o falso en otro caso

Reimplemented from moAbstract.

Reimplemented in mo3DSModelSceneNode.

Definition at line 78 of file mo3dModelManager.cpp.

void moSceneNode::Interaction ( )
virtual

Reimplemented in mo3dWidget, and mo3DSModelSceneNode.

Definition at line 165 of file mo3dModelManager.cpp.

moSceneNode & moSceneNode::operator= ( const moSceneNode p_src)

Definition at line 65 of file mo3dModelManager.cpp.

int moSceneNode::RemoveChild ( moSceneNodePointer  p_child_node)
virtual

Definition at line 135 of file mo3dModelManager.cpp.

int moSceneNode::RemoveChild ( int  p_node_index)
virtual

Definition at line 130 of file mo3dModelManager.cpp.

void moSceneNode::SetModelMatrix ( const moGLMatrixf p_model_matrix)
inline

Definition at line 184 of file mo3dModelManager.h.

virtual void moSceneNode::SetParent ( moSceneNode p_parent)
inlinevirtual

Definition at line 177 of file mo3dModelManager.h.

void moSceneNode::SetProjectionMatrix ( const moGLMatrixf p_projection_matrix)
inline

Definition at line 181 of file mo3dModelManager.h.

void moSceneNode::Update ( )
virtual

Reimplemented in mo3dWidget, and mo3DSModelSceneNode.

Definition at line 161 of file mo3dModelManager.cpp.

Member Data Documentation

moSceneNodePointerArray moSceneNode::m_Childrens
protected

Definition at line 218 of file mo3dModelManager.h.

MOulong moSceneNode::m_Id
protected

Definition at line 220 of file mo3dModelManager.h.

moGLMatrixf moSceneNode::m_ModelMatrix
protected

Definition at line 216 of file mo3dModelManager.h.

moText moSceneNode::m_Name
protected

Definition at line 221 of file mo3dModelManager.h.

moSceneNode* moSceneNode::m_Parent
protected

Definition at line 219 of file mo3dModelManager.h.

moGLMatrixf moSceneNode::m_ProjectionMatrix
protected

Definition at line 215 of file mo3dModelManager.h.

void* moSceneNode::SceneNodeImplementation
protected

Definition at line 213 of file mo3dModelManager.h.

MOulong moSceneNode::UID
static

Definition at line 207 of file mo3dModelManager.h.


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