[vtkusers] Bizarre implicit casting error

Luke J West ljw at soc.soton.ac.uk
Fri Jan 23 12:14:34 EST 2004


compiler output...


app.cpp:185: error: no matching function for call to `vtkWarpScalar::SetInput(
   vtkPolyData*)'
/local/ljw/vtk/VTK/include/vtk/vtkPointSetToPointSetFilter.h:57: error: candidates
   are: void vtkPointSetToPointSetFilter::SetInput(vtkPointSet*)


But vtkPolyData* IS a vtkPointSet* so what's the problem?

Both header files were #included


Luke J West : Research Assistant : e-Science
--------------------------------------------
Rm. 566/12, School of Ocean & Earth Sciences
Southampton Oceanography Centre, Southampton
SO14 3ZH  United Kingdom
--------------------------------------------
Tel: +44 23 8059 4801  Fax: +44 23 8059 3052
Mob: +44 79 6107 4783




More information about the vtkusers mailing list