<div><br clear="all">hi, all</div>
<div> </div>
<div>I just encountered a strange thing that when I set the origin of vtkImageData, and read it out after the assignment, it turned out that the value hasn&#39;t changed (hold the value before the assignment).</div>
<div> </div>
<div>=====code seg =======</div>
<div> </div>
<div>   vtkImageData * imgdata = vNode-&gt;GetImageData();<br>   double o[3];<br>   imgdata-&gt;GetOrigin(o); // o is [100, 100, 100]<br>   imgdata-&gt;SetOrigin(0, 0, 0); // assign origin to [0 0 0]<br>   imgdata-&gt;GetOrigin(o);// still [100 100 100]</div>

<div>====================</div>
<div> </div>
<div>something I have to say is that the mehtod SetOrigin will trigger the vtkcommand::modifiedevent of the imgdata and in the handler I re-rendered the widget which contains the actor of the imgdata. imgdata is not connected to the filter, thus there is no possibility that the filter updated the imgdata. </div>

<div> </div>
<div>I need for your help, thanks.<br>-- <br>Best Regards,</div>
<div>WANG Junchen</div>
<div><br> </div>