[vtkusers] Implementing user ImageAlgorithm in Java - impossible?
Sebastien Jourdain
sebastien.jourdain at kitware.com
Thu Jun 2 00:24:20 EDT 2011
Hi,
I don't know much about the wrapping part, but David Gobbi might have
some insight.
Seb
On Wed, Jun 1, 2011 at 5:53 PM, EvilMax <maxim.privalov at gmail.com> wrote:
> Thank you for wrapping answer!
>
> After implementing some algorithms I actually prefer writing computationally
> and data read/write intensive algorithms in C++, wrap them and then use in
> Desktop/GUI apps written in Java, so Java code contains only VTK pipeline
> configuration.
>
> About wrapping I mean something other - pass/return types restrictions. For
> example, I found that method that gets not fixed-length array but scalar
> type pointer (void foo(int* a, int length) ) is not wrapped - it is absent
> in *.java output. This forced me to use always pointer to vtkDataArray
> object which could result in some not desired array copying (one to data
> array class, in Java, other - to required class in pipeline). And there are
> also some other allowed argumets/return types restrictions. I've also found
> that 'hints' file is somehow involved, but did not completely understand its
> purpose and structure. So need some pointers to docs for writing C++ code
> that will be wrapped in Java as expected.
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Implementing-user-ImageAlgorithm-in-Java-impossible-tp4439921p4446532.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list