VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtHeightMapDrawable Class Reference

An OSG Drawable representing a terrain heightmap. /ingroup vrvOsg.

Inheritance diagram for makVrv::DtHeightMapDrawable:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtHeightMapDrawable ()
 
virtual bool isSameKindAs (const Object *obj) const
 
virtual Object * cloneType () const
 
virtual Object * clone (const osg::CopyOp &copyop) const
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 
virtual void releaseGLObjects (osg::State *state=0) const
 
virtual DtHeightMapManagergetOrCreateHeightMapManager (osg::RenderInfo &renderInfo)
 

Public Attributes

friend DtHeightMapDrawableCreator
 

Protected Types

typedef std::map
< osg::GraphicsContext *, void * > 
ContextToHandleMap
 

Protected Member Functions

 DtHeightMapDrawable (makVrv::DtDe &de, DtHeightMapSuperManager *manager)
 
virtual void cleanup (void)
 
virtual void flushInvalidCameras ()
 

Protected Attributes

makVrv::DtDemyDe
 
DtHeightMapSuperManagermyHeightMapSuperManager
 

Private Member Functions

 DtHeightMapDrawable ()=delete
 
 DtHeightMapDrawable (const DtHeightMapDrawable &other)=delete
 
DtHeightMapDrawableoperator= (const DtHeightMapDrawable &other)=delete
 

Member Typedef Documentation

typedef std::map< osg::GraphicsContext*, void* > makVrv::DtHeightMapDrawable::ContextToHandleMap
protected

Constructor & Destructor Documentation

virtual makVrv::DtHeightMapDrawable::~DtHeightMapDrawable ( )
virtual

Destructor.

makVrv::DtHeightMapDrawable::DtHeightMapDrawable ( makVrv::DtDe de,
DtHeightMapSuperManager manager 
)
protected

CTOR. Only creator can createe.

makVrv::DtHeightMapDrawable::DtHeightMapDrawable ( )
privatedelete

Default Constructor not implemented.

makVrv::DtHeightMapDrawable::DtHeightMapDrawable ( const DtHeightMapDrawable other)
privatedelete

Copy Constructor not implemented - Copy not allowed.

Member Function Documentation

DtHeightMapDrawable& makVrv::DtHeightMapDrawable::operator= ( const DtHeightMapDrawable other)
privatedelete

Assignment Operator not implemented - Assignment not allowed.

virtual bool makVrv::DtHeightMapDrawable::isSameKindAs ( const Object *  obj) const
virtual

osg overridden functions for creating a derived class

virtual Object* makVrv::DtHeightMapDrawable::cloneType ( ) const
virtual

osg overridden functions for creating a derived class

virtual Object* makVrv::DtHeightMapDrawable::clone ( const osg::CopyOp &  copyop) const
virtual

osg overridden functions for creating a derived class

virtual void makVrv::DtHeightMapDrawable::drawImplementation ( osg::RenderInfo &  renderInfo) const
virtual

Perform drawing of the Ocean from the render thread.

virtual void makVrv::DtHeightMapDrawable::releaseGLObjects ( osg::State *  state = 0) const
virtual

Destroy the openGL objects.

virtual DtHeightMapManager* makVrv::DtHeightMapDrawable::getOrCreateHeightMapManager ( osg::RenderInfo &  renderInfo)
virtual

get or create the height map manager for the current camera based on the renderInfo

virtual void makVrv::DtHeightMapDrawable::cleanup ( void  )
protectedvirtual

called by the destructor or releaseGL objects to cleanup this drawable's state

virtual void makVrv::DtHeightMapDrawable::flushInvalidCameras ( )
protectedvirtual

check if the osg::Camera still is valid. If not then destroy the corrisponding triton camera

Member Data Documentation

friend makVrv::DtHeightMapDrawable::DtHeightMapDrawableCreator

only creator can create

makVrv::DtDe& makVrv::DtHeightMapDrawable::myDe
protected
DtHeightMapSuperManager* makVrv::DtHeightMapDrawable::myHeightMapSuperManager
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)