[vtkusers] problem updating polydata data attributes

Dominik Szczerba domi at vision.ee.ethz.ch
Thu Sep 21 06:32:14 EDT 2006


call Update() from your vtkCurvature instance.
DS

Andrea del Pilar Rueda Olarte wrote:
> Hello,
> 
> I'm working in a program to deform 3D surfaces, but I have a little 
> problem with the data attributes associated to the polydata.
> 
> I use a vtkProgrammableFilter to modify the position of the mesh points, 
> and I use a loop to iterate and update the point's position every time. 
> The new position depends basically of the surface curvature in that 
> point, and to obtain the curvature values I use the class vtkCurvatures. 
> I get the curvature of the initial surface, but after the first 
> iteration, in the sucessive modifications of the surface, the curvature 
> values remains the same. I think I need to call some method to force the 
> update of the curvature values associated to the polydata, but I don't 
> know what to do with this.
> 
> Thanks for your help.
> 
> Andrea Rueda
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list