Last change
on this file since 262 was
262,
checked in by Torben Dannhauer, 14 years ago
|
introduced abstract "terrainModficationTechnique" base class. this class will be derived by every terrainTechnique, e.g. ellipsoidTechnique
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Rev URL
|
File size:
367 bytes
|
Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include "terrainModificationTechnique.h" |
---|
4 | |
---|
5 | |
---|
6 | class ellipsoidTechnique : public terrainModificationTechnique |
---|
7 | { |
---|
8 | public: |
---|
9 | ellipsoidTechnique(); |
---|
10 | ~ellipsoidTechnique(); |
---|
11 | |
---|
12 | void modifyHeightfield(osg::Vec4d& modificationROI, osg::HeightField* h, osg::Vec4d tileExtends); |
---|
13 | void setModifiedHeight(double height) {_height=height;} |
---|
14 | |
---|
15 | private: |
---|
16 | double _height; |
---|
17 | }; |
---|
18 | |
---|
19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.