Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgVolume/VolumeTile

    r12292 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2009 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2009 Robert Osfield 
    22 * 
    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 
    55 * (at your option) any later version.  The full license is in LICENSE file 
    66 * included with this distribution, and on the openscenegraph.org website. 
    7  *  
     7 * 
    88 * This library is distributed in the hope that it will be useful, 
    99 * 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 
    1111 * OpenSceneGraph Public License for more details. 
    1212*/ 
     
    3030{ 
    3131    public: 
    32      
     32 
    3333        TileID(); 
    3434 
    3535        TileID(int in_level, int in_x, int in_y, int in_z); 
    36              
    37         bool operator == (const TileID& rhs) const         
     36 
     37        bool operator == (const TileID& rhs) const 
    3838        { 
    3939            return (level==rhs.level) && (x==rhs.x) && (y==rhs.y) && (z==rhs.z); 
    4040        } 
    4141 
    42         bool operator != (const TileID& rhs) const         
     42        bool operator != (const TileID& rhs) const 
    4343        { 
    4444            return (level!=rhs.level) || (x!=rhs.x) || (y!=rhs.y) || (z!=rhs.z); 
     
    5555            return z<rhs.z; 
    5656        } 
    57          
     57 
    5858        bool valid() const { return level>=0; } 
    5959 
     
    7272 
    7373        VolumeTile(); 
    74          
     74 
    7575        /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 
    7676        VolumeTile(const VolumeTile&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 
     
    9393        const Volume* getVolume() const { return _volume; } 
    9494 
    95          
     95 
    9696        /** Set the TileID (layer, x,y,z) of the VolumeTile. 
    97           * The TileID is used so it can be located by its neighbours  
     97          * The TileID is used so it can be located by its neighbours 
    9898          * via the enclosing Volume node that manages a map of TileID to VolumeTiles.*/ 
    9999        void setTileID(const TileID& tileID); 
    100          
     100 
    101101        /** Get the TileID (layer, x,y,z) of the VolumeTile.*/ 
    102102        const TileID& getTileID() const { return _tileID; } 
    103          
    104          
     103 
     104 
    105105        void setLocator(Locator* locator) { _locator = locator; } 
    106106        Locator* getLocator() { return _locator.get(); } 
     
    119119        /** Get the VolumeTechnique that will be used to render this tile. */ 
    120120        VolumeTechnique* getVolumeTechnique() { return _volumeTechnique.get(); } 
    121          
     121 
    122122        /** Get the const VolumeTechnique that will be used to render this tile. */ 
    123123        const VolumeTechnique* getVolumeTechnique() const { return _volumeTechnique.get(); } 
     
    140140 
    141141        Volume*                             _volume; 
    142          
     142 
    143143        bool                                _dirty; 
    144144        bool                                _hasBeenTraversal; 
    145          
     145 
    146146        TileID                              _tileID; 
    147147 
    148148        osg::ref_ptr<VolumeTechnique>       _volumeTechnique; 
    149149 
    150         osg::ref_ptr<Locator>               _locator;         
     150        osg::ref_ptr<Locator>               _locator; 
    151151 
    152152        osg::ref_ptr<Layer>                 _layer;