source: experimental/TerrainTest/ellipsoidTechnique.h @ 366

Last change on this file since 366 was 272, checked in by Torben Dannhauer, 14 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Rev URL
File size: 1.1 KB
Line 
1#pragma once
2/* -*-c++-*- osgVisual - Copyright (C) 2009-2011 Torben Dannhauer
3 *
4 * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under
5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
6 * (at your option) any later version.  The full license is in LICENSE file
7 * included with this distribution, and on the openscenegraph.org website.
8 *
9 * osgVisual requires for some proprietary modules a license from the correspondig manufacturer.
10 * You have to aquire licenses for all used proprietary modules.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * OpenSceneGraph Public License for more details.
16*/
17
18#include "terrainModificationTechnique.h"
19
20
21class ellipsoidTechnique : public terrainModificationTechnique
22{
23public:
24        ellipsoidTechnique();
25        ~ellipsoidTechnique();
26
27        void modifyHeightfield(region& modificationROI, osg::HeightField* h, region tileExtends);
28        void setModifiedHeight(double height) {_height=height;}
29
30private:
31        double _height;
32};
33
34       
Note: See TracBrowser for help on using the repository browser.