Import 2017-06-07 23:51:09: master acc9915c

Author Committer Branch Timestamp Parent
jcfr jcfr master 2016-06-09 14:50:18 master e6188f5c
Affected Issues 0004181: Python Scripting: InvokeEvent needs to support integer (and other call data types)
Changeset

BUG: Update VTK: Support InvokeEvent with param from python. Fixes 0004181

Currently it only supports strings, floats and ints.

Infrastructure to support vtkObjects is also in place, but cherry-picking
the wrapping infrastructure patches to support it are too involved
to be reliably done.

Doing the following is now expected to work:

paramNode = slicer.vtkMRMLScriptedModuleNode()
paramNode.InvokeEvent(vtk.vtkCommand.ModifiedEvent, 4)

$ git shortlog 4b9957b..f08b7db --no-merges
Hastings Greer (1):
Allow pyvtkObjects to have InvokeEvent called on them with calldata

Thanks: Hastings Greer <hastings.greer@kitware.com>
Thanks: David Gobbi <david.gobbi@gmail.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25177 3bd1e089-480b-0410-8dfb-8563597acbee

mod - SuperBuild/External_VTKv6.cmake Diff File