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/osg/CoordinateSystemNode

    r10536 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*/ 
     
    2525 
    2626/** EllipsoidModel encapsulates the ellipsoid used to model astronomical bodies, 
    27  * such as sun, planets, moon etc.  
     27 * such as sun, planets, moon etc. 
    2828 * All distance quantities (i.e. heights + radius) are in meters, 
    2929 * and latitude and longitude are in radians.*/ 
     
    8888}; 
    8989 
    90 /** CoordinateFrame encapsulates the orientation of east, north and up.*/  
     90/** CoordinateFrame encapsulates the orientation of east, north and up.*/ 
    9191typedef Matrixd CoordinateFrame; 
    9292 
     
    103103        /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 
    104104        CoordinateSystemNode(const CoordinateSystemNode&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 
    105          
     105 
    106106        META_Node(osg,CoordinateSystemNode); 
    107          
    108          
     107 
     108 
    109109        /** Set the coordinate system node up by copying the format, coordinate system string, and ellipsoid model of another coordinate system node.*/ 
    110110        void set(const CoordinateSystemNode& csn); 
    111                  
     111 
    112112        /** Set the coordinate system format string. Typical values would be WKT, PROJ4, USGS etc.*/ 
    113113        void setFormat(const std::string& format) { _format = format; } 
    114          
     114 
    115115        /** Get the coordinate system format string.*/ 
    116116        const std::string& getFormat() const { return _format; } 
     
    118118        /** Set the CoordinateSystem reference string, should be stored in a form consistent with the Format.*/ 
    119119        void setCoordinateSystem(const std::string& cs) { _cs = cs; } 
    120          
     120 
    121121        /** Get the CoordinateSystem reference string.*/ 
    122122        const std::string& getCoordinateSystem() const { return _cs; } 
    123          
    124          
     123 
     124 
    125125        /** Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. */ 
    126126        void setEllipsoidModel(EllipsoidModel* ellipsode) { _ellipsoidModel = ellipsode; } 
    127          
     127 
    128128        /** Get the EllipsoidModel.*/ 
    129129        EllipsoidModel* getEllipsoidModel() { return _ellipsoidModel.get(); } 
    130          
     130 
    131131        /** Get the const EllipsoidModel.*/ 
    132132        const EllipsoidModel* getEllipsoidModel() const { return _ellipsoidModel.get(); } 
    133          
     133 
    134134        /** Compute the local coordinate frame for specified point.*/ 
    135135        CoordinateFrame computeLocalCoordinateFrame(const Vec3d& position) const; 
    136          
     136 
    137137        /** Compute the local up-vector for specified point.*/ 
    138138        osg::Vec3d computeLocalUpVector(const Vec3d& position) const; 
     
    141141 
    142142        virtual ~CoordinateSystemNode() {} 
    143                  
     143 
    144144        std::string             _format; 
    145145        std::string             _cs;