The xdata module provides a way to interact with the classes written with the xdata grammar via a python gui (Graphical User Interface). It require the python wrapping of qt and vtk to work (indeed, the vtk module is not required, a empty widget will be displayed if not found ...).
The sources of the template are included in the directory
XDATA_INSTALLATION_PATH/share/xdata/templates
.
The example below is used in compiling and installing the
TECHOBJ
template. To do that, you should copy the
TECHOBJ_ROOT
arborescence from
XDATA_INSTALLATION_PATH/share/xdata/templates
in
a local directory to not «pollute» your xdata installation.
Then, follow the instructions in the README file of TECHOBJ_ROOT
.
This file is reproduced here :
# -- # Copyright (C) CEA, EDF # Author : Erwan ADAM (CEA) # -- Introduction ============ You are in the template TECHOBJ which use the xdata python module for developpement. We assume as this level that xdata is correctly installed on your system. Building and Installing ======================= cd TECHOBJ_ROOT cd .. mkdir TECHOBJ_BUILD cd TECHOBJ_BUILD ../TECHOBJ_ROOT/build_configure ../TECHOBJ_ROOT/configure --prefix=INSTALLATION_PATH make install make check (optional) After all, please define a TECHOBJ_ROOT_DIR variable to refer your INSTALLATION_PATH : setenv TECHOBJ_ROOT_DIR INSTALLATION_PATH (csh) export TECHOBJ_ROOT_DIR=INSTALLATION_PATH (sh) Troubleshooting =============== Please, send a mail to erwan.adam@cea.fr ...