[vtkusers] vtkDataObject vs. vtkPointSet
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Nov 22 16:28:13 EST 2005
> demo2.cpp: In function ‘int main(int, char**)’:
> demo2.cpp:73: error: invalid conversion from ‘vtkDataObject*’ to
> ‘vtkPointSet*’
>
> What might I doing wrong?
When all else fail, read the instructions:
http://www.vtk.org/Wiki/VTK_FAQ
http://www.vtk.org/Wiki/VTK_FAQ#Forward_declaration_in_VTK_4.x
http://www.vtk.org/Wiki/VTK_FAQ#The_C.2B.2B_compiler_cannot_convert_some_pointer_type_to_another_pointer_type_in_my_little_program
:)
Mathieu
More information about the vtkusers
mailing list