[vtkusers] How to get triangular mesh from reconstruction

Nikita Kojekine AKA Kitya Karlson karlson at stu.mech.titech.ac.jp
Tue May 8 04:58:24 EDT 2001


Hello! I use vtkSurfaceReconstructionFilter to make surface
reconstruction.
Afterwards I use vtkContourFilter to get the surface. How can I get
afterwards it as a 3D triangular mesh, so that I can get
  setofdata=(vtkPolyData *)???->GetOutput();
  vtkCellArray * cells = vtkCellArray::New();
  cells = setofdata->GetPolys();

cells from it and points, and normals for cells?







More information about the vtkusers mailing list