[vtk-developers] vtkImageMathematics and TCL/Python
David Gobbi
david.gobbi at gmail.com
Mon Apr 2 08:32:53 EDT 2012
Hi Andrew,
The methods SetInputData1 and SetInputData2 don't exist
in C++ either, as far as I can tell.
In VTK 5.8 and 5.10: SetInput1(), SetInput2()
In VTK master: SetInput1Data(), SetInput2Data()
The SetInputConnection method works in all:
SetInputConnection(0, other1->GetOutputPort())
SetInputConnection(1, other2->GetOutputPort())
- David
On Mon, Apr 2, 2012 at 5:03 AM, Andrew Maclean
<andrew.amaclean at gmail.com> wrote:
> Hi All,
>
> I am updating some old tcl scripts and, at the same time, generating python
> code from them. I doing this, I have come across an issue relating
> to vtkImageMathematics. I am getting errors relating to the
> functions SetInputData1 and SetInputData2 not existing.
>
> In order to confirm this, I ran the TCL test
> script: Imaging/Testing/Tcl/TestAllMathematics.tcl and the test fails on
> vtk 5.8. It fails because SetInputData1 does not exist. A similar issue
> exists for Python.
>
> I am using a 64-bit build of VTK 5.8 with Visual Express 10 (Win64 VS10) and
> the release/debug builds are error free builds with TCL and Python wrapping.
>
> It seems to me that the functions SetInputData1 and SetInputData2 are not
> being wrapped or I am missing something. What is also interesting is that
> there is a test TestAllMathematics-image that seems to be passing Ok on
> the dashboards. Is this the same as the tcl version?
>
>
> Thanks
> Andrew
>
> --
> ___________________________________________
> Andrew J. P. Maclean
More information about the vtk-developers
mailing list