Line | |
---|
1 | #pragma once |
---|
2 | #include <osgTerrain/TerrainTile> |
---|
3 | |
---|
4 | namespace osgTerrain { |
---|
5 | |
---|
6 | class Terrain; |
---|
7 | |
---|
8 | class myTileLoadedCallback : public TerrainTile::TileLoadedCallback |
---|
9 | { |
---|
10 | public: |
---|
11 | myTileLoadedCallback(osgTerrain::Terrain* terrain); |
---|
12 | virtual bool deferExternalLayerLoading() const; |
---|
13 | virtual void loaded(osgTerrain::TerrainTile* tile, const osgDB::ReaderWriter::Options* options) const; |
---|
14 | |
---|
15 | protected: |
---|
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.