Commit d1721b6f authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Correction sur l'appel à des méthodes GetInput car erreur de compilation sous Visual.

parent 6b53742d
......@@ -43,10 +43,9 @@ AddCarvingPathFilter<TInputImage,TInputPath,TOutputImage>
::GenerateData(void)
{
const InputImageType * inputImage = this->GetInput();
OutputImageType * outputImage = this->GetOutput();
InputPathType * inputPath = static_cast<const InputPathType *>
(this->itk::ProcessObject::GetInput(1));
const InputImageType * inputImage = this->GetImageInput();
const InputPathType * inputPath = this->GetPathInput();
OutputImageType * outputImage = this->GetOutput();
outputImage->SetBufferedRegion( outputImage->GetRequestedRegion() );
outputImage->Allocate();
......
......@@ -43,10 +43,9 @@ RemoveCarvingPathFilter<TInputImage,TInputPath,TOutputImage>
::GenerateData(void)
{
const InputImageType * inputImage = this->GetInput();
OutputImageType * outputImage = this->GetOutput();
InputPathType * inputPath = static_cast<const InputPathType *>
(this->itk::ProcessObject::GetInput(1));
const InputImageType * inputImage = this->GetImageInput();
const InputPathType * inputPath = this->GetPathInput();
OutputImageType * outputImage = this->GetOutput();
outputImage->SetBufferedRegion( outputImage->GetRequestedRegion() );
outputImage->Allocate();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment