-
Notifications
You must be signed in to change notification settings - Fork 65
From a Scalismo Lab script to a Scalismo application
Marcel Luethi edited this page Sep 8, 2020
·
10 revisions
Scalismo Lab is a convenient choice when starting to develop in Scalismo for many reasons:
- Easy to setup: simply download, run and you're good to go
- Focus on concepts: you can immediately start reading and manipulating your data, without having to worry about classes, main methods, imports, etc...
However, if your scripts start to be of a certain size, then you should consider scaling up and write a proper Scala application, which uses Scalismo as a library.
This has many advantages:
- You can work in a proper IDE: this provides you with many editor functionalities that Scalismo Lab is not designed to provide
- Your application can scale up in complexity and make use of the structure provided by the Scala programming language (classes, inheritance, namespaces etc...)
- The developed applications can be launched as a standalone application and be deployed as an executable jar, a web-service, etc...
To port the scripts that you developed in Scalismo Lab to a Scalismo application, you need to:
- Setup a Scala project that makes use of Scalismo as library. Details of this process are described on this page.
- Adapt your Scalismo Lab scripts to fit the newest version of Scalismo.
To help you with the transition, we have ported all the tutorials from ScalismoLab to the latest Scalismo version. You can find them on the scalismo-webpage. In case you have any questions regarding Scalismo, don't hesitate to post them to our Mailing List.