[vtkusers] Debugging VTK in Python - finding exact class of VTK object
David Gobbi
david.gobbi at gmail.com
Tue Jun 7 09:40:50 EDT 2016
On Tue, Jun 7, 2016 at 7:24 AM, Ben Boeckel <ben.boeckel at kitware.com> wrote:
> On Tue, Jun 07, 2016 at 12:47:20 +0200, D L wrote:
> > Is there any other python or VTK function I can use?
>
> There should be a `GetClassName()` method you can use.
>
And in VTK 7, each VTK class is its own Python type:
type(vtkImageData())
<type 'vtkCommonDataModelPython.vtkImageData'>
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160607/3ce03feb/attachment.html>
More information about the vtkusers
mailing list