------------------------------------------------------------------------------
| 43 | |
| 44 | //------------------------------------------------------------------------------ |
| 45 | vtkImageStencilData* vtkImageStencilAlgorithm::GetOutput() |
| 46 | { |
| 47 | if (this->GetNumberOfOutputPorts() < 1) |
| 48 | { |
| 49 | return nullptr; |
| 50 | } |
| 51 | |
| 52 | return vtkImageStencilData::SafeDownCast(this->GetExecutive()->GetOutputData(0)); |
| 53 | } |
| 54 | |
| 55 | //------------------------------------------------------------------------------ |
| 56 | vtkImageStencilData* vtkImageStencilAlgorithm::AllocateOutputData(vtkDataObject* out, int* uExt) |