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/osg/DrawPixels

    r6666 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*/ 
     
    3131        /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 
    3232        DrawPixels(const DrawPixels& drawimage,const CopyOp& copyop=CopyOp::SHALLOW_COPY); 
    33              
     33 
    3434        virtual Object* cloneType() const { return new DrawPixels(); } 
    3535 
    3636        virtual Object* clone(const CopyOp& copyop) const { return new DrawPixels(*this,copyop); } 
    37          
     37 
    3838        virtual bool isSameKindAs(const Object* obj) const { return dynamic_cast<const DrawPixels*>(obj)!=NULL; } 
    39          
     39 
    4040        virtual const char* libraryName() const { return "osg"; } 
    4141        virtual const char* className() const { return "DrawPixels"; } 
     
    4343 
    4444        void setPosition(const osg::Vec3& position); 
    45          
     45 
    4646        osg::Vec3& getPosition() { return _position; } 
    4747        const osg::Vec3& getPosition() const { return _position; } 
    4848 
    4949        void setImage(osg::Image* image) { _image = image; } 
    50          
     50 
    5151        osg::Image* getImage() { return _image.get(); } 
    5252        const osg::Image* getImage() const { return _image.get(); } 
    53          
     53 
    5454        void setUseSubImage(bool useSubImage) { _useSubImage=useSubImage; } 
    5555        bool getUseSubImage() const { return _useSubImage; } 
     
    6161 
    6262        virtual BoundingBox computeBound() const; 
    63          
     63 
    6464    protected: 
    6565 
     
    7070        Vec3            _position; 
    7171        ref_ptr<Image>  _image; 
    72          
     72 
    7373        bool            _useSubImage; 
    7474        unsigned int    _offsetX, _offsetY, _width, _height; 
    75          
     75 
    7676}; 
    7777