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