[vtkusers] modification of a vtkPoints in the method Execute for a CallBack Process
Sebastien Jourdain
sebastien.jourdain at kitware.com
Tue Jan 18 08:14:05 EST 2011
Once you've made your changes to the points did you call Modify() on
your points ?
On Tue, Jan 18, 2011 at 5:37 AM, youpie <meriadegp at yahoo.fr> wrote:
>
> Hi,
>
> I'm using a CallBack Procedure with Execute Method to associate event of my
> widgetBox with my vtkPoints.
> In fact when i use a vtkTransform obtained with widgetBox->getTransform
> (vtkTrasnform) and after use it on the actor associated to the widget, My
> actor move exaclty as I want when I move the widget.
> But if I draw my vtkPoints I can see that points don't have changed. So How
> can that be possible if my actor is moving ?
> And if I use the vtkTransfor of the widget box to change directly the
> coordonates of my points of vtkPoints, (whithout use the setUserTransform
> method of my actor). I can see coordinates changing, but nothing appened on
> the screen.
>
> the hierarchy if :
>
> vtkPoints + vtkExtraCells -> vtkPolyData->
> vtkTubeFilter->vtkPolyDataMapper->vtkActor
>
>
> Someone know why ?
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/modification-of-a-vtkPoints-in-the-method-Execute-for-a-CallBack-Process-tp3345968p3345968.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list