Ignore:
Timestamp:
06/27/05 17:22:08 (20 years ago)
Author:
mattausch
Message:

added item buffer functionality

Location:
trunk/VUT/GtpVisibility
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibility/include/VisibilityInfo.h

    r145 r150  
    2828        */ 
    2929        void AddVisibility(const VisibilityInfo &info); 
    30  
     30        /** Adds visibility to current visibility information. 
     31        */ 
     32        void AddVisibility(const int visiblePixels, const int vrojectedPixels); 
    3133 
    3234protected: 
    33         /** number of visible pixels. */ 
     35        /** number of visible pixels.  
     36        */ 
    3437    int mVisiblePixels; 
    35         /** number of projected pixels */ 
     38        /** number of projected pixels  
     39        */ 
    3640        int mProjectedPixels; 
    3741}; 
  • trunk/VUT/GtpVisibility/src/VisibilityInfo.cpp

    r145 r150  
    4545        mProjectedPixels += info.GetProjectedPixels(); 
    4646} 
     47//----------------------------------------------------------------------- 
     48void VisibilityInfo::AddVisibility(const int visiblePixels, const int projectedPixels) 
     49{ 
     50        mVisiblePixels +=visiblePixels; 
     51        mProjectedPixels +=  projectedPixels; 
     52} 
     53 
    4754/****************************************************/ 
    4855/*              NodeInfo implementation             */ 
    4956/****************************************************/ 
     57 
     58 
    5059//----------------------------------------------------------------------- 
    5160NodeInfo::NodeInfo(HierarchyNode *node, const int visiblePixels, const int projectedPixels):  
Note: See TracChangeset for help on using the changeset viewer.