| 47 | } |
| 48 | |
| 49 | Group::~Group() |
| 50 | { |
| 51 | freeAndNullifyEmbreeScene(sceneGeometries); |
| 52 | #ifdef OSPRAY_ENABLE_VOLUMES |
| 53 | freeAndNullifyEmbreeScene(sceneVolumes); |
| 54 | #endif |
| 55 | freeAndNullifyEmbreeScene(sceneClippers); |
| 56 | |
| 57 | getSh()->geometricModels = nullptr; |
| 58 | #ifdef OSPRAY_ENABLE_VOLUMES |
| 59 | getSh()->volumetricModels = nullptr; |
| 60 | #endif |
| 61 | getSh()->clipModels = nullptr; |
| 62 | } |
| 63 | |
| 64 | std::string Group::toString() const |
| 65 | { |
nothing calls this directly
no test coverage detected