[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    Re: [vtk-developers] vtkDataObject::DataHasBeenGenerated doesn't call this->Modified()
From:       "Charl P. Botha" <c.p.botha () its ! tudelft ! nl>
Date:       2003-03-13 8:58:36
Message-ID: 20030313085836.GA30144 () dutidad ! twi ! tudelft ! nl
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic