Mercurial > hg > svcore
diff data/model/Dense3DModelPeakCache.cpp @ 1155:546d4e417346 3.0-integration
Tidy a bit
author | Chris Cannam |
---|---|
date | Fri, 22 Jan 2016 17:08:02 +0000 |
parents | ece369c5bb68 |
children | 2dc27f0f97ad |
line wrap: on
line diff
--- a/data/model/Dense3DModelPeakCache.cpp Fri Jan 22 13:39:45 2016 +0000 +++ b/data/model/Dense3DModelPeakCache.cpp Fri Jan 22 17:08:02 2016 +0000 @@ -41,20 +41,6 @@ delete m_cache; } -bool -Dense3DModelPeakCache::isColumnAvailable(int column) const -{ - if (!m_source) return false; - if (haveColumn(column)) return true; - for (int i = m_resolution; i > 0; ) { - --i; - if (!m_source->isColumnAvailable(column * m_resolution + i)) { - return false; - } - } - return true; -} - Dense3DModelPeakCache::Column Dense3DModelPeakCache::getColumn(int column) const {