[vtkusers] vtkProp * and vtkAssembly* what's the difference!!?!?
Francois Bertel
francois.bertel at kitware.com
Thu May 7 13:22:19 EDT 2009
Did you make sure you included vtkAssembly.h ?
ref:
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 Thu, May 7, 2009 at 11:47 AM, Giancarlo Amati
<ilferraresebono at hotmail.it> wrote:
> Hello everybody,
>
> I have an object belonging to vtkAssembly * which has a set of actors in it.
> I'm using vtk54 and I wanted to call the addActor function of the renderer
> to add this assembly.
> Now, I got an error saying that I can't convert a vtkAssembly * to a vtkProp
> * but....vktAssembly derives from vtkProp3D which derives from vtkProp * in
> a public way! so,
> what's this error about!?!
>
> Kind regards.
> Giancarlo
>
>
>
> ________________________________
> Chiamate gratis da PC a PC? Provale da Messenger!
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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