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/osgGA/AnimationPathManipulator

    r12034 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*/ 
     
    3535{ 
    3636    public: 
    37      
     37 
    3838        AnimationPathManipulator( osg::AnimationPath* animationPath=0 ); 
    3939 
    4040        AnimationPathManipulator( const std::string& filename ); 
    41          
     41 
    4242        virtual const char* className() const { return "AnimationPath"; } 
    4343 
    4444        void setTimeScale(double s) { _timeScale = s; } 
    4545        double getTimeScale() const { return _timeScale; } 
    46          
     46 
    4747        void setTimeOffset(double o) { _timeOffset = o; } 
    4848        double getTimeOffset() const { return _timeOffset; } 
     
    5959        void setPrintOutTimingInfo(bool printOutTimingInfo) { _printOutTimingInfo=printOutTimingInfo; } 
    6060        bool getPrintOutTimingInfo() const { return _printOutTimingInfo; } 
    61          
     61 
    6262        /** set the position of the matrix manipulator using a 4x4 Matrix.*/ 
    6363        virtual void setByMatrix(const osg::Matrixd& matrix) { _matrix = matrix; } 
     
    7070 
    7171        /** get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix.*/ 
    72         virtual osg::Matrixd getInverseMatrix() const { return osg::Matrixd::inverse(_matrix); }  
     72        virtual osg::Matrixd getInverseMatrix() const { return osg::Matrixd::inverse(_matrix); } 
    7373 
    7474 
    7575        void setAnimationPath( osg::AnimationPath* animationPath ) { _animationPath=animationPath; } 
    76          
     76 
    7777        osg::AnimationPath* getAnimationPath() { return _animationPath.get(); } 
    78          
     78 
    7979        const osg::AnimationPath* getAnimationPath() const { return _animationPath.get(); } 
    8080 
     
    9090        /** Get the keyboard and mouse usage of this manipulator.*/ 
    9191        virtual void getUsage(osg::ApplicationUsage& usage) const; 
    92              
     92 
    9393    protected: 
    9494 
    9595        bool _valid; 
    96          
     96 
    9797        bool _printOutTimingInfo; 
    9898 
     
    100100 
    101101        osg::ref_ptr<osg::AnimationPath> _animationPath; 
    102          
     102 
    103103        double  _timeOffset; 
    104104        double  _timeScale; 
     
    108108        double  _pauseTime; 
    109109        bool    _isPaused; 
    110          
     110 
    111111        double  _realStartOfTimedPeriod; 
    112112        double  _animStartOfTimedPeriod; 
    113113        int     _numOfFramesSinceStartOfTimedPeriod; 
    114          
     114 
    115115        osg::Matrixd _matrix; 
    116116