[vtk-developers] vtk modular and java (vtkPanel) System.loadLibrary problem

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue May 29 13:03:22 EDT 2012


Hi Gerrick,

thanks for getting back to me. I agree the wiki need to be better
structured. But as you noticed the Java side of it is kind of small or
inexistent.
And therefore, if you are willing to share your knowledge and
experience around your Netbean integration, creating a new wiki page
on that subject does make sense. Or if you prefer you can even write a
Source article that will be published and archived by Kitware.

Seb

On Tue, May 29, 2012 at 12:52 PM, Gerrick Bivins
<gbivins at objectreservoir.com> wrote:
> Hi Sebastian,
> Sorry, for the confusion here.
>
> The "NetBeans VTK" integration question was due to some of the efforts I've
> gone through to include VTK into our
> NetBeans Platform based app. Basically, I've created a pluggable window to
> provide VTK functionality in any of our applications.
> When attempting to update the NetBeans VTK plugin I've developed here at my
> current
> employer, I ran into the issue that started this thread, ie VTK Modular Java
> names changed and the vtkPanel
> that I'm referencing wouldn't load.
>
> So for example, if I were to contribute back to VTK some of this
> functionality, where could it be documented so that others
> looking for this could find it and know it was available? When I started
> looking for this kind of information ("Is there a NetBeans/Eclipse plugin
> for VTK?"), I couldn't find it. Obviously, I think the answer here is "NO"
> but
> there was a lot of work done since I last updated my VTK so I don't know
> what was changed.
> It could just be my unfamiliarity with the wiki and knowing where to look.
>
> Does that make more sense?
> Gerrick
>
>
>
>
> On Tue, May 29, 2012 at 11:05 AM, Sebastien Jourdain
> <sebastien.jourdain at kitware.com> wrote:
>>
>> Hi Gerrick,
>>
>> can you be more precise on the issue that you are thinking of ?
>>
>> Thanks,
>>
>> Seb
>>
>> On Tue, May 29, 2012 at 11:53 AM, Gerrick Bivins
>> <gbivins at objectreservoir.com> wrote:
>> > Sorry, I wasn't clear here. I meant the plugin architecture aspect of a
>> > NetBeans (similar to Eclipse OSGi) as
>> > opposed to using VTK objects as "beans", although there are probably
>> > some
>> > things that can be leveraged
>> > from the JavaBeans project as they would have addressed similar issues
>> > I'm
>> > sure.
>> >
>> > biv
>> > On Mon, May 28, 2012 at 2:13 PM, David Gobbi <david.gobbi at gmail.com>
>> > wrote:
>> >>
>> >> About JavaBeans, there was a JavaBeans generator for VTK a
>> >> long time ago and its source file still exists in the VTK repository:
>> >> vtkParseJavaBeans.c.  I imagine that it could be reactivated, if
>> >> someone is willing to maintain it.
>> >>
>> >>  - David
>> >>
>> >> On Mon, May 28, 2012 at 1:04 PM, Sebastien Jourdain
>> >> <sebastien.jourdain at kitware.com> wrote:
>> >> > We try to gather those informations on the vtk wiki. But we mostly
>> >> > rely on the community for the Java side of it.
>> >> > If you want to create a new wiki page, go for it.
>> >> >
>> >> > Seb
>> >> >
>> >> > On Mon, May 28, 2012 at 2:55 PM, Gerrick Bivins
>> >> > <gbivins at objectreservoir.com> wrote:
>> >> >> Cool!
>> >> >> A related question, is there a doc/faq/wiki that talks about
>> >> >> vtk/java
>> >> >> and
>> >> >> the levels of support?
>> >> >> For instance, I previously had to do extra things to use vtk in a
>> >> >> NetBeans
>> >> >> platform application and I assume
>> >> >> that is still the case, but with all the changes, it may not be. Is
>> >> >> there a
>> >> >> place where I could find an answer to
>> >> >> that kind of vtk/java integration/support question?
>> >> >> Gerrick
>> >> >>
>> >> >> On Mon, May 28, 2012 at 9:37 AM, Chris Harris
>> >> >> <chris.harris at kitware.com>
>> >> >> wrote:
>> >> >>>
>> >> >>> Hi Gerrick,
>> >> >>>
>> >> >>> It looks like this Java file will have to be configured to contain
>> >> >>> the
>> >> >>> modules that have been enabled. I will take a look at doing this.
>> >> >>>
>> >> >>> Regards,
>> >> >>>
>> >> >>> Chris
>> >> >>>
>> >> >>> On Wed, May 23, 2012 at 10:24 AM, Gerrick Bivins
>> >> >>> <gbivins at objectreservoir.com> wrote:
>> >> >>>>
>> >> >>>> Hi All,
>> >> >>>> Looks like the vtkNativeLibrary enum still references  pre-modular
>> >> >>>> library names,
>> >> >>>> ie
>> >> >>>> enum vtkNativeLibrary
>> >> >>>> {
>> >> >>>> ...
>> >> >>>> COMMON("vtkCommonJava"),
>> >> >>>> FILTERING("vtkFiteringJava"),
>> >> >>>> ...
>> >> >>>> }
>> >> >>>> Seems like, at a minimum, it should at least be something like
>> >> >>>> {
>> >> >>>> ...
>> >> >>>> COMMONCORE("vtkCommonCoreJava"),
>> >> >>>> FILTERINGCORE("vtkFiltersCoreJava"),
>> >> >>>> ...
>> >> >>>> }
>> >> >>>> but I'm sure that doesn't cover it.
>> >> >>>>
>> >> >>>> I just began trying out the modular build so I'm not sure where
>> >> >>>> things
>> >> >>>> have moved otherwise I would have taken a whack at fixing this.
>> >> >>>> Gerrick
>> >> >>>>
>> >> >>>>
>> >> >>>> _______________________________________________
>> >> >>>> Powered by www.kitware.com
>> >> >>>>
>> >> >>>> Visit other Kitware open-source projects at
>> >> >>>> http://www.kitware.com/opensource/opensource.html
>> >> >>>>
>> >> >>>> Follow this link to subscribe/unsubscribe:
>> >> >>>> http://www.vtk.org/mailman/listinfo/vtk-developers
>> >> >>>>
>> >> >>>>
>> >> >>>
>> >> >>
>> >> > _______________________________________________
>> >> > Powered by www.kitware.com
>> >> >
>> >> > Visit other Kitware open-source projects at
>> >> > http://www.kitware.com/opensource/opensource.html
>> >> >
>> >> > Follow this link to subscribe/unsubscribe:
>> >> > http://www.vtk.org/mailman/listinfo/vtk-developers
>> >> >
>> >
>> >
>
>



More information about the vtk-developers mailing list