Changeset 1262 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
- Timestamp:
- 08/23/06 00:45:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
r1233 r1262 108 108 void ViewCellsParseHandlers::endElement(const XMLCh* const name) 109 109 { 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 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 } 130 130 } 131 131 … … 150 150 } 151 151 152 152 153 void ViewCellsParseHandlers::EndViewCellInterior() 153 154 { … … 204 205 const char *ptr = attrValue.LocalForm(); 205 206 206 // --the view cells manager is created here207 // the view cells manager is created here 207 208 CreateViewCellsManager(ptr); 208 209 } … … 720 721 mBspTree = new BspTree(); 721 722 mBspTree->mBox = mViewSpaceBox; 722 //mCurrentBspNode = mBspTree->GetRoot();723 723 724 724 mViewCellsManager = new BspViewCellsManager(mBspTree); … … 729 729 730 730 mVspBspTree = new VspBspTree(); 731 //mCurrentBspNode = mVspBspTree->GetRoot();732 731 mViewCellsManager = new VspBspViewCellsManager(mVspBspTree); 733 732 … … 746 745 mVspTree->mBoundingBox = mViewSpaceBox; 747 746 } 748 749 747 750 748 mViewCellsTree = mViewCellsManager->GetViewCellsTree();
Note: See TracChangeset
for help on using the changeset viewer.