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/osgShadow/DebugShadowMap

    r12188 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 * 
     
    3030/** 
    3131Class used as a layer for debuging resources used by derived xxxShadowMap classes. 
    32 As designed by its base ViewDepndentShadowTechnique, DebugShadowMap serves mainly as container of  
     32As designed by its base ViewDepndentShadowTechnique, DebugShadowMap serves mainly as container of 
    3333DebugShadowMap::ViewData objects. Most of the debuging support work is done by these objects. 
    34 DebugShadowMap technique only initializes them in initViewDependentData method.  
     34DebugShadowMap technique only initializes them in initViewDependentData method. 
    3535 
    3636Debuging outputs present: 
     
    3939*/ 
    4040 
    41 class OSGSHADOW_EXPORT DebugShadowMap : public ViewDependentShadowTechnique  
     41class OSGSHADOW_EXPORT DebugShadowMap : public ViewDependentShadowTechnique 
    4242{ 
    4343    public : 
     
    4747 
    4848        They are always based on some underlying level base Technique and they always 
    49         derive their ViewData from ViewData structure defined in underlying base Technique.  
     49        derive their ViewData from ViewData structure defined in underlying base Technique. 
    5050 
    5151        I use some typedefs to make these inheritance patterns easier to declare/define. 
     
    9999        struct OSGSHADOW_EXPORT ViewData: public BaseClass::ViewData 
    100100        { 
    101             /**  
    102             Texture used as ShadowMap - initialized by derived classes.  
    103             But it has to be defined now since DebugShadowMap::ViewData methods use it  
     101            /** 
     102            Texture used as ShadowMap - initialized by derived classes. 
     103            But it has to be defined now since DebugShadowMap::ViewData methods use it 
    104104            */ 
    105105            osg::ref_ptr< osg::Texture >   _texture; 
    106             /**  
     106            /** 
    107107            Camera used to render ShadowMap - initialized by derived classes. 
    108             But it has to be defined now since DebugShadowMap::ViewData methods use it  
     108            But it has to be defined now since DebugShadowMap::ViewData methods use it 
    109109            */ 
    110110            osg::ref_ptr< osg::Camera >    _camera; 
     
    146146            std::map< std::string, osg::BoundingBox > _boundingBoxMap; 
    147147 
    148             osg::ref_ptr<osg::Camera>                 _cameraDebugHUD;             
     148            osg::ref_ptr<osg::Camera>                 _cameraDebugHUD; 
    149149 
    150150            bool          getDebugDraw()    { return *_doDebugDrawPtr; } 
     
    159159            virtual void cullDebugGeometry( ); 
    160160 
    161             virtual void updateDebugGeometry( const osg::Camera * screenCam,  
     161            virtual void updateDebugGeometry( const osg::Camera * screenCam, 
    162162                const osg::Camera * shadowCam ); 
    163163 
    164164            void setDebugPolytope( const char * name, 
    165165                const ConvexPolyhedron & polytope = *(ConvexPolyhedron*)( NULL ), 
    166                 osg::Vec4 colorOutline = osg::Vec4(0,0,0,0),  
     166                osg::Vec4 colorOutline = osg::Vec4(0,0,0,0), 
    167167                osg::Vec4 colorInside = osg::Vec4(0,0,0,0) ); 
    168168 
     
    172172 
    173173            static osg::Vec3d computeShadowTexelToPixelError 
    174                 ( const osg::Matrix & mvpwView,  
     174                ( const osg::Matrix & mvpwView, 
    175175                  const osg::Matrix & mvpwShadow, 
    176                   const osg::Vec3d & vWorld,  
     176                  const osg::Vec3d & vWorld, 
    177177                  const osg::Vec3d & vDelta = osg::Vec3d( 0.01,0.01,0.01 ) ); 
    178178