[vtkusers] How to get data out of a .vtk file??

Brad King brad.king at kitware.com
Mon Aug 30 07:35:52 EDT 2004


Mirelle Mellqvist wrote:
> and I get an error that says:
> H:\Exjobb\20040830\test_20040830\test_20040830.cpp(14) : error C2664: 
> 'SetInput' : cannot convert parameter 1 from 'class vtkUnstructuredGrid 
> *' to 'class vtkDataSet *'
>        Types pointed to are unrelated; conversion requires 
> reinterpret_cast, C-style cast or function-style cast
> Error executing cl.exe.
> 
> What is wrong? How to a get the points out? And the celltypes? I guess I 
> don't quite know how it is related.

http://www.vtk.org/Wiki/VTK_FAQ#Forward_declaration_in_VTK_4.x

-Brad




More information about the vtkusers mailing list