source: experimental/TerrainTest/rampedEllipsoidTechnique.h @ 265

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
RevLine 
[264]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;}
[265]14        void setRampWidthFactor(double rampWidthFactor) {_rampWidthFactor=rampWidthFactor;}
[264]15
16private:
17        double _height;
[265]18        double _rampWidthFactor;
[264]19};
Note: See TracBrowser for help on using the repository browser.