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 Types | Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtWeatherAreaDrawable Class Reference

A drawable used for drawing items related to weather areas. The class serves as a draw point entry and an entry to release GL objects.

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

Public Types

enum  SortBinType { SortBinTypePreClouds, SortBinTypePostClouds, SortBinTypeTransparent }
 

Public Member Functions

 DtWeatherAreaDrawable (makVrv::DtDe &de, DtWeatherAreaGroup *weatherAreaGroup)
 
 DtWeatherAreaDrawable (const DtWeatherAreaDrawable &orig, const osg::CopyOp &opr)
 
virtual ~DtWeatherAreaDrawable ()
 
virtual osg::Object * clone (const osg::CopyOp &copyop) const
 
virtual osg::Object * cloneType () const
 
virtual void init ()
 
virtual void setSortBinType (DtWeatherAreaDrawable::SortBinType type)
 
virtual const
DtWeatherAreaDrawable::SortBinType 
sortBinType () const
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 

Protected Attributes

DtDemyDe
 
DtWeatherAreaGroupmyWeatherAreaGroup
 
SortBinType mySortBinType
 

Private Member Functions

 DtWeatherAreaDrawable ()
 
 DtWeatherAreaDrawable (const DtWeatherAreaDrawable &other)
 
DtWeatherAreaDrawableoperator= (const DtWeatherAreaDrawable &other)
 

Member Enumeration Documentation

brief Weather area drawable sort bin type enumerations.

Enumerator
SortBinTypePreClouds 
SortBinTypePostClouds 
SortBinTypeTransparent 

Constructor & Destructor Documentation

makVrv::DtWeatherAreaDrawable::DtWeatherAreaDrawable ( makVrv::DtDe de,
DtWeatherAreaGroup weatherAreaGroup 
)

CTOR.

makVrv::DtWeatherAreaDrawable::DtWeatherAreaDrawable ( const DtWeatherAreaDrawable orig,
const osg::CopyOp &  opr 
)

Copy constructor needed because it is derived from osg::Drawable.

virtual makVrv::DtWeatherAreaDrawable::~DtWeatherAreaDrawable ( )
virtual

DTOR.

makVrv::DtWeatherAreaDrawable::DtWeatherAreaDrawable ( )
private

Default Constructor not implemented.

makVrv::DtWeatherAreaDrawable::DtWeatherAreaDrawable ( const DtWeatherAreaDrawable other)
private

Copy Constructor not implemented - Copy not allowed.

Member Function Documentation

DtWeatherAreaDrawable& makVrv::DtWeatherAreaDrawable::operator= ( const DtWeatherAreaDrawable other)
private

Assignment Operator not implemented - Assignment not allowed.

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

required functions for derriving from osg::Drawable

virtual osg::Object* makVrv::DtWeatherAreaDrawable::cloneType ( ) const
inlinevirtual
virtual void makVrv::DtWeatherAreaDrawable::init ( )
virtual

Initializes the uniforms and state attributes for the drawable.

virtual void makVrv::DtWeatherAreaDrawable::setSortBinType ( DtWeatherAreaDrawable::SortBinType  type)
virtual

Sets the sort bin the draw implementation is associated with.

Parameters
typeThe drawing bin type that this object is associated with.
virtual const DtWeatherAreaDrawable::SortBinType makVrv::DtWeatherAreaDrawable::sortBinType ( ) const
virtual

Gets the sort bin the draw implementation is associated with.

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

Actually do the drawing.

Member Data Documentation

DtDe& makVrv::DtWeatherAreaDrawable::myDe
protected
DtWeatherAreaGroup* makVrv::DtWeatherAreaDrawable::myWeatherAreaGroup
protected
SortBinType makVrv::DtWeatherAreaDrawable::mySortBinType
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)