OpenMW
Static Public Member Functions | Static Private Member Functions
NifOgre::NIFObjectLoader Class Reference

List of all members.

Static Public Member Functions

static void load (Ogre::SceneNode *sceneNode, ObjectScenePtr scene, const std::string &name, const std::string &group, int flags=0)
static void loadKf (Ogre::Skeleton *skel, const std::string &name, TextKeyMap &textKeys, std::vector< Ogre::Controller< Ogre::Real > > &ctrls)

Static Private Member Functions

static void warn (const std::string &msg)
static void createEntity (const std::string &name, const std::string &group, Ogre::SceneManager *sceneMgr, ObjectScenePtr scene, const Nif::Node *node, int flags, int animflags)
static void createMaterialControllers (const Nif::Node *node, Ogre::MovableObject *movable, int animflags, ObjectScenePtr scene)
static void createParticleEmitterAffectors (Ogre::ParticleSystem *partsys, const Nif::NiParticleSystemController *partctrl, Ogre::Bone *bone, const std::string &skelBaseName)
static void createParticleSystem (const std::string &name, const std::string &group, Ogre::SceneNode *sceneNode, ObjectScenePtr scene, const Nif::Node *partnode, int flags, int partflags, int animflags)
static void createNodeControllers (const std::string &name, Nif::ControllerPtr ctrl, ObjectScenePtr scene, int animflags)
static void extractTextKeys (const Nif::NiTextKeyExtraData *tk, TextKeyMap &textkeys)
static void createObjects (const std::string &name, const std::string &group, Ogre::SceneNode *sceneNode, const Nif::Node *node, ObjectScenePtr scene, int flags, int animflags, int partflags)
static void createSkelBase (const std::string &name, const std::string &group, Ogre::SceneManager *sceneMgr, const Nif::Node *node, ObjectScenePtr scene)

Detailed Description

Object creator for NIFs. This is the main class responsible for creating "live" Ogre objects (entities, particle systems, controllers, etc) from their NIF equivalents.


Member Function Documentation

static void NifOgre::NIFObjectLoader::createEntity ( const std::string &  name,
const std::string &  group,
Ogre::SceneManager *  sceneMgr,
ObjectScenePtr  scene,
const Nif::Node node,
int  flags,
int  animflags 
) [inline, static, private]
static void NifOgre::NIFObjectLoader::createMaterialControllers ( const Nif::Node node,
Ogre::MovableObject *  movable,
int  animflags,
ObjectScenePtr  scene 
) [inline, static, private]
static void NifOgre::NIFObjectLoader::createNodeControllers ( const std::string &  name,
Nif::ControllerPtr  ctrl,
ObjectScenePtr  scene,
int  animflags 
) [inline, static, private]
static void NifOgre::NIFObjectLoader::createObjects ( const std::string &  name,
const std::string &  group,
Ogre::SceneNode *  sceneNode,
const Nif::Node node,
ObjectScenePtr  scene,
int  flags,
int  animflags,
int  partflags 
) [inline, static, private]
Todo:
don't do this in the editor
static void NifOgre::NIFObjectLoader::createParticleEmitterAffectors ( Ogre::ParticleSystem *  partsys,
const Nif::NiParticleSystemController partctrl,
Ogre::Bone *  bone,
const std::string &  skelBaseName 
) [inline, static, private]
static void NifOgre::NIFObjectLoader::createParticleSystem ( const std::string &  name,
const std::string &  group,
Ogre::SceneNode *  sceneNode,
ObjectScenePtr  scene,
const Nif::Node partnode,
int  flags,
int  partflags,
int  animflags 
) [inline, static, private]
static void NifOgre::NIFObjectLoader::createSkelBase ( const std::string &  name,
const std::string &  group,
Ogre::SceneManager *  sceneMgr,
const Nif::Node node,
ObjectScenePtr  scene 
) [inline, static, private]
static void NifOgre::NIFObjectLoader::extractTextKeys ( const Nif::NiTextKeyExtraData tk,
TextKeyMap textkeys 
) [inline, static, private]
static void NifOgre::NIFObjectLoader::load ( Ogre::SceneNode *  sceneNode,
ObjectScenePtr  scene,
const std::string &  name,
const std::string &  group,
int  flags = 0 
) [inline, static]
static void NifOgre::NIFObjectLoader::loadKf ( Ogre::Skeleton *  skel,
const std::string &  name,
TextKeyMap textKeys,
std::vector< Ogre::Controller< Ogre::Real > > &  ctrls 
) [inline, static]
static void NifOgre::NIFObjectLoader::warn ( const std::string &  msg) [inline, static, private]

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