[vtkusers] iteratively update the vertices positions.
Dominik Szczerba
domi at vision.ee.ethz.ch
Sun Aug 12 03:11:49 EDT 2007
Use vtkSmartPointers
- Dominik
Dongqing Chen wrote:
> Dear All:
>
> I hope that I could get some help from this mail list.
>
> Right now, I am dealing with a polydata set. During each iteration, I update all the vertices' positions. Now the problem is that: if I define the polypdata (say, vtkPolypData *poly=vtkPolyData::New() ) outside the loop, the use poly->Delete() after all the iterations, the program is crash at poly->Delete(). If I define the poly data and delete it during each iteration, the program is crash at the same location.
>
> How to solve this problem? Thanks a lot.
>
> Best Wishes,
> -----------------------------------------------------------------
> Dongqing Chen
> Ph.D Candidate
> Rm. 07, Paul C. Lutz Hall
> Computer Vision & Image Processing (CVIP) Lab
> Department of Electrical & Computer Engineering
> Speed School of Engineering
> University of Louisville
> Louisville, KY. 40292
> U.S.A
> Email: dqchen at cvip.louisville.edu
> Phone:+1-502-852-2789 (Lab)
> +1-502-852-6130 (Office)
> -----------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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