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.mccorm...@kitware.com> wrote: > On Tue, May 24, 2016 at 12:18 PM, Bill Lorensen <bill.loren...@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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-developers