source: experimental/TerrainTest/rampedEllipsoidTechnique.h @ 264

Last change on this file since 264 was 264, checked in by Torben Dannhauer, 13 years ago
File size: 521 bytes
Line 
1#pragma once
2#include "terrainModificationTechnique.h"
3
4
5
6class rampedEllipsoidTechnique : public terrainModificationTechnique
7{
8public:
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
16private:
17        double _height;
18        double _rampWidth_percent;
19};
Note: See TracBrowser for help on using the repository browser.