[vtkusers] how can I make a loop to print and see surface coordinate xyz?

Ismail Elkhrachy I.Elkhrachy at tu-bs.de
Mon Dec 4 11:38:54 EST 2006


Dear All,
After Generating surface from unstructured poly data how can I make a 
loop to print and see surface coordinate xyz?
my code is below
thanks in advance!!

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