((itk::ProcessObject*)mConverter);
if (!conv)
{
- bbtkDebugMessage("process",5," ["<<bbGetFullName()<<"] : Converter of wrong input type : reacreating it "<<std::endl);
+ bbtkDebugMessage("process",5," ["<<bbGetFullName()<<"] : Converter of wrong input type : reacreating it "<<std::endl);
mConverter->UnRegister();
conv = VtkToItkConnection::New();
}
else
{
- bbtkDebugMessage("process",5," ["<<bbGetFullName()<<"] : Nothing changed"<<std::endl);
+ bbtkDebugMessage("process",5," ["<<bbGetFullName()<<"] : Nothing changed"<<std::endl);
}
}
try
{
bbtkDebugMessage("process",5," ["<<bbGetFullName()<<"] : Trying update"<<std::endl);
+
conv->Update();
+
itkImageType* out = const_cast<itkImageType*>(conv->GetOutput());
bbSetOutputOut(out);
}