[vtkusers] remove vtkImageBlend item

David Gobbi david.gobbi at gmail.com
Thu Feb 3 11:13:57 EST 2011


Hi Mauro,

I'm not quite sure what you mean.  Calling GetOutputPort() doesn't
cause anything to happen, all it does is return a handle that can be
used to make a pipeline connection.  Nothing is loaded until the
pipeline is executed, and even then VTK uses timestamps to make
sure that the data will only be loaded once.

 - David


On Thu, Feb 3, 2011 at 8:18 AM, Mauro Maiorca <mauromaiorca at gmail.com>wrote:

> Hi David,
>
> thank you very much for your quick reply and your clarification! It
> makes all sense now, and it works!
> But, how can I keep track of a particular object, then?
> I don't mind redrawing all the canvas, but I'm concerned about a
> reasonably big image (i.e. up to 4096x4096 pixel): I assume each call
> to blend->AddInputConnection(0,color->GetOutputPort()) will re-load
> the whole image, unless AddInputConnection has a really smart
> buffering policy (is it the case?).
>
> cheers,
> Mauro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110203/87c1e0cc/attachment.htm>


More information about the vtkusers mailing list