Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/txp/TileMapper.h
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/txp/TileMapper.h
r12536 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2004 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2004 Robert Osfield 2 2 * 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 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 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 43 43 lod(alod) 44 44 {} 45 45 46 46 TileIdentifier(const TileIdentifier& rhs): 47 47 osg::Referenced(), … … 91 91 { 92 92 public: 93 93 94 94 typedef osg::Matrix::value_type value_type; 95 95 … … 98 98 osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN) {} 99 99 100 100 101 101 virtual osg::Vec3 getEyePoint() const 102 102 { … … 110 110 virtual void apply(osg::Geode& node); 111 111 virtual void apply(osg::PagedLOD& node); 112 112 113 113 void insertTile(const TileIdentifier& tid); 114 114 115 115 bool isTileNeighbourALowerLODLevel(const TileIdentifier& tid, int dx, int dy) const; 116 116 117 117 protected: 118 118 … … 120 120 TileMap _tileMap; 121 121 bool _containsGeode; 122 122 123 123 }; 124 124
