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

Public Member Functions

 CreateMapWorkItem (int width, int height, int minX, int minY, int maxX, int maxY, int cellSize, const MWWorld::Store< ESM::Land > &landStore)
 
virtual void doWork ()
 Override in a derived WorkItem to perform actual work. More...
 
- Public Member Functions inherited from SceneUtil::WorkItem
 WorkItem ()
 
virtual ~WorkItem ()
 
bool isDone () const
 
void waitTillDone ()
 Wait until the work is completed. Usually called from the main thread. More...
 
void signalDone ()
 Internal use by the WorkQueue. More...
 
virtual void abort ()
 Set abort flag in order to return from doWork() as soon as possible. May not be respected by all WorkItems. More...
 

Public Attributes

int mWidth
 
int mHeight
 
int mMinX
 
int mMinY
 
int mMaxX
 
int mMaxY
 
int mCellSize
 
const MWWorld::Store< ESM::Land > & mLandStore
 
osg::ref_ptr< osg::Texture2D > mBaseTexture
 
osg::ref_ptr< osg::Texture2D > mAlphaTexture
 
osg::ref_ptr< osg::Image > mOverlayImage
 
osg::ref_ptr< osg::Texture2D > mOverlayTexture
 

Additional Inherited Members

- Protected Attributes inherited from SceneUtil::WorkItem
OpenThreads::Atomic mDone
 
OpenThreads::Mutex mMutex
 
OpenThreads::Condition mCondition
 

Constructor & Destructor Documentation

MWRender::CreateMapWorkItem::CreateMapWorkItem ( int  width,
int  height,
int  minX,
int  minY,
int  maxX,
int  maxY,
int  cellSize,
const MWWorld::Store< ESM::Land > &  landStore 
)
inline

Member Function Documentation

virtual void MWRender::CreateMapWorkItem::doWork ( )
inlinevirtual

Override in a derived WorkItem to perform actual work.

Reimplemented from SceneUtil::WorkItem.

Here is the call graph for this function:

Member Data Documentation

osg::ref_ptr<osg::Texture2D> MWRender::CreateMapWorkItem::mAlphaTexture
osg::ref_ptr<osg::Texture2D> MWRender::CreateMapWorkItem::mBaseTexture
int MWRender::CreateMapWorkItem::mCellSize
int MWRender::CreateMapWorkItem::mHeight
const MWWorld::Store<ESM::Land>& MWRender::CreateMapWorkItem::mLandStore
int MWRender::CreateMapWorkItem::mMaxX
int MWRender::CreateMapWorkItem::mMaxY
int MWRender::CreateMapWorkItem::mMinX
int MWRender::CreateMapWorkItem::mMinY
osg::ref_ptr<osg::Image> MWRender::CreateMapWorkItem::mOverlayImage
osg::ref_ptr<osg::Texture2D> MWRender::CreateMapWorkItem::mOverlayTexture
int MWRender::CreateMapWorkItem::mWidth

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