[Insight-developers] RequestedRegion are modified when calling itk filters

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 14 08:27:27 EST 2006


Hi Arnaud,

The "SetRequestedRegion()" method is not intended to be called by
the users of the filter. This is a method intended only for the
pipeline negotiations. Users of a filter shouldn't need to know,
and should not have to care about the details of the negociation.

Once you connect your filter to a pipeline, the Requested region
will be changed according to the properties of the filters upstream
and downstream from yours.

Could you please give us more details on the specific effect that
you want to obtain ?

It is likely that there are other ways of doing that in ITK.



    Thanks


       Luis


----------------------
Arnaud Garcia wrote:
> Hi itk developers,
> 
> It seems that most itk filters change the RequestedRegion when calling 
> them ...
> Some filters overide  the GenerateInputRequestedRegion with  something 
> like:
> 
> SetRequestedRegion( input->GetLargestPossibleRegion() );
> 
> 
> 
> => So if you set your requested region and call such filters you have to 
> set it again after calling theses filters ...
> 
> is it right ?
> 
> thanks for answer,
> 
> Arnaud
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
> 
> 



More information about the Insight-developers mailing list