<div>thanks Mathieu, David and Michael</div>
<div> </div>
<div>I tried vtkImageChangeInformation class and succeeded! thanks for your help.</div>
<div> </div>
<div>So, now I am trying to conclude this by my understanding:</div>
<div> </div>
<div>the ops in the vtkImageData are for the processing in the pipeline update, therefore you can only change the data by using filters ? the idea for this is to maintain the consistence of the pipeline (keep the data intact)</div>
<div> </div>
<div>am i right? I also want to know the underlying mechanism to ensure this (how to make ops invalid outside the pipeline update).</div>
<div> </div>
<div>But in some cases we can also change the instance of vtkImageData by using setorigin method or some other ops outside the pipeline update, how to explain this?</div>
<div> </div>
<div>Thanks for your attentions.<br><br></div>
<div class="gmail_quote">2010/3/3 David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">
<div class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div><br>No. This is just pure luck.</div></div>The OP refer to an issue occuring during a pipeline (re)update (AFAIK).<br><br>In this case one should use the appropriate class for that:<br><a href="http://www.vtk.org/doc/nightly/html/classvtkImageChangeInformation.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkImageChangeInformation.html</a><br>
<br>HTH<br>--<br><font color="#888888">Mathieu<br></font></blockquote></div><br></div>
<div>Here is an example of how to use vtkImageChangeInformation:</div>
<div><br><a href="http://www.vtk.org/Wiki/VTK/Examples/CenterAnImage" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/CenterAnImage</a></div>
<div><br clear="all">Thanks,<br><font color="#888888"><br>David</font></div><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>WANG<br>