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

#include <characterpreview.hpp>

Inheritance diagram for MWRender::CharacterPreview:
Collaboration diagram for MWRender::CharacterPreview:

Public Member Functions

 CharacterPreview (osg::Group *parent, Resource::ResourceSystem *resourceSystem, const 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 bool renderHeadOnly ()
 
void setBlendMode ()
 
virtual void onSetup ()
 

Protected Attributes

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
 
osg::ref_ptr
< MWRender::NpcAnimation
mAnimation
 
osg::ref_ptr
< osg::PositionAttitudeTransform > 
mNode
 
std::string mCurrentAnimGroup
 
int mSizeX
 
int mSizeY
 

Private Member Functions

 CharacterPreview (const CharacterPreview &)
 
CharacterPreviewoperator= (const CharacterPreview &)
 

Constructor & Destructor Documentation

MWRender::CharacterPreview::CharacterPreview ( osg::Group *  parent,
Resource::ResourceSystem resourceSystem,
const MWWorld::Ptr character,
int  sizeX,
int  sizeY,
const osg::Vec3f &  position,
const osg::Vec3f &  lookAt 
)

Here is the call graph for this function:

MWRender::CharacterPreview::~CharacterPreview ( )
virtual
MWRender::CharacterPreview::CharacterPreview ( const CharacterPreview )
private

Member Function Documentation

osg::ref_ptr< osg::Texture2D > MWRender::CharacterPreview::getTexture ( )
int MWRender::CharacterPreview::getTextureHeight ( ) const
int MWRender::CharacterPreview::getTextureWidth ( ) const
void MWRender::CharacterPreview::onSetup ( )
protectedvirtual

Reimplemented in MWRender::RaceSelectionPreview, and MWRender::InventoryPreview.

Here is the call graph for this function:

Here is the caller graph for this function:

CharacterPreview& MWRender::CharacterPreview::operator= ( const CharacterPreview )
private
void MWRender::CharacterPreview::rebuild ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void MWRender::CharacterPreview::redraw ( )

Here is the caller graph for this function:

virtual bool MWRender::CharacterPreview::renderHeadOnly ( )
inlineprotectedvirtual

Reimplemented in MWRender::RaceSelectionPreview.

Here is the caller graph for this function:

void MWRender::CharacterPreview::setBlendMode ( )
protected

Here is the caller graph for this function:

Member Data Documentation

osg::ref_ptr<MWRender::NpcAnimation> MWRender::CharacterPreview::mAnimation
protected
osg::ref_ptr<osg::Camera> MWRender::CharacterPreview::mCamera
protected
MWWorld::Ptr MWRender::CharacterPreview::mCharacter
protected
std::string MWRender::CharacterPreview::mCurrentAnimGroup
protected
osg::ref_ptr<DrawOnceCallback> MWRender::CharacterPreview::mDrawOnceCallback
protected
osg::Vec3f MWRender::CharacterPreview::mLookAt
protected
osg::ref_ptr<osg::PositionAttitudeTransform> MWRender::CharacterPreview::mNode
protected
osg::ref_ptr<osg::Group> MWRender::CharacterPreview::mParent
protected
osg::Vec3f MWRender::CharacterPreview::mPosition
protected
Resource::ResourceSystem* MWRender::CharacterPreview::mResourceSystem
protected
int MWRender::CharacterPreview::mSizeX
protected
int MWRender::CharacterPreview::mSizeY
protected
osg::ref_ptr<osg::Texture2D> MWRender::CharacterPreview::mTexture
protected

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