[vtkusers] Weird compile error
Michael Scott
mas88 at et.byu.edu
Thu Dec 1 18:54:07 EST 2005
Anybody know why this line of code:
vtkDataSetToPolyDataFilter* filter = vtkDataSetToPolyDataFilter::New();
Gives this error:
In file included from
/home/mas88/school/fall2005/CE570/finalproject/build/mainwindow.cxx:37:
/home/mas88/school/fall2005/CE570/finalproject/source/mainwindow.ui.h:
In
member function `virtual void MainWindow::calcShapeQuality()':
/home/mas88/school/fall2005/CE570/finalproject/source/mainwindow.ui.h:269: invalid
conversion from `vtkAlgorithm*' to `vtkDataSetToPolyDataFilter*'
make[1]: *** [mainwindow.o] Error 1
make: *** [default_target] Error 2
I'm stumped. All my includes are right, I don't understand why it thinks
a cast is happening at this point. --Mike
More information about the vtkusers
mailing list