------------------------------------------------------------------------------
| 22 | |
| 23 | //------------------------------------------------------------------------------ |
| 24 | vtkImageStack::~vtkImageStack() |
| 25 | { |
| 26 | if (this->Images) |
| 27 | { |
| 28 | vtkCollectionSimpleIterator pit; |
| 29 | this->Images->InitTraversal(pit); |
| 30 | vtkImageSlice* image = nullptr; |
| 31 | while ((image = this->Images->GetNextImage(pit)) != nullptr) |
| 32 | { |
| 33 | image->RemoveConsumer(this); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | if (this->ImageMatrices) |
| 38 | { |
| 39 | this->ImageMatrices->Delete(); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | //------------------------------------------------------------------------------ |
| 44 | vtkImageSlice* vtkImageStack::GetActiveImage() |
nothing calls this directly
no test coverage detected