- Timestamp:
- 05/23/17 16:32:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/transformation/axis_algorithm_zoom.cpp
r1129 r1144 104 104 correct index be extracted 105 105 */ 106 void CAxisAlgorithmZoom::updateAxisDestinationMask()107 {108 StdSize niMask = axisDest_->mask.numElements();109 StdSize iBeginMask = axisDest_->begin.getValue();110 StdSize globalIndexMask = 0;111 TransformationIndexMap& transMap = this->transformationMapping_[0];112 TransformationIndexMap::const_iterator ite = (transMap).end();113 for (StdSize idx = 0; idx < niMask; ++idx)114 {115 globalIndexMask = iBeginMask + idx;116 if (transMap.find(globalIndexMask) == ite)117 (axisDest_->mask)(idx) = false;118 }119 }106 // void CAxisAlgorithmZoom::updateAxisDestinationMask() 107 // { 108 // StdSize niMask = axisDest_->mask.numElements(); 109 // StdSize iBeginMask = axisDest_->begin.getValue(); 110 // StdSize globalIndexMask = 0; 111 // TransformationIndexMap& transMap = this->transformationMapping_[0]; 112 // TransformationIndexMap::const_iterator ite = (transMap).end(); 113 // for (StdSize idx = 0; idx < niMask; ++idx) 114 // { 115 // globalIndexMask = iBeginMask + idx; 116 // if (transMap.find(globalIndexMask) == ite) 117 // (axisDest_->mask)(idx) = false; 118 // } 119 // } 120 120 121 121 }
Note: See TracChangeset
for help on using the changeset viewer.