[Insight-developers] managing filter outputs

Joshua Cates cates at cs.utah.edu
Fri Sep 22 15:23:03 EDT 2000


I am having some trouble understanding how a ProcessObject should manage
the creation and destruction of its output objects.

For example, say I have a FilterImageToImage subclass:

 MyFilterImageToImage : public FilterImageToImage

On a call to MyFilterImageToImage::Execute(), should a new output
Image::Pointer be created, configured, and Allocate()'d?  What happens to
any prior existing output Image::Pointer?


Josh.

+--+--+--+--+--+--+--+--+--+--+--+--
 Josh Cates			
 Department of Computer Science	
 University of Utah
 Email: cates at cs.utah.edu
 Phone: 
 URL:   www.cs.utk.edu/~cates
--+--+--+--+--+--+--+--+--+--+--+---





More information about the Insight-developers mailing list