Public Member Functions | |
| CartographyColorizator (float valMin=0, float valGround=0, float valGroundI=.5f, float valMax=1) | |
| void | valsFromHF (const osg::HeightField *pHF) |
| osg::Vec4f | operator() (float val) |
Public Attributes | |
| const osg::Vec4f | colWater0 |
| const osg::Vec4f | colWater1 |
| const osg::Vec4f | colGround0 |
| const osg::Vec4f | colGround1 |
| const osg::Vec4f | colGround2 |
Protected Attributes | |
| float | valMin |
| float | valGround |
| float | valGroundI |
| float | valMax |
Definition at line 233 of file Utility3D.cpp.
| CartographyColorizator::CartographyColorizator | ( | float | valMin = 0, |
|
| float | valGround = 0, |
|||
| float | valGroundI = .5f, |
|||
| float | valMax = 1 | |||
| ) | [inline] |
Definition at line 235 of file Utility3D.cpp.
References ASSERT, valGround, valGroundI, valMax, and valMin.
| osg::Vec4f CartographyColorizator::operator() | ( | float | val | ) | [inline] |
Definition at line 274 of file Utility3D.cpp.
References ASSERT, colGround0, colGround1, colGround2, colWater1, valGround, valGroundI, valMax, and valMin.
| void CartographyColorizator::valsFromHF | ( | const osg::HeightField * | pHF | ) | [inline] |
Definition at line 250 of file Utility3D.cpp.
References ASSERT, clampl(), clampu(), valGround, valGroundI, valMax, and valMin.
Referenced by createHeightColorization().
| const osg::Vec4f CartographyColorizator::colGround0 |
| const osg::Vec4f CartographyColorizator::colGround1 |
| const osg::Vec4f CartographyColorizator::colGround2 |
| const osg::Vec4f CartographyColorizator::colWater0 |
Definition at line 289 of file Utility3D.cpp.
| const osg::Vec4f CartographyColorizator::colWater1 |
float CartographyColorizator::valGround [protected] |
Definition at line 296 of file Utility3D.cpp.
Referenced by CartographyColorizator(), operator()(), and valsFromHF().
float CartographyColorizator::valGroundI [protected] |
Definition at line 296 of file Utility3D.cpp.
Referenced by CartographyColorizator(), operator()(), and valsFromHF().
float CartographyColorizator::valMax [protected] |
Definition at line 296 of file Utility3D.cpp.
Referenced by CartographyColorizator(), operator()(), and valsFromHF().
float CartographyColorizator::valMin [protected] |
Definition at line 296 of file Utility3D.cpp.
Referenced by CartographyColorizator(), operator()(), and valsFromHF().
1.5.9