[vtk-developers] Tcl wrapping and output array arguments
David Lonie
david.lonie at kitware.com
Fri Mar 27 10:14:34 EDT 2015
On Tue, Mar 24, 2015 at 9:26 AM, David Lonie <david.lonie at kitware.com>
wrote:
> Now I'm leaning towards
>
> vtkBoundingBox ComputeBoundingBox(vtkViewport *)
> [snip]
> It needs a couple hints to be wrapped properly, but that's not nearly as
> much trouble :)
>
Argh, it's not that easy. vtkBoundingBoxTcl.cxx is generated, but:
vtkActor actor
vtkRenderer renderer
set bbox [actor ComputeBoundingBox renderer]
fails, as vtkProp::ComputeBoundingBox isn't wrapped in Tcl or
Python (didn't test java). vtkBoundingBox is wrapped, but even just
vtkBoundingBox bbox
fails in tcl ('unknown command vtkBoundingBox'). FWIW,
bbox = vtk.vtkBoundingBox()
works in python. Any ideas what's missing here?
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150327/f15a4d7f/attachment.html>
More information about the vtk-developers
mailing list