void FishEyeProjectorBase::assignGeometries(const MFUnrecGeometryPtr &value) { MFUnrecGeometryPtr::const_iterator elemIt = value.begin(); MFUnrecGeometryPtr::const_iterator elemEnd = value.end (); static_cast<FishEyeProjector *>(this)->clearGeometries(); while(elemIt != elemEnd) { this->pushToGeometries(*elemIt); ++elemIt; } }
void MorphGeometryBase::assignInternalTargetGeometries(const MFUnrecGeometryPtr &value) { MFUnrecGeometryPtr::const_iterator elemIt = value.begin(); MFUnrecGeometryPtr::const_iterator elemEnd = value.end (); static_cast<MorphGeometry *>(this)->clearInternalTargetGeometries(); while(elemIt != elemEnd) { this->pushToInternalTargetGeometries(*elemIt); ++elemIt; } }