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

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgTerrain/Locator

    r12139 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 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*/ 
     
    3131        /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 
    3232        Locator(const Locator&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 
    33          
     33 
    3434        META_Object(osgTerrain, Locator); 
    3535 
     
    5656        /** Set the coordinate system format string. Typical values would be WKT, PROJ4, USGS etc.*/ 
    5757        void setFormat(const std::string& format) { _format = format; } 
    58          
     58 
    5959        /** Get the coordinate system format string.*/ 
    6060        const std::string& getFormat() const { return _format; } 
     
    6262        /** Set the CoordinateSystem reference string, should be stored in a form consistent with the Format.*/ 
    6363        void setCoordinateSystem(const std::string& cs) { _cs = cs; } 
    64          
     64 
    6565        /** Get the CoordinateSystem reference string.*/ 
    6666        const std::string& getCoordinateSystem() const { return _cs; } 
     
    6969        /** Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. */ 
    7070        void setEllipsoidModel(osg::EllipsoidModel* ellipsode) { _ellipsoidModel = ellipsode; } 
    71          
     71 
    7272        /** Get the EllipsoidModel.*/ 
    7373        osg::EllipsoidModel* getEllipsoidModel() { return _ellipsoidModel.get(); } 
    74          
     74 
    7575        /** Get the const EllipsoidModel.*/ 
    7676        const osg::EllipsoidModel* getEllipsoidModel() const { return _ellipsoidModel.get(); } 
     
    8686        void setTransformAsExtents(double minX, double minY, double maxX, double maxY); 
    8787 
    88          
     88 
    8989        virtual bool orientationOpenGL() const; 
    9090 
     
    9393        virtual bool convertModelToLocal(const osg::Vec3d& world, osg::Vec3d& local) const; 
    9494 
    95         static bool convertLocalCoordBetween(const Locator& source, const osg::Vec3d& sourceNDC,  
     95        static bool convertLocalCoordBetween(const Locator& source, const osg::Vec3d& sourceNDC, 
    9696                                             const Locator& destination, osg::Vec3d& destinationNDC) 
    9797        { 
     
    101101            return true; 
    102102        } 
    103          
     103 
    104104        bool computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const; 
    105          
     105 
    106106        void setDefinedInFile(bool flag) { _definedInFile = flag; } 
    107107        bool getDefinedInFile() const { return _definedInFile; } 
    108          
     108 
    109109        void setTransformScaledByResolution(bool scaledByResolution) { _transformScaledByResolution = scaledByResolution; } 
    110110        bool getTransformScaledByResolution() const { return _transformScaledByResolution; } 
     
    113113 
    114114        virtual ~Locator(); 
    115          
     115 
    116116        CoordinateSystemType                _coordinateSystemType; 
    117117 
     
    122122        osg::Matrixd                        _transform; 
    123123        osg::Matrixd                        _inverse; 
    124          
     124 
    125125        bool                                _definedInFile; 
    126126        bool                                _transformScaledByResolution;