[vtkusers] VTK Java/C Wrapping/Coding Problem
Liam Kurmos
quantum.leaf at googlemail.com
Thu Aug 12 09:18:04 EDT 2010
Hi Ambar,
It sounds like an interesting problem, i'd like to know how you get on.
I haven't used JNI for a long time and can't remember the details to
well but i imagine that one you know how the vtk classes are wrapped
it should be too hard to get them pointed to the wrapped c++ object
into your native c++ code. Have you looked at the wrapper code?
Liam
On Tue, Aug 10, 2010 at 11:12 PM, Ambar C <ambarc at gmail.com> wrote:
> Hello VTK users,
>
> I currently have a project that's in both Java and C++, and part of
> the project involves a wrapper using the Java Native Interface (JNI)
> where I use functionality from my C++ libraries in the Java code.
>
> Now the problem that I face is, both my Java and C++ codes use VTK
> objects - and when I pass down, say a vtkPolyDataAlgorithm object
> created in Java through to the C++ code, I'm not quite sure how to
> cast/use it.
>
> Please feel free to ask any questions that would help you to answer my question.
>
> Best Regards,
> Ambar
> _______________________________________________
> 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