OpenMW
Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
NifOgre::NIFMeshLoader Class Reference

#include <mesh.hpp>

List of all members.

Static Public Member Functions

static void createMesh (const std::string &name, const std::string &fullname, const std::string &group, size_t idx)

Private Types

typedef std::map< std::string,
NIFMeshLoader
LoaderMap

Private Member Functions

void createSubMesh (Ogre::Mesh *mesh, const Nif::NiTriShape *shape)
 NIFMeshLoader (const std::string &name, const std::string &group, size_t idx)
virtual void loadResource (Ogre::Resource *resource)

Static Private Member Functions

static void warn (const std::string &msg)
static void fail (const std::string &msg)

Private Attributes

std::string mName
std::string mGroup
size_t mShapeIndex

Static Private Attributes

static LoaderMap sLoaders

Detailed Description

Manual resource loader for NiTriShapes. This is the main class responsible for translating the internal NIF meshes into something Ogre can use.


Member Typedef Documentation

typedef std::map<std::string,NIFMeshLoader> NifOgre::NIFMeshLoader::LoaderMap [private]

Constructor & Destructor Documentation

NifOgre::NIFMeshLoader::NIFMeshLoader ( const std::string &  name,
const std::string &  group,
size_t  idx 
) [private]

Member Function Documentation

void NifOgre::NIFMeshLoader::createMesh ( const std::string &  name,
const std::string &  fullname,
const std::string &  group,
size_t  idx 
) [static]
void NifOgre::NIFMeshLoader::createSubMesh ( Ogre::Mesh *  mesh,
const Nif::NiTriShape shape 
) [private]
static void NifOgre::NIFMeshLoader::fail ( const std::string &  msg) [inline, static, private]
void NifOgre::NIFMeshLoader::loadResource ( Ogre::Resource *  resource) [private, virtual]
static void NifOgre::NIFMeshLoader::warn ( const std::string &  msg) [inline, static, private]

Member Data Documentation

std::string NifOgre::NIFMeshLoader::mGroup [private]
std::string NifOgre::NIFMeshLoader::mName [private]

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