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

    r9321 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*/ 
     
    2121/** Switch is a Group node that allows switching between children. 
    2222  * Typical uses would be for objects which might need to be rendered 
    23   * differently at different times, for instance a switch could be used  
     23  * differently at different times, for instance a switch could be used 
    2424  * to represent the different states of a traffic light. 
    2525*/ 
     
    2727{ 
    2828    public : 
    29          
     29 
    3030 
    3131        Switch(); 
     
    4141 
    4242        virtual void traverse(NodeVisitor& nv); 
    43          
     43 
    4444        void setNewChildDefaultValue(bool value) { _newChildDefaultValue = value; } 
    45          
     45 
    4646        bool getNewChildDefaultValue() const { return _newChildDefaultValue; } 
    4747 
     
    6262 
    6363        void setChildValue(const Node* child,bool value); 
    64          
     64 
    6565        bool getChildValue(const Node* child) const; 
    6666 
     
    6868          * value to off (false). */ 
    6969        bool setAllChildrenOff(); 
    70          
     70 
    7171        /** Set all the children on (true), and set the new default child 
    7272          * value to on (true). */ 
    7373        bool setAllChildrenOn(); 
    74          
     74 
    7575        /** Set a single child on, switch off all other children. */ 
    7676        bool setSingleChildOn(unsigned int pos); 
    77          
     77 
    7878 
    7979        typedef std::vector<bool>   ValueList; 
    80          
     80 
    8181        void setValueList(const ValueList& values) { _values=values; } 
    8282 
     
    8686 
    8787    protected : 
    88      
     88 
    8989        virtual ~Switch() {} 
    9090