| 40 | // This should probably call expand(). |
| 41 | template <typename T> |
| 42 | void Raster<T>::setLimits(const RasterLimits& limits) |
| 43 | { |
| 44 | m_limits = limits; |
| 45 | DataVec dataVec(width() * height(), m_initializer); |
| 46 | m_data.swap(dataVec); |
| 47 | } |
| 48 | |
| 49 | |
| 50 | template <typename T> |