Hi Mauro,<div><br></div><div>I'm not quite sure what you mean. Calling GetOutputPort() doesn't</div><div>cause anything to happen, all it does is return a handle that can be</div><div>used to make a pipeline connection. Nothing is loaded until the</div>
<div>pipeline is executed, and even then VTK uses timestamps to make</div><div>sure that the data will only be loaded once.</div><div><br></div><div> - David</div><div><br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 8:18 AM, Mauro Maiorca <span dir="ltr"><<a href="mailto:mauromaiorca@gmail.com">mauromaiorca@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi David,<br>
<br>
thank you very much for your quick reply and your clarification! It<br>
makes all sense now, and it works!<br>
But, how can I keep track of a particular object, then?<br>
I don't mind redrawing all the canvas, but I'm concerned about a<br>
reasonably big image (i.e. up to 4096x4096 pixel): I assume each call<br>
to blend->AddInputConnection(0,color->GetOutputPort()) will re-load<br>
the whole image, unless AddInputConnection has a really smart<br>
buffering policy (is it the case?).<br>
<br>
cheers,<br>
<font color="#888888">Mauro</font></blockquote></div><br></div>