* \brief Set the input binary image. * * Overloaded to also connect the input to the internal dilation filter. * * \param[in] input The input binary image. */
| 91 | * \param[in] input The input binary image. |
| 92 | */ |
| 93 | void SetInput(const InputImageType *input) override |
| 94 | { |
| 95 | // processObject is not const-correct so a const_cast is needed here |
| 96 | this->ProcessObject::SetNthInput(0, const_cast<InputImageType *>(input)); |
| 97 | m_DilateImageFilter->SetInput(input); |
| 98 | } |
| 99 | |
| 100 | using Superclass::SetInput; |
| 101 | /** |
no test coverage detected