[vtkusers] Python wrapping

David Gobbi dgobbi at atamai.com
Wed Oct 26 09:15:36 EDT 2005


Hi Yoan,

Do vtkImageGzipReader.h and vtkImageH33Reader.h use vtkTypeRevisionMacro()?

 - David

Yoan BLANC wrote:

> Hi,
>
> I've some extra classes for reading special files like H33. These 
> classes were written for VTK 4.2 but I've ported them to VTK 4.4 
> especially the float to double modification. But it still a problem 
> that I can't understand
>
> >>> from vtk import *
> >>> dir(vtkImageH33Reader)
> ['ExecuteInformation', 'GetClassName', 'GetH33FileName', 
> 'SetH33FileName', '__bases__', '__doc__', '__members__', 
> '__methods__', '__module__', '__name__']
> >>> h33img = vtkImageH33Reader()
> >>> h33img
> <libvtkIOPython.vtkImageReader vtkobject at 0xb7c776b0>
>
> Why h33img is a vtkImageReader ?!?
>
> vtkImageReader
>    |_ vtkImageGzipReader
>            |_ vtkImageH33Reader
>
> but with another class that inherits from vtkImageReader like 
> vtkBMPReader there is no bug.
>
> >>> vtkBMPReader()
> <libvtkIOPython.vtkBMPReader vtkobject at 0xb7c77698>
>
> I'm a bit lost ??
>
> Yoan
>
> _______________________________________________
> 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
>




More information about the vtkusers mailing list