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

#include <controller.hpp>

Inheritance diagram for NifOsg::KeyframeController:
Collaboration diagram for NifOsg::KeyframeController:

Public Member Functions

 KeyframeController (const Nif::NiKeyframeData *data)
 
 KeyframeController ()
 
 KeyframeController (const KeyframeController &copy, const osg::CopyOp &copyop)
 
virtual META_Object(NifOsg,
KeyframeController) virtual
osg void 
operator() (osg::Node *, osg::NodeVisitor *)
 
- Public Member Functions inherited from SceneUtil::Controller
 Controller ()
 
virtual ~Controller ()
 
bool hasInput () const
 
float getInputValue (osg::NodeVisitor *nv)
 
void setSource (std::shared_ptr< ControllerSource > source)
 
void setFunction (std::shared_ptr< ControllerFunction > function)
 
std::shared_ptr< ControllerSourcegetSource () const
 
std::shared_ptr
< ControllerFunction
getFunction () const
 

Private Member Functions

osg::Quat getXYZRotation (float time) const
 

Private Attributes

QuaternionInterpolator mRotations
 
FloatInterpolator mXRotations
 
FloatInterpolator mYRotations
 
FloatInterpolator mZRotations
 
Vec3Interpolator mTranslations
 
FloatInterpolator mScales
 

Constructor & Destructor Documentation

NifOsg::KeyframeController::KeyframeController ( const Nif::NiKeyframeData data)
NifOsg::KeyframeController::KeyframeController ( )
NifOsg::KeyframeController::KeyframeController ( const KeyframeController copy,
const osg::CopyOp &  copyop 
)

Member Function Documentation

osg::Quat NifOsg::KeyframeController::getXYZRotation ( float  time) const
private

Here is the call graph for this function:

Here is the caller graph for this function:

void NifOsg::KeyframeController::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
virtual

Here is the call graph for this function:

Member Data Documentation

QuaternionInterpolator NifOsg::KeyframeController::mRotations
private
FloatInterpolator NifOsg::KeyframeController::mScales
private
Vec3Interpolator NifOsg::KeyframeController::mTranslations
private
FloatInterpolator NifOsg::KeyframeController::mXRotations
private
FloatInterpolator NifOsg::KeyframeController::mYRotations
private
FloatInterpolator NifOsg::KeyframeController::mZRotations
private

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