[vtkusers] how do i properly output a delaunay2d triangulation?
Terence Lim
tlim at mda.ca
Tue Sep 25 16:17:55 EDT 2001
I have already inputted the xyz coordinates.
i use the following code but it did not display anything useful. any
suggestions?
map = vtkPolyDataMapper::New();
map->SetInput(Delaunay->GetOutput());
aDelaunay = vtkActor::New();
aDelaunay->SetMapper(map);
aDelaunay->GetProperty()->SetColor(0,0,1);
ren1->AddActor(aDelaunay);
ren1->SetBackground(1,1,1);
renWin->Render();
iren->Start();
Thanks -Terence
More information about the vtkusers
mailing list