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/osgSim/MultiSwitch

    r11961 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*/ 
     
    2626{ 
    2727    public : 
    28          
     28 
    2929 
    3030        MultiSwitch(); 
     
    3636 
    3737        virtual void traverse(osg::NodeVisitor& nv); 
    38          
     38 
    3939        void setNewChildDefaultValue(bool value) { _newChildDefaultValue = value; } 
    40          
     40 
    4141        bool getNewChildDefaultValue() const { return _newChildDefaultValue; } 
    4242 
     
    5252 
    5353        void setChildValue(const osg::Node* child,unsigned int switchSet, bool value); 
    54          
     54 
    5555        bool getChildValue(const osg::Node* child,unsigned int switchSet) const; 
    5656 
    5757        /** Set all the children off (false), and set the new default child value to off (false).*/ 
    5858        bool setAllChildrenOff(unsigned int switchSet); 
    59          
     59 
    6060        /** Set all the children on (true), and set the new default child value to on (true).*/ 
    6161        bool setAllChildrenOn(unsigned int switchSet); 
    62          
     62 
    6363        /** Set a single child to be on, MultiSwitch off all other children.*/ 
    6464        bool setSingleChildOn(unsigned int switchSet, unsigned int pos); 
    65          
     65 
    6666        /** Set which of the available switch set lists to use.*/ 
    6767        void setActiveSwitchSet(unsigned int switchSet) { _activeSwitchSet = switchSet; } 
    68          
     68 
    6969        /** Get which of the available switch set lists to use.*/ 
    7070        unsigned int getActiveSwitchSet() const { return _activeSwitchSet; } 
     
    7373        typedef std::vector<ValueList>   SwitchSetList; 
    7474        typedef std::vector<std::string> SwitchSetNameList; 
    75          
     75 
    7676        /** Set the compile set of different values.*/ 
    7777        void setSwitchSetList(const SwitchSetList& switchSetList); 
     
    9191 
    9292    protected : 
    93      
     93 
    9494        virtual ~MultiSwitch() {} 
    95          
     95 
    9696        void expandToEncompassSwitchSet(unsigned int switchSet); 
    9797