| 152 | |
| 153 | |
| 154 | bool Processor::acceptable(GridKey key) |
| 155 | { |
| 156 | VoxelInfo::Grid& grid = m_vi.grid(); |
| 157 | |
| 158 | auto it = grid.find(key); |
| 159 | |
| 160 | // If the cell is already occupied the point is not acceptable. |
| 161 | if (it != grid.end()) |
| 162 | return false; |
| 163 | return true; |
| 164 | } |
| 165 | |
| 166 | |
| 167 | void Processor::writeCompressed(VoxelKey k, PointViewPtr v) |