[vtkusers] vtkGetVector2Macro(name,vtkIdType); // Python Ouch...

Luke J West ljw at soc.soton.ac.uk
Fri Feb 11 05:06:03 EST 2005


Hi folks,

The vector accessor macros appear to make python fall over for the vtkIdType
type. To demonstrate the effect, insert the following lines into your favourite
class and rebuild with python wrapping on. I'm building on Linux(32) with 64bit
Id's. Oh - I almost forgot - does anyone know a fix/workaround/hack for this?

vtkIdType Example[2];
vtkGetVector2Macro(Example,vtkIdType);
vtkSetVector2Macro(Example,vtkIdType);


Luke J West  :  e-Science  Research Assistant
---------------------------------------------
Room 566/12, School of Ocean & Earth Sciences
Southampton Oceanography Centre,  Southampton
SO14 3ZH  United Kingdom
---------------------------------------------
Tel: +44 23 8059 4801   Fax: +44 23 8059 3052
Mob: +44 79 6107 4783 Skype: ljwest
---------------------------------------------
http://godiva.soc.soton.ac.uk/



More information about the vtkusers mailing list