~ubuntu-branches/ubuntu/trusty/openscenegraph/trusty

« back to all changes in this revision

Viewing changes to OpenSceneGraph/include/osgTerrain/TileSystem

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2008-07-29 04:34:38 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080729043438-no1h9h0dpsrlzp1y
* Non-maintainer upload.
* No longer try to detect (using /proc/cpuinfo when available) how many
  CPUs are available, fixing the FTBFS (due to -j0) on various platforms
  (Closes: #477353). The right way to do it is to support parallel=n in
  DEB_BUILD_OPTIONS (see Debian Policy §4.9.1), and adequate support has
  been implemented.
* Add patch to fix FTBFS due to the build system now refusing to handle
  whitespaces (Policy CMP0004 say the logs), thanks to Andreas Putzo who
  provided it (Closes: #482239):
   - debian/patches/fix-cmp0004-build-failure.dpatch
* Remove myself from Uploaders, as requested a while ago, done by Luk in
  his 2.2.0-2.1 NMU, which was never acknowledged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 
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 
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.
7
 
 * 
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.
12
 
*/
13
 
 
14
 
#ifndef OSGTERRAIN_TILESYSTEM
15
 
#define OSGTERRAIN_TILESYSTEM 1
16
 
 
17
 
#include <osgTerrain/Export>
18
 
#include <osg/Object>
19
 
#include <osg/observer_ptr>
20
 
 
21
 
namespace osgTerrain {
22
 
 
23
 
 
24
 
/** TileSystem provides the mechanism for computing the position in space of tiles.*/
25
 
class OSGTERRAIN_EXPORT TileSystem : public osg::Object
26
 
{
27
 
    public:
28
 
 
29
 
        TileSystem();
30
 
        
31
 
        TileSystem(const TileSystem&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
32
 
 
33
 
        META_Object(osgTerrain, TileSystem);
34
 
 
35
 
    protected:
36
 
 
37
 
        virtual ~TileSystem();
38
 
};
39
 
 
40
 
class OSGTERRAIN_EXPORT TileID : public osg::Object
41
 
{
42
 
    public:
43
 
    
44
 
        TileID();
45
 
        
46
 
        TileID(const TileID&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
47
 
 
48
 
        META_Object(osgTerrain, TileID);
49
 
 
50
 
    protected:
51
 
 
52
 
        virtual ~TileID();
53
 
 
54
 
        osg::observer_ptr<TileSystem> _tileSystem;
55
 
        int _layer;
56
 
        int _x;
57
 
        int _y;
58
 
};
59
 
 
60
 
}
61
 
 
62
 
#endif