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

#include <skeleton.hpp>

List of all members.

Public Member Functions

void loadResource (Ogre::Resource *resource)

Static Public Member Functions

static Ogre::SkeletonPtr createSkeleton (const std::string &name, const std::string &group, const Nif::Node *node)
static int lookupOgreBoneHandle (const std::string &nifname, int idx)

Private Types

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

Private Member Functions

void buildBones (Ogre::Skeleton *skel, const Nif::Node *node, Ogre::Bone *parent=NULL)

Static Private Member Functions

static void warn (const std::string &msg)
static void fail (const std::string &msg)
static bool needSkeleton (const Nif::Node *node)

Private Attributes

std::map< int, int > mNifToOgreHandleMap

Static Private Attributes

static LoaderMap sLoaders

Detailed Description

Manual resource loader for NIF skeletons. This is the main class responsible for translating the internal NIF skeleton structure into something Ogre can use (includes animations and node TextKeyData).


Member Typedef Documentation

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

Member Function Documentation

void NifOgre::NIFSkeletonLoader::buildBones ( Ogre::Skeleton *  skel,
const Nif::Node node,
Ogre::Bone *  parent = NULL 
) [private]
Ogre::SkeletonPtr NifOgre::NIFSkeletonLoader::createSkeleton ( const std::string &  name,
const std::string &  group,
const Nif::Node node 
) [static]
static void NifOgre::NIFSkeletonLoader::fail ( const std::string &  msg) [inline, static, private]
void NifOgre::NIFSkeletonLoader::loadResource ( Ogre::Resource *  resource)
int NifOgre::NIFSkeletonLoader::lookupOgreBoneHandle ( const std::string &  nifname,
int  idx 
) [static]
bool NifOgre::NIFSkeletonLoader::needSkeleton ( const Nif::Node node) [static, private]
static void NifOgre::NIFSkeletonLoader::warn ( const std::string &  msg) [inline, static, private]

Member Data Documentation


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