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/include/osg/Node

    r12897 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*/ 
     
    6060        virtual const char* libraryName() const { return #library; } \ 
    6161        virtual void accept(osg::NodeVisitor& nv) { if (nv.validNodeMask(*this)) { nv.pushOntoNodePath(this); nv.apply(*this); nv.popFromNodePath(); } } \ 
    62          
     62 
    6363 
    6464/** Base class for all internal nodes in the scene graph. 
     
    7070 
    7171        /** Construct a node. 
    72             Initialize the parent list to empty, node name to "" and  
     72            Initialize the parent list to empty, node name to "" and 
    7373            bounding sphere dirty flag to true.*/ 
    7474        Node(); 
     
    146146        virtual void ascend(NodeVisitor& nv); 
    147147        /** Traverse downwards : calls children's accept method with NodeVisitor.*/ 
    148         virtual void traverse(NodeVisitor& /*nv*/) {}        
     148        virtual void traverse(NodeVisitor& /*nv*/) {} 
    149149 
    150150        /** A vector of osg::Group pointers which is used to store the parent(s) of node.*/ 
     
    154154        inline const ParentList& getParents() const { return _parents; } 
    155155 
    156         /** Get the a copy of parent list of node. A copy is returned to  
     156        /** Get the a copy of parent list of node. A copy is returned to 
    157157          * prevent modification of the parent list.*/ 
    158158        inline ParentList getParents() { return _parents; } 
     
    180180          * The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. */ 
    181181        MatrixList getWorldMatrices(const osg::Node* haltTraversalAtNode=0) const; 
    182          
     182 
    183183 
    184184        /** Set update node callback, called during update traversal. */ 
     
    286286        inline unsigned int getNumChildrenWithOccluderNodes() const { return _numChildrenWithOccluderNodes; } 
    287287 
    288          
     288 
    289289        /** return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes.*/ 
    290290        bool containsOccluderNodes() const; 
     
    354354        /** Add a description string to the node.*/ 
    355355        void addDescription(const std::string& desc); 
    356          
     356 
    357357 
    358358        /** Set the initial bounding volume to use when computing the overall bounding volume.*/ 
     
    373373            { 
    374374                _boundingSphere = _initialBound; 
    375                 if (_computeBoundCallback.valid())  
     375                if (_computeBoundCallback.valid()) 
    376376                    _boundingSphere.expandBy(_computeBoundCallback->computeBound(*this)); 
    377377                else 
    378378                    _boundingSphere.expandBy(computeBound()); 
    379                      
     379 
    380380                _boundingSphereComputed = true; 
    381381            } 
     
    459459 
    460460        bool _cullingActive; 
    461         unsigned int _numChildrenWithCullingDisabled;         
     461        unsigned int _numChildrenWithCullingDisabled; 
    462462        void setNumChildrenWithCullingDisabled(unsigned int num); 
    463463 
    464         unsigned int _numChildrenWithOccluderNodes;         
     464        unsigned int _numChildrenWithOccluderNodes; 
    465465        void setNumChildrenWithOccluderNodes(unsigned int num); 
    466466