Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

Mesh Class Reference

#include <mesh.h>

Inheritance diagram for Mesh:

Inheritance graph
[legend]
Collaboration diagram for Mesh:

Collaboration graph
[legend]
List of all members.

Detailed Description

A blueprint for a mesh.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Member Functions

 Mesh (const HashString &rstrName="", MeshPool *pkPool=0)
virtual ~Mesh ()
const HashStringGetName () const
void SetName (const HashString &rstrName)
void IncRef ()
void DecRef ()
int GetRefCount () const

Public Attributes

std::vector< SubMesh * > m_vpkSubMeshes
Skeletonm_pkSkeleton

Protected Attributes

MeshPoolm_pkPool
HashString m_strName


Constructor & Destructor Documentation

Mesh const HashString rstrName = "",
MeshPool pkPool = 0
 

Parameters:
rstrName Mesh name
pkPool Pool object, if null default core pool will be used

virtual ~Mesh  )  [virtual]
 


Member Function Documentation

const HashString& GetName  )  const [inline]
 

Returns:
Current name

void SetName const HashString rstrName  ) 
 

Set new name

Parameters:
rstrName New name

void IncRef  )  [inline, inherited]
 

Increase reference count

void DecRef  )  [inline, inherited]
 

Decrease reference count and garbage collect if 0

int GetRefCount  )  const [inline, inherited]
 

Returns:
Current reference count


Member Data Documentation

MeshPool* m_pkPool [protected]
 

Owner pool

HashString m_strName [protected]
 

Name

std::vector< SubMesh* > m_vpkSubMeshes
 

Sub meshes

Skeleton* m_pkSkeleton
 

Skeleton object


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:12 2004 for NeoEngine by doxygen 1.3.5