<div class="gmail_quote">On Wed, Mar 30, 2011 at 11:47 AM, nsarrasin <span dir="ltr"><<a href="mailto:nsarrasin@phenix-systems.com">nsarrasin@phenix-systems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
I have a polygon (defined by double*) which I render.<br>
Then I apply some transformation to the vtkActor.<br>
<br>
Now I would like to update my initial data. For each point of my set, I<br>
translate it with vtkActor::GetPosition() and then I apply the<br>
vtkActor::GetMatrix().<br>
<br>
It appears that it's not the right way to do because initial and final<br>
boundingbox of my polygon doesn't have the same dimensions.<br>
<br>
What I am missing ?<br>
<br>
Thanks by advance<br></blockquote><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8">I believe the translation is built into the GetMatrix, so you don't need to translate it and then apply the matrix, just try applying the matrix.<br>
<br><div>David </div></div>