Aller au contenu principal
Accueil

Main navigation

  • Actualités
    • Toutes les actualités
    • Séminaires - Soutenances
  • Présentation
    • CREATIS
    • Organigramme
    • Personnels
    • Effectifs
    • Contacts
    • Accès
  • Recherche
    • Equipes de recherche
    • Projets transversaux
    • Projets Structurants
    • Plateformes d'imagerie
    • Rapports d'activités
    • Notes d'information données
  • Contributions
    • Publications
    • Brevets
    • Logiciels
  • Formations
    • Implications dans les formations
    • Ecoles doctorales
  • Emplois et Stages
  • French French
  • English English
Search API form
User account menu
  • Account
    • Se connecter

Fil d'Ariane

  1. Accueil
  2. Create your own applications easily

Create your own applications easily

The CreaTools include a simple scripting language called bbs (black box scripting) allowing you to create very easily and quickly applications which include existing high-level components. These components which we named ‘black boxes’ follow the object-oriented programming philosophy. The black boxes have already been developed and you simply need to chain them into a workflow with your desired inputs and outputs. Let us take an example! If you need a 2D image viewer, all you have to do is to create and connect a FileSelector, an ImageReader and a Viwer2D with the help of bbs commands like this:

 
new FileSelector fileDialog
new ImageReader reader
new Viewer2D viewer
connect fileDialog.Out reader.In
connect reader.Out viewer.In
exec viewer
 

Black boxes are grouped into packages, which are dynamic libraries. In order to be able to use a black-box you have to previously include the package to which it belongs. Therefore, for the example above you first need to load the needed packages like this:

include vtk …

For a detailed description of the available commands, components and packages please refer to the doc here (link).

The bbs commands are executed using the bbi interpreter provided by the creatisStudio described in the next section. They can be typed either directly in a creatisStudio console or saved in a bbs script. Once you created your own script you can run it at any time or can integrate it as a component in a new script.

Barre liens pratiques

  • Authentication
  • Intranet
  • Flux rss
  • Creatis sur Twitter
  • Webmail
Accueil

Footer menu

  • Contact
  • Accès
  • Newsletter
  • Mentions Légales