source: experimental/TerrainTest/ModificationVisitor.h @ 266

Last change on this file since 266 was 265, checked in by Torben Dannhauer, 14 years ago

Prototype of rampedEllipsoidFunction works.

File size: 589 bytes
Line 
1#pragma once
2
3#include <osg/Notify>
4#include <osg/NodeVisitor>
5#include <osg/PagedLOD>
6#include <osgTerrain/TerrainTile>
7#include <osgTerrain/Layer>
8
9#include "ellipsoidTechnique.h"
10#include "rampedEllipsoidTechnique.h"
11
12
13class ModificationVisitor : public osg::NodeVisitor
14{
15public:
16        ModificationVisitor(std::string extensionToSet);
17        virtual void apply( osg::Node& node );
18        virtual void apply( osg::PagedLOD& pNode );
19
20private:
21        void modifyTile(osgTerrain::TerrainTile* tile);
22        std::string _extensionToSet;
23        osg::ref_ptr<rampedEllipsoidTechnique> _technique;
24
25};
Note: See TracBrowser for help on using the repository browser.