source: experimental/TerrainTest/myTileLoadedCallback.h @ 219

Last change on this file since 219 was 165, checked in by Torben Dannhauer, 14 years ago
File size: 511 bytes
Line 
1#pragma once
2#include <osgTerrain/TerrainTile>
3
4namespace osgTerrain {
5
6class Terrain;
7
8class  myTileLoadedCallback : public TerrainTile::TileLoadedCallback
9{
10public:
11    myTileLoadedCallback(osgTerrain::Terrain* terrain);
12    virtual bool deferExternalLayerLoading() const;
13    virtual void loaded(osgTerrain::TerrainTile* tile, const osgDB::ReaderWriter::Options* options) const;
14   
15protected:
16    virtual ~myTileLoadedCallback();
17
18        osg::ref_ptr<osgTerrain::Terrain> _terrain;
19   
20};
21
22}
Note: See TracBrowser for help on using the repository browser.