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

#include <characterpreview.hpp>

Inheritance diagram for MWRender::RaceSelectionPreview:
Collaboration diagram for MWRender::RaceSelectionPreview:

Public Member Functions

 RaceSelectionPreview (osg::Group *parent, Resource::ResourceSystem *resourceSystem)
 
virtual ~RaceSelectionPreview ()
 
void setAngle (float angleRadians)
 
const ESM::NPCgetPrototype () const
 
void setPrototype (const ESM::NPC &proto)
 
- 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 bool renderHeadOnly ()
 
virtual void onSetup ()
 

Private Attributes

ESM::NPC mBase
 
MWWorld::LiveCellRef< ESM::NPCmRef
 
osg::ref_ptr
< UpdateCameraCallback
mUpdateCameraCallback
 
float mPitchRadians
 

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::RaceSelectionPreview::RaceSelectionPreview ( osg::Group *  parent,
Resource::ResourceSystem resourceSystem 
)
MWRender::RaceSelectionPreview::~RaceSelectionPreview ( )
virtual

Member Function Documentation

const ESM::NPC& MWRender::RaceSelectionPreview::getPrototype ( ) const
inline
void MWRender::RaceSelectionPreview::onSetup ( )
protectedvirtual

Reimplemented from MWRender::CharacterPreview.

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

Reimplemented from MWRender::CharacterPreview.

void MWRender::RaceSelectionPreview::setAngle ( float  angleRadians)

Here is the call graph for this function:

void MWRender::RaceSelectionPreview::setPrototype ( const ESM::NPC proto)

Here is the call graph for this function:

Member Data Documentation

ESM::NPC MWRender::RaceSelectionPreview::mBase
private
float MWRender::RaceSelectionPreview::mPitchRadians
private
MWWorld::LiveCellRef<ESM::NPC> MWRender::RaceSelectionPreview::mRef
private
osg::ref_ptr<UpdateCameraCallback> MWRender::RaceSelectionPreview::mUpdateCameraCallback
private

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