Changeset 13041 for OpenSceneGraph/trunk/include/osgTerrain/Terrain
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgTerrain/Terrain (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgTerrain/Terrain
r12904 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 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 */ … … 29 29 30 30 Terrain(); 31 31 32 32 /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 33 33 Terrain(const Terrain&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); … … 79 79 /** Get the const TerrainTile for a given TileID.*/ 80 80 const TerrainTile* getTile(const TileID& tileID) const; 81 81 82 82 /** Set the TerrainTechnique prototype from which TerrainTiles can clone the techniques from.*/ 83 83 void setTerrainTechniquePrototype(TerrainTechnique* technique) { _terrainTechnique = technique; } … … 85 85 /** Get the TerrainTechnique prototype */ 86 86 TerrainTechnique* getTerrainTechniquePrototype() { return _terrainTechnique.get(); } 87 87 88 88 /** Get the const TerrainTechnique protype*/ 89 89 const TerrainTechnique* getTerrainTechniquePrototype() const { return _terrainTechnique.get(); } … … 95 95 96 96 virtual ~Terrain(); 97 97 98 98 friend class TerrainTile; 99 99 100 100 void dirtyRegisteredTiles(int dirtyMask = TerrainTile::ALL_DIRTY); 101 101
