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/src/osgPlugins/gdal/DataSetLayer.cpp

    r12292 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2007 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2007 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*/ 
     
    151151                    0.0,                0.0,                1.0,    0.0, 
    152152                    geoTransform[0],    geoTransform[3],    0.0,    1.0); 
    153                      
    154              
     153 
     154 
    155155        int nPixels = _dataset->GetRasterXSize(); 
    156156        int nLines = _dataset->GetRasterYSize(); 
     
    162162        locator->setDefinedInFile(true); 
    163163 
    164         setLocator(locator.get());     
     164        setLocator(locator.get()); 
    165165 
    166166    } 
     
    174174        /*      destination coordinate system.                                  */ 
    175175        /* -------------------------------------------------------------------- */ 
    176         void *hTransformArg =  
    177             GDALCreateGenImgProjTransformer( _dataset, pszSourceSRS,  
    178                                              NULL, pszSourceSRS,  
     176        void *hTransformArg = 
     177            GDALCreateGenImgProjTransformer( _dataset, pszSourceSRS, 
     178                                             NULL, pszSourceSRS, 
    179179                                             TRUE, 0.0, 1 ); 
    180180 
     
    190190        double adfDstGeoTransform[6]; 
    191191        int nPixels=0, nLines=0; 
    192         if( GDALSuggestedWarpOutput( _dataset,  
    193                                      GDALGenImgProjTransform, hTransformArg,  
     192        if( GDALSuggestedWarpOutput( _dataset, 
     193                                     GDALGenImgProjTransform, hTransformArg, 
    194194                                     adfDstGeoTransform, &nPixels, &nLines ) 
    195195            != CE_None ) 
     
    210210            osg::Matrixd::scale(static_cast<double>(nPixels-1), static_cast<double>(nLines-1), 1.0) * 
    211211            matrix); 
    212              
     212 
    213213        locator->setDefinedInFile(true); 
    214214 
    215         setLocator(locator.get());     
     215        setLocator(locator.get()); 
    216216    } 
    217217    else