OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
MWRender::InventoryPreview Class Reference

#include <characterpreview.hpp>

Inheritance diagram for MWRender::InventoryPreview:
Collaboration diagram for MWRender::InventoryPreview:

Public Member Functions

 InventoryPreview (osg::Group *parent, Resource::ResourceSystem *resourceSystem, MWWorld::Ptr character)
 
void updatePtr (const MWWorld::Ptr &ptr)
 
void update ()
 
void setViewport (int sizeX, int sizeY)
 
int getSlotSelected (int posX, int posY)
 
- Public Member Functions inherited from MWRender::CharacterPreview
 CharacterPreview (osg::Group *parent, Resource::ResourceSystem *resourceSystem, MWWorld::Ptr character, int sizeX, int sizeY, const osg::Vec3f &position, const osg::Vec3f &lookAt)
 
virtual ~CharacterPreview ()
 
int getTextureWidth () const
 
int getTextureHeight () const
 
void redraw ()
 
void rebuild ()
 
osg::ref_ptr< osg::Texture2D > getTexture ()
 

Protected Member Functions

virtual void onSetup ()
 
- Protected Member Functions inherited from MWRender::CharacterPreview
virtual bool renderHeadOnly ()
 

Additional Inherited Members

- Protected Attributes inherited from MWRender::CharacterPreview
osg::ref_ptr< osg::Group > mParent
 
Resource::ResourceSystemmResourceSystem
 
osg::ref_ptr< osg::Texture2D > mTexture
 
osg::ref_ptr< osg::Camera > mCamera
 
osg::ref_ptr< DrawOnceCallbackmDrawOnceCallback
 
osg::Vec3f mPosition
 
osg::Vec3f mLookAt
 
MWWorld::Ptr mCharacter
 
std::auto_ptr
< MWRender::NpcAnimation
mAnimation
 
osg::ref_ptr
< osg::PositionAttitudeTransform > 
mNode
 
std::string mCurrentAnimGroup
 
int mSizeX
 
int mSizeY
 

Constructor & Destructor Documentation

MWRender::InventoryPreview::InventoryPreview ( osg::Group *  parent,
Resource::ResourceSystem resourceSystem,
MWWorld::Ptr  character 
)

Member Function Documentation

int MWRender::InventoryPreview::getSlotSelected ( int  posX,
int  posY 
)
void MWRender::InventoryPreview::onSetup ( )
protectedvirtual

Reimplemented from MWRender::CharacterPreview.

Here is the call graph for this function:

void MWRender::InventoryPreview::setViewport ( int  sizeX,
int  sizeY 
)

Here is the call graph for this function:

void MWRender::InventoryPreview::update ( )

Here is the call graph for this function:

void MWRender::InventoryPreview::updatePtr ( const MWWorld::Ptr ptr)

Here is the call graph for this function:


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