[vtkusers] In Python, is it possible to use class methods with array pointer inputs ?

Evan Kao tossin at gmail.com
Tue Aug 16 17:10:14 EDT 2016

Hello all,

I was wondering if there was any way to use class methods that have array
pointer inputs in Python.  For example, I was looking at the
() method, which takes an array pointer specifying the points.  This C++
example <http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/PointInPolygon>
suggests getting the pointer by using a vtkPoints->GetVoidPointer() method,
but that doesn't seem to yield anything usable in Python.

Evan Kao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160816/605a4b03/attachment.html>

More information about the vtkusers mailing list