Show
Ignore:
Timestamp:
04/19/11 13:46:05 (4 years ago)
Author:
robert
Message:

Removed spaces from end of lines

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/ViewerBase

    r12292 r12293  
    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*/ 
     
    3636{ 
    3737    public: 
    38      
     38 
    3939        ViewerBase(); 
    4040        ViewerBase(const ViewerBase& vb); 
    41          
    42          
     41 
     42 
    4343        /** Set the Stats object used for collect various frame related timing and scene graph stats.*/ 
    4444        virtual void setViewerStats(osg::Stats* stats) = 0; 
     
    5050        virtual const osg::Stats* getViewerStats() const = 0; 
    5151 
    52              
     52 
    5353         /** read the viewer configuration from a configuration file.*/ 
    5454        virtual bool readConfiguration(const std::string& filename) = 0; 
    55          
     55 
    5656        /** Get whether at least of one of this viewers windows are realized.*/ 
    5757        virtual bool isRealized() const = 0; 
     
    7373        /** Set the threading model the rendering traversals will use.*/ 
    7474        virtual void setThreadingModel(ThreadingModel threadingModel); 
    75          
     75 
    7676        /** Get the threading model the rendering traversals will use.*/ 
    7777        ThreadingModel getThreadingModel() const { return _threadingModel; } 
     
    8181 
    8282        /** Set up the threading and processor affinity as per the viewers threading model.*/ 
    83         virtual void setUpThreading();       
     83        virtual void setUpThreading(); 
    8484 
    8585        /** Return true if viewer threads are running. */ 
     
    9090 
    9191        /** Start any threads required by the viewer.*/ 
    92         virtual void startThreading();         
     92        virtual void startThreading(); 
    9393 
    9494        enum BarrierPosition 
     
    9797            AfterSwapBuffers 
    9898        }; 
    99          
     99 
    100100         /** Set the position of the end barrier. 
    101101          * AfterSwapBuffers may result in slightly higher framerates, but may 
     
    108108        BarrierPosition getEndBarrierPosition() const { return _endBarrierPosition; } 
    109109 
    110   
    111   
     110 
     111 
    112112        /** Set the done flag to signal the viewer's work is done and should exit the frame loop.*/ 
    113113        void setDone(bool done) { _done = done; } 
     
    133133        /** get the key event that the viewer checks on each frame to see if the viewer's done flag.*/ 
    134134        int getKeyEventSetsDone() const { return _keyEventSetsDone; } 
    135          
     135 
    136136        /** if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature */ 
    137137        void setQuitEventSetsDone(bool flag) { _quitEventSetsDone = flag; } 
    138          
     138 
    139139        /** @return true if the viewer respond to the QUIT_APPLICATION-event */ 
    140140        bool getQuitEventSetsDone() const { return _quitEventSetsDone; } 
     
    142142 
    143143        /** Hint to tell the renderingTraversals() method whether to call relaseContext() on the last 
    144           * context that was made current by the thread calling renderingTraverals().  Note, when  
     144          * context that was made current by the thread calling renderingTraverals().  Note, when 
    145145          * running multi-threaded viewer no threads will be made current or release current. 
    146146          * Setting this hint to false can enable the frame loop to be lazy about calling makeCurrent 
     
    149149          * be left on, otherwise the wrong context could be left active, introducing errors in rendering.*/ 
    150150        void setReleaseContextAtEndOfFrameHint(bool hint) { _releaseContextAtEndOfFrameHint = hint; } 
    151          
     151 
    152152        /** Hint to tell the renderingTraversals() method whether to call relaseContext().*/ 
    153153        bool getReleaseContextAtEndOfFrameHint() const { return _releaseContextAtEndOfFrameHint; } 
     
    169169        /** Get the Update OperationQueue. */ 
    170170        osg::OperationQueue* getUpdateOperations() { return _updateOperations.get(); } 
    171          
     171 
    172172        /** Get the const Update OperationQueue. */ 
    173173        const osg::OperationQueue* getUpdateOperations() const { return _updateOperations.get(); } 
    174          
     174 
    175175        /** Add an update operation.*/ 
    176176        void addUpdateOperation(osg::Operation* operation); 
     
    185185        /** Get the graphics operation to call on realization of the viewers graphics windows.*/ 
    186186        osg::Operation* getRealizeOperation() { return _realizeOperation.get(); } 
    187          
    188          
     187 
     188 
    189189        /** Set the incremental compile operation. 
    190190          * Used to manage the OpenGL object compilation and merging of subgraphs in a way that avoids overloading 
     
    230230 
    231231        virtual void updateTraversal() = 0; 
    232          
     232 
    233233        virtual void renderingTraversals(); 
    234234 
     
    260260        /** Get the keyboard and mouse usage of this viewer.*/ 
    261261        virtual void getUsage(osg::ApplicationUsage& usage) const = 0; 
    262          
     262 
    263263    protected: 
    264264