<div class="gmail_quote">n Tue, Jan 18, 2011 at 5:39 AM, youpie <span dir="ltr"><<a href="mailto:meriadegp@yahoo.fr">meriadegp@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi,<br>
<br>
I'm using a CallBack Procedure with Execute Method to associate event of my<br>
widgetBox with my vtkPoints.<br>
In fact when i use a vtkTransform obtained with widgetBox->getTransform<br>
(vtkTrasnform) and after use it on the actor associated to the widget, My<br>
actor move exaclty as I want when I move the widget.<br>
But if I draw my vtkPoints I can see that points don't have changed. So How<br>
can that be possible if my actor is moving ?<br>
And if I use the vtkTransfor of the widget box to change directly the<br>
coordonates of my points of vtkPoints, (whithout use the setUserTransform<br>
method of my actor). I can see coordinates changing, but nothing appened on<br>
the screen.<br></blockquote><div><br></div><div></div></div>Please see the "Transforms" slide set here: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/VTK/Presentations">http://www.vtk.org/Wiki/VTK/Presentations</a><div>
<br></div><div><a href="http://www.vtk.org/Wiki/VTK/Presentations"></a>By transforming the actor, you are just telling OpenGL to move the object, not changing the actual coordinates that you can access (i.e. your vtkPoints, as you've noticed).<br>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><br>David</div></div>