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/osgPresentation/PickEventHandler

    r12139 r13041  
    1 /* -*-c++-*- Present3D - Copyright (C) 1999-2006 Robert Osfield  
     1/* -*-c++-*- Present3D - Copyright (C) 1999-2006 Robert Osfield 
    22 * 
    3  * This software is open source and may be redistributed and/or modified under   
     3 * This software is open source and may be redistributed and/or modified under 
    44 * the terms of the GNU General Public License (GPL) version 2.0. 
    55 * The full license is in LICENSE.txt file included with this distribution,. 
    6  *  
     6 * 
    77 * This software is distributed in the hope that it will be useful, 
    88 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1010 * include LICENSE.txt for more details. 
    1111*/ 
     
    3131        PickEventHandler(const std::string& str, osgPresentation::Operation operation, bool relativeJump=true, int slideNum=0, int layerNum=0); 
    3232        PickEventHandler(const osgPresentation::KeyPosition& keyPos, bool relativeJump=true, int slideNum=0, int layerNum=0); 
    33          
     33 
    3434        void setOperation(osgPresentation::Operation operation) { _operation = operation; } 
    3535        osgPresentation::Operation getOperation() const { return _operation; } 
    36          
     36 
    3737        void setCommand(const std::string& str) { _command = str; } 
    3838        const std::string& getCommand() const { return _command; } 
    39      
     39 
    4040        void setKeyPosition(const osgPresentation::KeyPosition& keyPos) { _keyPos = keyPos; } 
    4141        const osgPresentation::KeyPosition&  getKeyPosition() const { return _keyPos; } 
    42          
     42 
    4343        void setRelativeJump(int slideDelta, int layerDelta); 
    4444        void setAbsoluteJump(int slideNum, int layerNum); 
    45          
     45 
    4646        bool getRelativeJump() const { return _relativeJump; } 
    4747        int getSlideNum() const { return _slideNum; } 
    4848        int getLayerNum() const { return _layerNum; } 
    49          
     49 
    5050        bool requiresJump() const { return _relativeJump ? (_slideNum!=0 || _layerNum!=0) : true; } 
    5151 
    5252        virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa, osg::Object* object, osg::NodeVisitor* nv); 
    53                  
     53 
    5454        virtual void accept(osgGA::GUIEventHandlerVisitor& v); 
    55          
     55 
    5656        virtual void getUsage(osg::ApplicationUsage& usage) const; 
    57          
     57 
    5858        void doOperation(); 
    59          
     59 
    6060        std::string                         _command; 
    6161        osgPresentation::KeyPosition        _keyPos; 
    6262        osgPresentation::Operation          _operation; 
    63          
     63 
    6464        bool                                _relativeJump; 
    6565        int                                 _slideNum;