VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgTerrainOverlayOperation Class Reference

An osg terrain overlay operation is an operation that affects terrain texture overlaying. More...

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

List of all members.

Public Types

typedef std::vector< int > TextureUnitList

Public Member Functions

 DtOsgTerrainOverlayOperation ()
 DtOsgTerrainOverlayOperation (const DtOsgTerrainOverlayOperation &)
DtOsgTerrainOverlayOperationoperator= (const DtOsgTerrainOverlayOperation &)
 DtOsgTerrainOverlayOperation (OverlayType type, std::string definition)
virtual
DtOsgTerrainOverlayOperation::TextureUnitList 
apply (osg::Node *node, DtDe &de, const DtOsgTerrainOverlayOperation::TextureUnitList free)
 Apply overlay to specified node called with a list of available texture units, returns texture units the apply operation actually used.
int countUnitsNeeded (osg::Node *node, const DtOsgTerrainOverlayOperation::TextureUnitList free)
 Count how many texture units are needed for a node, given a list of free texture units.
virtual void restoreDefaults (osg::Node *node, DtDe &de)
void setWrapMode (osg::Texture::WrapMode)
osg::Texture::WrapMode wrapMode () const
void setBlendMode (osg::TexEnv::Mode)
osg::TexEnv::Mode blendMode () const

Protected Member Functions

void unitsUsed (osg::Node *node, std::set< int > &usedunits, const DtOsgTerrainOverlayOperation::TextureUnitList &testunits)

Protected Attributes

osg::Texture::WrapMode myWrapMode
osg::TexEnv::Mode myBlendMode

Detailed Description

An osg terrain overlay operation is an operation that affects terrain texture overlaying.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

DtOsgTerrainOverlayOperation& makVrv::DtOsgTerrainOverlayOperation::operator= ( const DtOsgTerrainOverlayOperation )

Apply overlay to specified node called with a list of available texture units, returns texture units the apply operation actually used.

Count how many texture units are needed for a node, given a list of free texture units.

virtual void makVrv::DtOsgTerrainOverlayOperation::restoreDefaults ( osg::Node *  node,
DtDe de 
) [virtual]
void makVrv::DtOsgTerrainOverlayOperation::setWrapMode ( osg::Texture::WrapMode  )
osg::Texture::WrapMode makVrv::DtOsgTerrainOverlayOperation::wrapMode ( ) const
void makVrv::DtOsgTerrainOverlayOperation::unitsUsed ( osg::Node *  node,
std::set< int > &  usedunits,
const DtOsgTerrainOverlayOperation::TextureUnitList testunits 
) [protected]

Member Data Documentation

osg::Texture::WrapMode makVrv::DtOsgTerrainOverlayOperation::myWrapMode [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)