[vtkusers] How can I make printf all the generated surface coordinate ?

Ismail Elkhrachy I.Elkhrachy at tu-bs.de
Tue Dec 5 05:59:41 EST 2006


Hi:
   A quick question, I have a point cloud(x, y,z) that represents an
object surface. After I use surface reconstruct filter (vtkSurfaceReconstructionFilter)
, and then used the vtkContourFilter, my qustion is:
How can I make printf all the generated surface coordinate ?


vtkSurfaceReconstructionFilter *surf = vtkSurfaceReconstructionFilter::New();

   surf->SetInput(polyData1); 
   surf->SetSampleSpacing(0.026);   
   surf->GetReleaseDataFlag();   
   surf->Update(); 
  
   vtkContourFilter *cf=vtkContourFilter::New();
   cf->SetInput(surf->GetOutput());
   cf->SetValue (0, 0.0 );
   cf->Update(); 



-- 
M.Sc. Ismail Elkhrachy
PhD student

Institut für Geodäsie und Photogrammetrie
Technische Universität Braunschweig
Gaußstr. 22   
38106 Braunschweig 
Germany

Mob.           : 0049 0163 3623486
Tel.           : 0049 0531 3917497
Fax            : 0049 0531 3917499
E-mail         : I.Elkhrachy at tu-bs.de, I.Elkhrachy at yahoo.com





More information about the vtkusers mailing list