Changeset 1558 for GTP/trunk/Lib/Vis


Ignore:
Timestamp:
10/03/06 12:07:06 (18 years ago)
Author:
mattausch
Message:

added the preprocessor front end

Location:
GTP/trunk/Lib/Vis/Preprocessing
Files:
11 added
4 edited

Legend:

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

    r1557 r1558  
    271271 
    272272 
     273bool BspTree::IsOutOfBounds(ViewCell *vc) const 
     274{ 
     275        return vc->GetId() == OUT_OF_BOUNDS_ID; 
     276} 
     277 
     278 
    273279const BspTreeStatistics &BspTree::GetStatistics() const  
    274280{ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.h

    r1557 r1558  
    685685        void SetViewCellsTree(ViewCellsTree *vct); 
    686686         
    687         /** Returns view cell representing the empty view space. 
    688         */ 
    689         BspViewCell *GetOrCreateOutOfBoundsCell(); 
     687        /** Returns true if this view cell prepresents 
     688                invalid view space. 
     689        */ 
     690        bool IsOutOfBounds(ViewCell *vc) const; 
    690691 
    691692protected: 
     
    726727        }; 
    727728 
     729        /** Returns view cell representing the empty view space. 
     730        */ 
     731        BspViewCell *GetOrCreateOutOfBoundsCell(); 
     732 
    728733        void ExportNode(BspNode *node, OUT_STREAM &stream); 
    729734 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp

    r1551 r1558  
    662662 
    663663        int viewCellId; 
    664          
    665         int len = attributes.getLength(); 
     664        const int len = attributes.getLength(); 
    666665           
    667666        for (int i = 0; i < len; ++ i)  
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp

    r1557 r1558  
    255255                } 
    256256                else 
     257                { 
    257258                        DEL_PTR(poly); 
     259                } 
    258260        } 
    259261        return (int)mesh->mFaces.size(); 
Note: See TracChangeset for help on using the changeset viewer.