OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWRender::UpdateCameraCallback Class Reference
Inheritance diagram for MWRender::UpdateCameraCallback:
Collaboration diagram for MWRender::UpdateCameraCallback:

Public Member Functions

 UpdateCameraCallback (osg::ref_ptr< const osg::Node > nodeToFollow, const osg::Vec3 &posOffset, const osg::Vec3 &lookAtOffset)
 
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 

Private Attributes

osg::ref_ptr< const osg::Node > mNodeToFollow
 
osg::Vec3 mPosOffset
 
osg::Vec3 mLookAtOffset
 

Constructor & Destructor Documentation

MWRender::UpdateCameraCallback::UpdateCameraCallback ( osg::ref_ptr< const osg::Node >  nodeToFollow,
const osg::Vec3 &  posOffset,
const osg::Vec3 &  lookAtOffset 
)
inline

Member Function Documentation

virtual void MWRender::UpdateCameraCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
inlinevirtual

Member Data Documentation

osg::Vec3 MWRender::UpdateCameraCallback::mLookAtOffset
private
osg::ref_ptr<const osg::Node> MWRender::UpdateCameraCallback::mNodeToFollow
private
osg::Vec3 MWRender::UpdateCameraCallback::mPosOffset
private

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