MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Mezzanine::Graphics::Mesh Class Reference

This class is used to check and modify the properties of a graphics mesh. More...

#include <mesh.h>

+ Collaboration diagram for Mezzanine::Graphics::Mesh:

Public Types

typedef
SubMeshContainer::const_iterator 
ConstSubMeshIterator
 
typedef std::vector< SubMesh * > SubMeshContainer
 
typedef SubMeshContainer::iterator SubMeshIterator
 

Public Member Functions

 Mesh (Ogre::MeshPtr InternalMesh)
 Internal Constructor. More...
 
 ~Mesh ()
 Class Destructor.
 
Ogre::MeshPtr _GetInternalMesh () const
 Gets the internal Mesh pointer. More...
 
ConstStringGetGroup () const
 Gets the resource group this mesh belongs to. More...
 
ConstStringGetName () const
 Gets the Name of this mesh. More...
 

Protected Attributes

InternalMeshDataIMD
 
SkeletonMeshSkel
 
SubMeshContainer SubMeshes
 

Detailed Description

This class is used to check and modify the properties of a graphics mesh.

Definition at line 62 of file mesh.h.

Constructor & Destructor Documentation

Mezzanine::Graphics::Mesh::Mesh ( Ogre::MeshPtr  InternalMesh)

Internal Constructor.

Parameters
InternalMeshThe internal mesh this mesh class is based on.

Definition at line 71 of file mesh.cpp.

Member Function Documentation

Ogre::MeshPtr Mezzanine::Graphics::Mesh::_GetInternalMesh ( ) const

Gets the internal Mesh pointer.

Returns
Returns a shared pointer pointing to the internal Mesh.

Definition at line 92 of file mesh.cpp.

ConstString & Mezzanine::Graphics::Mesh::GetGroup ( ) const

Gets the resource group this mesh belongs to.

Returns
Returns a const string reference containing the group this mesh belongs to.

Definition at line 87 of file mesh.cpp.

ConstString & Mezzanine::Graphics::Mesh::GetName ( ) const

Gets the Name of this mesh.

Note
If this mesh originated from a file, usually the name of the mesh will be the file name.
Returns
Returns a const string reference containing the name of this mesh.

Definition at line 82 of file mesh.cpp.


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