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

    r12139 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*/ 
     
    4545        virtual void setReferenceTime(double t) { _referenceTime = t; } 
    4646        virtual double getReferenceTime() const { return _referenceTime; } 
    47                  
     47 
    4848        virtual void setTimeMultiplier(double tm) { _timeMultiplier = tm; } 
    4949        virtual double getTimeMultiplier() const { return _timeMultiplier; } 
     
    5151        typedef std::vector< osg::ref_ptr<osg::Image> >   Images; 
    5252        typedef std::vector< std::string >                FileNames; 
    53          
     53 
    5454        virtual void seek(double time); 
    5555 
     
    5959 
    6060        virtual void rewind(); 
    61          
     61 
    6262        enum Mode 
    6363        { 
     
    6666            PAGE_AND_DISCARD_USED_IMAGES 
    6767        }; 
    68          
     68 
    6969        void setMode(Mode mode); 
    7070        Mode getMode() const { return _mode; } 
     
    7272        void setLength(double length); 
    7373        virtual double getLength() const { return _length; } 
    74          
     74 
    7575 
    7676        void addImageFile(const std::string& fileName); 
    77          
     77 
    7878        void setImageFile(unsigned int pos, const std::string& fileName); 
    7979        std::string getImageFile(unsigned int pos) const; 
    80          
     80 
    8181        unsigned int getNumImageFiles() const { return _fileNames.size(); } 
    8282 
     
    8585 
    8686        void addImage(osg::Image* image); 
    87          
     87 
    8888        void setImage(int s,int t,int r, 
    8989                      GLint internalTextureformat, 
     
    9696        Image* getImage(unsigned int pos); 
    9797        const Image* getImage(unsigned int pos) const; 
    98          
     98 
    9999        unsigned int getNumImages() const { return _images.size(); } 
    100100 
     
    111111 
    112112        virtual ~ImageSequence() {} 
    113          
     113 
    114114        virtual void applyLoopingMode(); 
    115115 
    116116        void setImageToChild(const osg::Image* image); 
    117          
     117 
    118118        void computeTimePerImage(); 
    119119 
     
    133133 
    134134        Images                          _images; 
    135          
     135 
    136136        typedef std::set< std::string > FilesRequested; 
    137137        FilesRequested                  _filesRequested; 
    138          
     138 
    139139        int                             _previousAppliedImageIndex; 
    140                  
    141          
     140 
     141 
    142142        bool                            _seekTimeSet; 
    143143        double                          _seekTime; 
    144          
    145          
     144 
     145 
    146146 
    147147};