[vtkusers] conversion from vtkImageData to vtkDataObject

Francois Bertel francois.bertel at kitware.com
Mon Jan 26 09:16:29 EST 2009


See this entry in the FAQ:

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

On Mon, Jan 26, 2009 at 9:07 AM, Martine Lefevre <martine_lef at yahoo.fr> wrote:
> Hi,
>
> I'd like to compute the curvature of an 3D object and I got the following
> error:
>
> error C2664: 'void vtkPolyDataAlgorithm::SetInput(vtkDataObject *)' : cannot
> convert parameter 1 from 'vtkImageData *' to 'vtkDataObject *'.
>
> So my question is how I can convert form vtkImageData to vtkDataObject.
>
> Thanks
>
> Martine
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list