Ignore:
Timestamp:
08/23/06 00:45:59 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp

    r1233 r1262  
    108108void ViewCellsParseHandlers::endElement(const XMLCh* const name) 
    109109{ 
    110   StrX lname(name); 
    111   string element(lname.LocalForm()); 
    112  
    113   if (element == "ViewCells") 
    114           EndViewCells(); 
    115  
    116   if (element == "BoundingBoxes") 
    117           EndBoundingBoxes(); 
    118  
    119   // inside the view cell description 
    120   if (mCurrentTask == PARSE_VIEWCELLS) 
    121   { 
    122           if (element == "Interior") 
    123                   EndViewCellInterior(); 
    124   } 
    125   else 
    126   { 
    127           if (element == "Interior") 
    128                   EndBspInterior(); 
    129   } 
     110        StrX lname(name); 
     111        string element(lname.LocalForm()); 
     112 
     113        if (element == "ViewCells") 
     114                EndViewCells(); 
     115 
     116        if (element == "BoundingBoxes") 
     117                EndBoundingBoxes(); 
     118 
     119        // inside the view cell description 
     120        if (mCurrentTask == PARSE_VIEWCELLS) 
     121        { 
     122                if (element == "Interior") 
     123                        EndViewCellInterior(); 
     124        } 
     125        else 
     126        { 
     127                if (element == "Interior") 
     128                        EndBspInterior(); 
     129        } 
    130130} 
    131131 
     
    150150} 
    151151 
     152 
    152153void ViewCellsParseHandlers::EndViewCellInterior() 
    153154{ 
     
    204205                        const char *ptr = attrValue.LocalForm(); 
    205206                         
    206                         //-- the view cells manager is created here 
     207                        // the view cells manager is created here 
    207208                        CreateViewCellsManager(ptr); 
    208209                } 
     
    720721                mBspTree = new BspTree(); 
    721722                mBspTree->mBox = mViewSpaceBox; 
    722                 //mCurrentBspNode = mBspTree->GetRoot(); 
    723723 
    724724                mViewCellsManager = new BspViewCellsManager(mBspTree); 
     
    729729 
    730730                mVspBspTree = new VspBspTree(); 
    731                 //mCurrentBspNode = mVspBspTree->GetRoot(); 
    732731                mViewCellsManager = new VspBspViewCellsManager(mVspBspTree); 
    733732 
     
    746745                mVspTree->mBoundingBox = mViewSpaceBox; 
    747746        } 
    748  
    749747 
    750748        mViewCellsTree = mViewCellsManager->GetViewCellsTree(); 
Note: See TracChangeset for help on using the changeset viewer.