Changeset 150 for trunk/VUT/GtpVisibility
- Timestamp:
- 06/27/05 17:22:08 (20 years ago)
- Location:
- trunk/VUT/GtpVisibility
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/include/VisibilityInfo.h
r145 r150 28 28 */ 29 29 void AddVisibility(const VisibilityInfo &info); 30 30 /** Adds visibility to current visibility information. 31 */ 32 void AddVisibility(const int visiblePixels, const int vrojectedPixels); 31 33 32 34 protected: 33 /** number of visible pixels. */ 35 /** number of visible pixels. 36 */ 34 37 int mVisiblePixels; 35 /** number of projected pixels */ 38 /** number of projected pixels 39 */ 36 40 int mProjectedPixels; 37 41 }; -
trunk/VUT/GtpVisibility/src/VisibilityInfo.cpp
r145 r150 45 45 mProjectedPixels += info.GetProjectedPixels(); 46 46 } 47 //----------------------------------------------------------------------- 48 void VisibilityInfo::AddVisibility(const int visiblePixels, const int projectedPixels) 49 { 50 mVisiblePixels +=visiblePixels; 51 mProjectedPixels += projectedPixels; 52 } 53 47 54 /****************************************************/ 48 55 /* NodeInfo implementation */ 49 56 /****************************************************/ 57 58 50 59 //----------------------------------------------------------------------- 51 60 NodeInfo::NodeInfo(HierarchyNode *node, const int visiblePixels, const int projectedPixels):
Note: See TracChangeset
for help on using the changeset viewer.