An osg terrain overlay operation is an operation that affects terrain texture overlaying.
More...
Public Member Functions |
| | DtOsgTerrainOverlayOperation () |
| | DtOsgTerrainOverlayOperation (const DtOsgTerrainOverlayOperation &) |
| DtOsgTerrainOverlayOperation & | operator= (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 |
| | DtTerrainOverlayOperation () |
| | CTOR.
|
| | DtTerrainOverlayOperation (const DtTerrainOverlayOperation &) |
| | Copy ctor.
|
| DtTerrainOverlayOperation & | operator= (const DtTerrainOverlayOperation &) |
| | Assignment.
|
| | DtTerrainOverlayOperation (OverlayType type, const std::string &definition) |
| | CTOR.
|
| | DtTerrainOverlayOperation (OverlayType type, const std::string &definition, std::vector< double > &scale, std::vector< double > &offset) |
| | CTOR.
|
| | DtTerrainOverlayOperation (OverlayType type, const std::string &definition, double xscale, double yscale, double xoffset, double yoffset) |
| | CTOR.
|
| virtual OverlayType | operation () const |
| | Return the active operation.
|
| virtual const std::string | definition () const |
| | Return the model definition.
|
| virtual const std::vector< double > | scale () const |
| | Return the scale setting.
|
| virtual bool | scale (double &x, double &y) const |
| | Return the scale setting.
|
| virtual const std::vector< double > | offset () const |
| | Return the offset setting.
|
| virtual bool | offset (double &x, double &y) const |
| | Return the offset setting.
|
| virtual void | setScale (const std::vector< double > &scale) |
| | Set the scale.
|
| virtual void | setScale (double x, double y) |
| | Set the scale.
|
| virtual void | setOffset (const std::vector< double > &offset) |
| | Set the offset.
|
| virtual void | setOffset (double x, double y) |
| | Set the offset.
|
| virtual bool | nop () const |
| | Returns true if overlay will never do anything.
|
| virtual bool | base () const |
| | Returns true if overlay is a base (non-blended) overlay.
|
An osg terrain overlay operation is an operation that affects terrain texture overlaying.