Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eavp-dev] EAVP

Nice work Robert!

Jay

On Mon, Aug 22, 2016 at 4:54 PM, Smith, Robert W. <smithrw@xxxxxxxx> wrote:

​Havard,


I've implemented a simple use of the FXGeometryCanvas for importing .stl and .obj files and sent a pull request on BitBucket. Apologies in advance, I switched the eavp-demo.product.launch file over to using the windows swt bundles. You'll have to change back to the bundles for your operating system to use it again. You should now be able to import a file with File -> Import. Attached is a screenshot with a sample file open in the app. Let me know if you need further help.


Robert


From: Håvard Heierli-Nesse <Havard.Heierli-Nesse@marintek.sintef.no>
Sent: Friday, August 19, 2016 9:47 AM
To: Smith, Robert W.
Subject: RE: [eavp-dev] EAVP
 
Thank you, Robert! :)

I'll check out the VizServiceFactoryHolder. Also, let me know if there are any problems with the bitbucket repo. As i wrote to Jay - I can easily move the code to GitHub if that's easier for you.

Med vennlig hilsen / Best regards,
Håvard Heierli-Nesse
Programutvikler – Konstruksjonsteknikk
Software developer – Structural engineering
 
MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS)
Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway
Mobile:   +47 930 04 277 
Web:       www.marintek.sintef.no

From: eavp-dev-bounces@xxxxxxxxxxx [eavp-dev-bounces@xxxxxxxxxxx] on behalf of Smith, Robert W. [smithrw@xxxxxxxx]
Sent: Friday, August 19, 2016 3:40 PM

To: Håvard Heierli-Nesse; eavp developer discussions
Subject: Re: [eavp-dev] EAVP

Havard,


I'll take a look at the repo for your demo app.


You can see a simple example of how to use to consume the VizServiceFactory with the VizServiceFactoryHolder and its associated OSGI .xml file


The old JME3 code is at https://github.com/eclipse/ice/tree/e93af095ca19c3d30b63ff1a12b59f5bcfd63171/org.eclipse.ice.viz.service.jme3 though it’s quite out of date and would have to be refactored to run with our new data structure architecture.


Robert


From: eavp-dev-bounces@xxxxxxxxxxx <eavp-dev-bounces@xxxxxxxxxxx> on behalf of Jay Jay Billings <jayjaybillings@xxxxxxxxx>
Sent: Thursday, August 18, 2016 7:52 PM
To: Håvard Heierli-Nesse; eavp developer discussions
Subject: Re: [eavp-dev] EAVP
 
Havard,

Awesome!

Robert will help you out with this. He wrote the article and might have time to help you with the RCP app.

As for the service, all you need to do is to consume the service as an OSGI declarative service or through calling the OSGI framework and acquiring the service by name. We prefer the former. If you take a look at

https://github.com/eclipse/ice/blob/master/org.eclipse.ice.client.widgets/OSGI-INF/formEditorVizService.xml

then you will see an example of how to do it.

Of course, the other way to do your demo is to just use ICE, which has all of the EAVP stuff installed by default. All you would need to do is hook up VisIt if you wanted to show that part off. ICE can even generate plugins for itself, so you could conceivably autogenerate most of the OSGI wiring that you need as well. But wait! There's more! ;-) (That's an annoying infomercial joke. Do you have those in Norway?) Robert can also also show you some of the old code that we have for using JME3, which would require some cleanup to get working, I think, but might save you some time.

Let us know!

Jay

On Thu, Aug 18, 2016 at 10:13 AM, Håvard Heierli-Nesse <Havard.Heierli-Nesse@marintek.sintef.no> wrote:
Hi again!

I'm trying to set up EAVP for visualization by following this wiki page:
https://wiki.eclipse.org/EAVP_Service_Integration

The RCP application is meant to be pretty minimal, and it's going to be a demo to show on my talk on thursday.

I've managed to use the FXViewer (in the same way we've done in the project we're working on), but this is not what I want for the demo.

The simple demo application is meant to do the following:
 - Start up and display an empty view. The menu has three main items: File, View and Help
 - Under the View item, I can select the FXView and display some geometry of some sort (cube, cylinder whatever).

If I can get this initial stuff up and running and I have time (not likely :)  I'll also try to put together my own VizService using LWJGL to render the same model, but using my own rendering service instead of the JavaFX one.

I've been reading some of the code for both EAVP and ICE to try to figure out how it all fits together.

My main question is where and how do I use the BasicVizServiceFactory to get hold of the FXGeometryVizService (or FXMeshVizService)? I guess I'll have to initialize this somewhere when the FXViewer is created and displayed in my perspective. I actually haven't used OSGI services much in Eclipse, but I'm quite familiar with Spring from my previous job, so annotations and injections of services isn't a *totally* unknown concept :)

I was thinking about using the FXViewer in EAVP as it is for the JavaFX demo.

If you have time to check out the demo application in it's current state, I can send it to you (or share the bitbucket repo url). I guess I'd probably save a few days work if you could pinpoint where I should put things to get the EAVP services up and running.

Unless I get the demo up an running in a couple of days, it'll be a talk without a live demo. That's probably OK as well, but it'll be a bit lower on the "awesomness scale" :)



Med vennlig hilsen / Best regards,
Håvard Heierli-Nesse
Programutvikler – Konstruksjonsteknikk
Software developer – Structural engineering
 
MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS)
Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway
Mobile:   +47 930 04 277 
Web:       www.marintek.sintef.no



--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

_______________________________________________
eavp-dev mailing list
eavp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eavp-dev




--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

Back to the top