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/PagedLOD

    r12942 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*/ 
     
    2424{ 
    2525    public : 
    26      
     26 
    2727        PagedLOD(); 
    2828 
     
    3131 
    3232        META_Node(osg, PagedLOD); 
    33          
    34          
     33 
     34 
    3535 
    3636        virtual void traverse(NodeVisitor& nv); 
    37          
     37 
    3838        virtual bool addChild(Node *child); 
    3939 
     
    6161        inline const std::string& getDatabasePath() const { return _databasePath; } 
    6262 
    63          
     63 
    6464        struct OSG_EXPORT PerRangeData 
    6565        { 
     
    8080 
    8181        typedef std::vector<PerRangeData> PerRangeDataList; 
    82          
     82 
    8383        void setFileName(unsigned int childNo, const std::string& filename) { expandPerRangeDataTo(childNo); _perRangeDataList[childNo]._filename=filename; } 
    8484        const std::string& getFileName(unsigned int childNo) const { return _perRangeDataList[childNo]._filename; } 
     
    114114 
    115115 
    116         /** Return the DatabaseRequest object used by the DatabasePager to keep track of file load requests  
     116        /** Return the DatabaseRequest object used by the DatabasePager to keep track of file load requests 
    117117          * being carried on behalf of the DatabasePager. 
    118           * Note, in normal OSG usage you should not set this value yourself, as this will be managed by  
     118          * Note, in normal OSG usage you should not set this value yourself, as this will be managed by 
    119119          * the osgDB::DatabasePager.*/ 
    120120        osg::ref_ptr<osg::Referenced>& getDatabaseRequest(unsigned int childNo) { return _perRangeDataList[childNo]._databaseRequest; } 
    121          
    122         /** Return the const DatabaseRequest object.*/  
     121 
     122        /** Return the const DatabaseRequest object.*/ 
    123123        const osg::ref_ptr<osg::Referenced>& getDatabaseRequest(unsigned int childNo) const { return _perRangeDataList[childNo]._databaseRequest; } 
    124124 
    125125 
    126126        /** Set the frame number of the last time that this PageLOD node was traversed. 
    127           * Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).  
     127          * Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.). 
    128128          */ 
    129129        inline void setFrameNumberOfLastTraversal(unsigned int frameNumber) { _frameNumberOfLastTraversal=frameNumber; } 
     
    151151          * Return true if children are removed, false otherwise. */ 
    152152        virtual bool removeExpiredChildren(double expiryTime, unsigned int expiryFrame, NodeList& removedChildren); 
    153          
     153 
    154154    protected : 
    155      
     155 
    156156        virtual ~PagedLOD(); 
    157          
     157 
    158158        void expandPerRangeDataTo(unsigned int pos); 
    159159