| 352 | } |
| 353 | |
| 354 | void Stage::countElements(const PointViewSet& views) |
| 355 | { |
| 356 | // Count the number of views and the number of points and faces so they're |
| 357 | // available to stages. |
| 358 | m_pointCount = 0; |
| 359 | m_faceCount = 0; |
| 360 | for (auto const& v : views) |
| 361 | { |
| 362 | m_pointCount += v->size(); |
| 363 | auto m = v->mesh(); |
| 364 | if (m) |
| 365 | m_faceCount += m->size(); |
| 366 | } |
| 367 | } |
| 368 | |
| 369 | void Stage::setupLog() |
| 370 | { |