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

    r12817 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        ProxyNode(); 
    2828 
     
    3131 
    3232        META_Node(osg, ProxyNode); 
    33          
     33 
    3434        typedef osg::BoundingSphere::vec_type vec_type; 
    3535        typedef osg::BoundingSphere::value_type value_type; 
    3636 
    3737        virtual void traverse(NodeVisitor& nv); 
    38         
     38 
    3939        virtual bool addChild(Node *child); 
    4040        virtual bool addChild(Node *child, const std::string& filename); 
    41          
     41 
    4242        virtual bool removeChildren(unsigned int pos,unsigned int numChildrenToRemove); 
    4343 
     
    6262        unsigned int getNumFileNames() const { return _filenameList.size(); } 
    6363 
    64         /** Return the DatabaseRequest object used by the DatabasePager to keep track of file load requests  
     64        /** Return the DatabaseRequest object used by the DatabasePager to keep track of file load requests 
    6565          * being carried on behalf of the DatabasePager. 
    66           * Note, in normal OSG usage you should not set this value yourself, as this will be managed by  
     66          * Note, in normal OSG usage you should not set this value yourself, as this will be managed by 
    6767          * the osgDB::DatabasePager.*/ 
    6868        osg::ref_ptr<osg::Referenced>& getDatabaseRequest(unsigned int childNo) { return _filenameList[childNo].second; } 
    69          
    70         /** Return the const DatabaseRequest object.*/  
     69 
     70        /** Return the const DatabaseRequest object.*/ 
    7171        const osg::ref_ptr<osg::Referenced>& getDatabaseRequest(unsigned int childNo) const { return _filenameList[childNo].second; } 
    7272 
     
    8585        /** Get how the center of object should be determined when computed which child is active.*/ 
    8686        CenterMode getCenterMode() const { return _centerMode; } 
    87          
     87 
    8888        /** Modes which control how the proxynode external reference are loaded.*/ 
    8989        enum LoadingExternalReferenceMode 
     
    100100        LoadingExternalReferenceMode getLoadingExternalReferenceMode() const { return _loadingExtReference; } 
    101101 
    102         /** Sets the object-space point which defines the center of the osg::ProxyNode.   
     102        /** Sets the object-space point which defines the center of the osg::ProxyNode. 
    103103            center is affected by any transforms in the hierarchy above the osg::ProxyNode.*/ 
    104104        inline void setCenter(const vec_type& center) { if (_centerMode!=UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED) { _centerMode=USER_DEFINED_CENTER; } _userDefinedCenter = center; } 
    105          
     105 
    106106        /** return the ProxyNode center point. */ 
    107107        inline const vec_type& getCenter() const { if ((_centerMode==USER_DEFINED_CENTER)||(_centerMode==UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED)) return _userDefinedCenter; else return getBound().center(); } 
    108108 
    109109 
    110         /** Set the object-space reference radius of the volume enclosed by the ProxyNode.  
     110        /** Set the object-space reference radius of the volume enclosed by the ProxyNode. 
    111111          * Used to determine the bounding sphere of the ProxyNode in the absence of any children.*/ 
    112112        inline void setRadius(value_type radius) { _radius = radius; } 
    113          
     113 
    114114        /** Get the object-space radius of the volume enclosed by the ProxyNode.*/ 
    115115        inline value_type getRadius() const { return _radius; } 
     
    118118 
    119119    protected : 
    120      
     120 
    121121        virtual ~ProxyNode() {} 
    122122 
     
    129129        ref_ptr<Referenced>             _databaseOptions; 
    130130        std::string                     _databasePath; 
    131          
     131 
    132132        LoadingExternalReferenceMode    _loadingExtReference; 
    133          
     133 
    134134        CenterMode                      _centerMode; 
    135135        vec_type                        _userDefinedCenter; 
    136136        value_type                      _radius; 
    137          
     137 
    138138}; 
    139139