1
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
3
* This library is open source and may be redistributed and/or modified under
4
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5
* (at your option) any later version. The full license is in LICENSE file
6
* included with this distribution, and on the openscenegraph.org website.
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* OpenSceneGraph Public License for more details.
14
#ifndef OSGTERRAIN_TILESYSTEM
15
#define OSGTERRAIN_TILESYSTEM 1
17
#include <osgTerrain/Export>
19
#include <osg/observer_ptr>
21
namespace osgTerrain {
24
/** TileSystem provides the mechanism for computing the position in space of tiles.*/
25
class OSGTERRAIN_EXPORT TileSystem : public osg::Object
31
TileSystem(const TileSystem&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
33
META_Object(osgTerrain, TileSystem);
37
virtual ~TileSystem();
40
class OSGTERRAIN_EXPORT TileID : public osg::Object
46
TileID(const TileID&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
48
META_Object(osgTerrain, TileID);
54
osg::observer_ptr<TileSystem> _tileSystem;