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/src/osgPlugins/dot/BaseDotVisitor.cpp

    r12948 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    // Set the locale used by the _nodes and _edges streams to the 
    3131    //   classic or "C" locale. This is needed because most of the 
    32     //   Graphviz tools are not locale sensitive and get confused  
     32    //   Graphviz tools are not locale sensitive and get confused 
    3333    //   by id numbers containing commas or periods. 
    3434    _nodes.imbue(std::locale("C")); 
    35     _edges.imbue(std::locale("C"));   
     35    _edges.imbue(std::locale("C")); 
    3636  } 
    3737 
     
    6868    if ( fout && *fout ) { 
    6969      root.accept( *this ); 
    70        
     70 
    7171      *fout << "digraph osg_scenegraph { "<<_rankdir<< std::endl; 
    72        
     72 
    7373      *fout << _nodes.str() << _edges.str(); 
    74        
     74 
    7575      *fout << "}" << std::endl; 
    7676 
     
    8585  } 
    8686 
    87   void BaseDotVisitor::apply(Node& node) {  
     87  void BaseDotVisitor::apply(Node& node) { 
    8888    int id; 
    8989    if ( getOrCreateId( &node, id ) ) { 
     
    120120 
    121121  } 
    122    
     122 
    123123  void BaseDotVisitor::apply(Group& node) { 
    124124    int id; 
     
    138138 
    139139    } 
    140      
     140 
    141141  } 
    142142 
     
    170170  void BaseDotVisitor::handle(osg::Node& node, osg::StateSet& stateset, int parentID, int childID) { 
    171171  } 
    172    
     172 
    173173  void BaseDotVisitor::handle(osg::Drawable& drawable, int id) { 
    174174  } 
    175    
     175 
    176176  void BaseDotVisitor::handle(osg::Drawable& drawable, osg::StateSet& stateset, int parentID, int childID ) { 
    177177  }