[ITK-dev] [ITK] imagefilereader

Bill Lorensen bill.lorensen at gmail.com
Tue May 24 14:19:26 EDT 2016


How would a customer know about this? Maybe we should warn with a
deprecated message first? Something like:
GenerateOutputInformation will be protected in release x.x. Change
GenerateOutputInformation to UpdateOutputInformation.

On Tue, May 24, 2016 at 2:06 PM, Matt McCormick
<matt.mccormick at kitware.com> wrote:
> On Tue, May 24, 2016 at 12:18 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> Without looking at the code, are you saying that a customer has to
>> change their application from:
>>
>> reader->GenerateOutputInformation();
>>
>> to
>>
>> reader->UpdateOutputInformation();
>
> Yes. UpdateOutputInformation() is the public method that a user wants
> to call. GenerateOutputInformation() is a protected member that the
> algorithm implemented defines.
>
>
>> Why?
>
> GeneratedOutputInformation() gets called when
> UpdateOutputInformation() gets called. It is possible that
> GenerateOutputInformation() will not generate the correct output
> information; unlike UpdateOutputInformation(), it does not ensure that
> the inputs that it is generating its output information from have been
> updated.
>
>
> Thanks,
> Matt



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-developers mailing list