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/txp/TXPNode.h

    r11122 r13041  
    1 //  -*-c++-*-  
    2 /***************************************************************************  
     1//  -*-c++-*- 
     2/*************************************************************************** 
    33 * December 2003 
    44 * 
    5  * This TerraPage loader was re-written in a fashion to use PagedLOD  
    6  * to manage paging entirely, also includes a version of Terrex's smart mesh  
    7  * adapted to work with PagedLOD. The essential code by Boris Bralo is still present,  
     5 * This TerraPage loader was re-written in a fashion to use PagedLOD 
     6 * to manage paging entirely, also includes a version of Terrex's smart mesh 
     7 * adapted to work with PagedLOD. The essential code by Boris Bralo is still present, 
    88 * slight modified. 
    99 * nick at terrex dot com 
    10  *  
     10 * 
    1111 * Ported to PagedLOD technology by Trajce Nikolov (Nick) & Robert Osfield 
    1212 *****************************************************************************/ 
    1313 
    1414/*************************************************************************** 
    15  * OpenSceneGraph loader for Terrapage format database  
     15 * OpenSceneGraph loader for Terrapage format database 
    1616 * by Boris Bralo 2002 
    1717 * 
     
    5252 
    5353    TXPNode(); 
    54      
     54 
    5555    /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 
    5656    TXPNode(const TXPNode&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 
    57      
     57 
    5858    META_Node(txp, TXPNode); 
    59      
     59 
    6060    virtual void traverse(osg::NodeVisitor& nv); 
    61      
     61 
    6262    void setArchiveName(const std::string& archiveName); 
    6363    void setOptions(const std::string& options); 
    64      
     64 
    6565    const std::string& getOptions() const; 
    6666    const std::string& getArchiveName() const; 
    67      
     67 
    6868    //modified by Brad Anderegg on May-27-08 
    6969    //because the TXPArchives are kept in an std::map and referenced later 
     
    7171    //If NULL is passed into loadArchive it will do the same thing it used to. 
    7272    bool loadArchive(TXPArchive*); 
    73      
     73 
    7474    TXPArchive* getArchive() { return _archive.get(); } 
    7575 
     
    7878        _archive = archive; 
    7979    } 
    80      
     80 
    8181    virtual osg::BoundingSphere computeBound() const; 
    82      
     82 
    8383protected: 
    8484 
    8585    virtual ~TXPNode(); 
    86      
     86 
    8787    void updateEye(osg::NodeVisitor& nv); 
    8888    void updateSceneGraph(); 
    89      
     89 
    9090    // Create a page lod for lod 0 with givin grid location (x,y) 
    9191    osg::Node* addPagedLODTile(int x, int y); 
    92      
     92 
    9393    std::string                     _archiveName; 
    9494    std::string                     _options; 
    95      
     95 
    9696    OpenThreads::Mutex              _mutex; 
    97      
     97 
    9898    osg::ref_ptr<TXPArchive>        _archive; 
    9999    osg::ref_ptr<TXPPageManager>    _pageManager; 
    100      
     100 
    101101    double                          _originX; 
    102102    double                          _originY; 
    103103    osg::BoundingBox                _extents; 
    104      
     104 
    105105    std::vector<osg::Node*>         _nodesToAdd; 
    106106    std::vector<osg::Node*>         _nodesToRemove; 
    107      
     107 
    108108}; 
    109109