[vtk-developers] vtkDataObject::DataHasBeenGenerated doesn't call this->Modified()

Charl P. Botha c.p.botha at its.tudelft.nl
Thu Mar 13 03:58:36 EST 2003


On Wed, Mar 12, 2003 at 10:59:44AM -0000, John Biddiscombe wrote:
> I'm not certain (writing from memory), but is it not the case that if a
> filter "Updates", but actually doesn't need to because it's already
> up-to-date, then there's no need to set Modified on the outputs. The outputs
> will be "modified" if the filter execute method actually changes anything in
> them.

DataHasBeenGenerated() is only called if the outputs were actually changed,
i.e. NOT in the case if everything was already up to date.

Thanks,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtk-developers mailing list