Ignore:
Timestamp:
06/22/15 13:36:31 (9 years ago)
Author:
mhnguyen
Message:

Implementing transformation algorithm: zoom axis (local commit)

+) Implement zoom axis: zoomed points are points not masked
+) Correct some minor bugs

Test
+) Ok with normal cases: zoom in the last of transformation list
+) There is still a bug in case of zoom then inverse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/attribute_map.cpp

    r591 r623  
    144144      } 
    145145 
     146      void CAttributeMap::duplicateAttributes(const CAttributeMap* const srcAttr) 
     147      { 
     148         typedef std::pair<StdString, CAttribute*> StdStrAttPair; 
     149 
     150         SuperClassMap::const_iterator it = srcAttr->begin(), end = srcAttr->end(); 
     151         for (; it != end; it++) 
     152         { 
     153            const StdStrAttPair& el = *it; 
     154            if (this->hasAttribute(el.first)) 
     155            { 
     156               if (!el.second->isEmpty()) 
     157               { 
     158                 this->setAttribute(el.first, el.second); 
     159               } 
     160            } 
     161         } 
     162      } 
     163 
    146164      //--------------------------------------------------------------- 
    147165/* 
Note: See TracChangeset for help on using the changeset viewer.