[vtkusers] urgent doubt!!!!!

marisa aurelio asiram00 at hotmail.com
Mon Apr 28 04:54:31 EDT 2003


Hi vtkUsers,

I have this piece of code:

vtkDelaunay3D *del = vtkDelaunay3D::New();
del->SetInput(profile);
del->SetTolerance(0.05);
del->SetAlpha(0.05);
del->BoundingTriangulationOff();

vtkPolyDataMapper *map = vtkPolyDataMapper::New();
map->SetInput(del->GetOutput());*/

vtkDataSetMapper *map = vtkDataSetMapper::New();
map->SetInput(del->GetOutput()); (here is the error)

But I have an error:
error C2664: 'SetInput' : cannot convert parameter 1 from 'class 
vtkUnstructuredGrid *' to 'class vtkDataSet *'


How can I do it???

Thanks

Marisa


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




More information about the vtkusers mailing list