| 493 | } |
| 494 | |
| 495 | void mitk::ReduceContourSetFilter::Reset() |
| 496 | { |
| 497 | for (unsigned int i = 0; i < this->GetNumberOfIndexedInputs(); i++) |
| 498 | { |
| 499 | this->PopBackInput(); |
| 500 | } |
| 501 | this->SetNumberOfIndexedInputs(0); |
| 502 | this->SetNumberOfIndexedOutputs(0); |
| 503 | |
| 504 | // BUG XXXXX Fix |
| 505 | mitk::Surface::Pointer output = mitk::Surface::New(); |
| 506 | this->SetNthOutput(0, output.GetPointer()); |
| 507 | |
| 508 | m_NumberOfPointsAfterReduction = 0; |
| 509 | } |
| 510 | |
| 511 | void mitk::ReduceContourSetFilter::SetUseProgressBar(bool status) |
| 512 | { |