dtk plugins tricks

In this post, we are going to explore two tricks around plugins: auto-loading and application private plugins.

auto-loading

dtk plugins path is usually set in a .config/inria/dtk-LAYER-NAME.ini file (in linux) in order to be loaded at runtime. Let’s take the layer dtk-discrete-geometry for demonstration. For this layer, my dtk-discrete-geometry.ini file is:

the default action when you initialize a layer is to scan all files in the plugins directory define in this .ini file and load them if they are plugins of the layer being initialized.
However, you may have some plugins that cannot work together (for example two plugins compiled with different versions of VTK). In this situation, you can choose to only load the plugins you need. Here is how you do these two options:

About Tristan CABEL

Tristan received an engineer diploma from INSA Rennes in communications network in 2009.
In the same year, he began to be interested in HPC and particularly using accelerators to speed-up the computation.
Since then, he continued to work in High Performance Computing either as an engineer in research team or as an expert in a national computing center.
In 2015, he took a liking in deep learning and self trained himself on it.