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/src/osgPlugins/quicktime/QTImportExport.h

    r12292 r13041  
    1919        /** ctor */ 
    2020        QuicktimeImportExport(); 
    21          
    22         /** readFromString tries to read a chunk of bytes and interpret it as an image.  
     21 
     22        /** readFromString tries to read a chunk of bytes and interpret it as an image. 
    2323         *  @param istream the input stream 
    2424         *  @param fileTypeHint you can speed up the conversion by providing a filename with extension, so quicktime has not to guess the image's type 
     
    2626         */ 
    2727        osg::Image* readFromStream(std::istream & inStream, const std::string& fileTypeHint, long sizeHint = 0); 
    28          
     28 
    2929        /** writes an osg::Image to a stream, using fileTypeHint as a hint whar format you want to write. */ 
    3030        void writeToStream(std::ostream& outStream, osg::Image* image, const std::string& fileTypeHint) ; 
    31          
     31 
    3232        /** get the last error-message */ 
    3333        const std::string getLastErrorString() { return _lastError; } 
    34          
     34 
    3535        /** return true if no error occured */ 
    3636        bool success() { return (_error == false); } 
    37      
     37 
    3838    protected: 
    39          
     39 
    4040        /** flips an image */ 
    4141        void flipImage(unsigned char* buffer, int bytesPerPixel, unsigned int width, unsigned height); 
    42          
     42 
    4343        /** do some swizzling, so osg can use the image */ 
    4444        unsigned char* pepareBufferForOSG(unsigned char * buffer, int bytesPerPixel, unsigned int width, unsigned height); 
    45          
     45 
    4646        /** do some swizzling, so quicktime can use the image */ 
    4747        unsigned char* prepareBufferForQuicktime(unsigned char* buffer, GLenum pixelFormat, int bytesPerPixel, unsigned int width, unsigned int height)  ; 
    48          
     48 
    4949        /** sets an error-msg */ 
    5050        void setError(const std::string& msg) { _lastError = msg; _error = true; } 
    51           
     51 
    5252        /** do the import */ 
    5353        osg::Image* doImport(unsigned char* buffer, unsigned int dataSize, const std::string& fileTypeHint); 
    54           
    55           
     54 
     55 
    5656    private: 
    5757        bool            _error;