Rev | Line | |
---|
[264] | 1 | #pragma once |
---|
| 2 | #include "terrainModificationTechnique.h" |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | class rampedEllipsoidTechnique : public terrainModificationTechnique |
---|
| 7 | { |
---|
| 8 | public: |
---|
| 9 | rampedEllipsoidTechnique(); |
---|
| 10 | ~rampedEllipsoidTechnique(); |
---|
| 11 | |
---|
| 12 | void modifyHeightfield(osg::Vec4d& modificationROI, osg::HeightField* h, osg::Vec4d tileExtends); |
---|
| 13 | void setModifiedHeight(double height) {_height=height;} |
---|
| 14 | void setRampWidth_percent(double rampWidth_percent) {_rampWidth_percent=rampWidth_percent;} |
---|
| 15 | |
---|
| 16 | private: |
---|
| 17 | double _height; |
---|
| 18 | double _rampWidth_percent; |
---|
| 19 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.