[vtkusers] Problems porting from Python to C++
Amy Henderson
amy.henderson at kitware.com
Mon Sep 22 09:21:20 EDT 2003
Adding #include "vtkPolyData.h" should also work and doesn't involve casting.
- Amy
At 11:51 AM 9/21/2003 -0300, Lucas Peetz Dulley wrote:
>Hi Ketan!
>
>It worked :)
>
>thanks for for your help
>
>this is what i did:
>"vtkPointSet *ps = (vtkPointSet *) (geometry->GetOutput());"
>
>And I thought I would never have to use these kind of tricks with VTK, hehe
>
>Once again thanks.
>
>Lucas
>
>Ketan Mehta wrote:
>
>>Hi Lucas,
>>
>>I have also faced similar problems in tcl examples.
>>There are mainly due to strong type checking in C++.
>>
>>Check whether
>>1) You have included vtkWarpScaler.h in code.
>>2) try to type case it, but not sure whether it is proper here.
>>
>>bye
>>Ketan
>>
>>
>
>
>--
>Lucas Peetz Dulley <dulley at lsi.usp.br>
>Homepage: http://www.lsi.usp.br/~dulley/
>Virtual Reality Center - CAVERNA Digital
>LSI - POLI - USP Tel: +55-11-3091-5374
>Av. Prof. Luciano Gualberto, 158 trav. 3
>CEP: 05508-900 - Sao Paulo - SP - Brazil
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list