Last change
on this file since 265 was
265,
checked in by Torben Dannhauer, 13 years ago
|
Prototype of rampedEllipsoidFunction works.
|
File size:
511 bytes
|
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;} |
---|
[265] | 14 | void setRampWidthFactor(double rampWidthFactor) {_rampWidthFactor=rampWidthFactor;} |
---|
[264] | 15 | |
---|
| 16 | private: |
---|
| 17 | double _height; |
---|
[265] | 18 | double _rampWidthFactor; |
---|
[264] | 19 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.