source: experimental/TerrainTest/myTileLoadedCallback.h @ 192

Last change on this file since 192 was 165, checked in by Torben Dannhauer, 14 years ago
File size: 511 bytes
RevLine 
[165]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.