[Fwd: [vtk-developers] Modification to vtkPythonUtil to support passing of void *callData]

David Gobbi dgobbi at imaging.robarts.ca
Fri Mar 21 16:59:20 EST 2003


Hi Charl,

I like the idea, but I don't really like the use of "string0" as a
data type descriptor.  Maybe the use of a python 'type' object would
be better, i.e. types.StringType would signify a string.  Also I
would prefer to see the 'callDataType' attribute capitalized, i.e.
func.CallDataType.

Either that, or it can always be assumed that "ErrorEvent" provides
a string (but of course that would lead to backwards incompatibility,
because I didn't have the foresight to always pass 'None' as the
callData parameter in my initial implementation).

I say go ahead and commit the change.

 - David

On 21 Mar 2003, Charl P. Botha wrote:

> I'm re-sending this as I haven't had sufficient response.  I would very
> much like to commit this change, as it alleviates a deficiency in the
> Python wrapping of VTK.  However, I wouldn't want to commit without the
> approval of at least one more experienced developer.
>
> Thanks,
> Charl
>
> --
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
>




More information about the vtk-developers mailing list