[Insight-users] release data flags for composite filters

Kuba Bican kuba at smyslzivota.cz
Tue Sep 26 05:00:05 EDT 2006


Hi,

i have a semi-composite filter that executes several internal filters 
during its GenerateData(). The semi-composite means, that the output of 
the internal pipeline is not grafted to the output of the composite 
filter, but is somehow processed by the composite filter and then 
normally written to the output as if the composite filter was common 
ImageToImageFilter.

The question is - should i manage "ReleaseDataFlag" and 
"ReleaseDataBeforeUpdateFlag" somehow?
Should there be something like:

    internalFilter->SetReleaseDataFlag( this->GetReleaseDataFlag() );
    ----------------the similar for BeforeUpdateFlag-----------------

at the beginning of GenerateData() or GenerateInput/OutputInformation() 
or wherever?

Or does it happen somehow automatically? ;))

Thanks,

    Jakub


More information about the Insight-users mailing list