[vtk-developers] Tcl wrapping and output array arguments

David Cole DLRdave at aol.com
Fri Mar 27 10:25:00 EDT 2015


vtkBoundingBox does not derive from vtkObject. Are the tcl wrappers
able to handle non-vtkObject (i.e. non-ref-counted) entities properly
these days?


On Fri, Mar 27, 2015 at 10:14 AM, David Lonie <david.lonie at kitware.com> wrote:
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>


More information about the vtk-developers mailing list