OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Types | Private Attributes | List of all members
MWMechanics::Objects Class Reference

#include <objects.hpp>

Collaboration diagram for MWMechanics::Objects:

Public Member Functions

 Objects ()
 
 ~Objects ()
 
void addObject (const MWWorld::Ptr &ptr)
 Register an animated object. More...
 
void removeObject (const MWWorld::Ptr &ptr)
 Deregister an object. More...
 
void updateObject (const MWWorld::Ptr &old, const MWWorld::Ptr &ptr)
 Updates an object with a new Ptr. More...
 
void dropObjects (const MWWorld::CellStore *cellStore)
 Deregister all objects in the given cell. More...
 
void update (float duration, bool paused)
 Update object animations. More...
 
bool playAnimationGroup (const MWWorld::Ptr &ptr, const std::string &groupName, int mode, int number, bool persist=false)
 
void skipAnimation (const MWWorld::Ptr &ptr)
 
void persistAnimationStates ()
 
void getObjectsInRange (const osg::Vec3f &position, float radius, std::vector< MWWorld::Ptr > &out)
 

Private Types

typedef std::map< MWWorld::Ptr,
CharacterController * > 
PtrControllerMap
 

Private Attributes

PtrControllerMap mObjects
 

Member Typedef Documentation

Constructor & Destructor Documentation

MWMechanics::Objects::Objects ( )
MWMechanics::Objects::~Objects ( )

Member Function Documentation

void MWMechanics::Objects::addObject ( const MWWorld::Ptr ptr)

Register an animated object.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWMechanics::Objects::dropObjects ( const MWWorld::CellStore cellStore)

Deregister all objects in the given cell.

Here is the caller graph for this function:

void MWMechanics::Objects::getObjectsInRange ( const osg::Vec3f &  position,
float  radius,
std::vector< MWWorld::Ptr > &  out 
)

Here is the caller graph for this function:

void MWMechanics::Objects::persistAnimationStates ( )

Here is the caller graph for this function:

bool MWMechanics::Objects::playAnimationGroup ( const MWWorld::Ptr ptr,
const std::string &  groupName,
int  mode,
int  number,
bool  persist = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWMechanics::Objects::removeObject ( const MWWorld::Ptr ptr)

Deregister an object.

Here is the caller graph for this function:

void MWMechanics::Objects::skipAnimation ( const MWWorld::Ptr ptr)

Here is the caller graph for this function:

void MWMechanics::Objects::update ( float  duration,
bool  paused 
)

Update object animations.

Here is the caller graph for this function:

void MWMechanics::Objects::updateObject ( const MWWorld::Ptr old,
const MWWorld::Ptr ptr 
)

Updates an object with a new Ptr.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

PtrControllerMap MWMechanics::Objects::mObjects
private

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