statismo-ui is an (experimental) C++ interface for scalismo-ui.
It works in pair with ui-service.
You will need a fresh install of statismo.
You can find documentation about cpp install on apache website or github and documenation about debian install on apache website.
Here is the procedure to install it through vcpkg on Ubuntu:
> sudo apt-get install flex bison
# If you don't use vcpkg for other stuff
# the build dir can be statismo-ui build directory
> mkdir build && cd build
> git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg
> ./bootstrap-vcpkg.sh
> ./vcpkg integrate install
> ./vcpkg install thrift
⚠️ This project is experimental and has been tested on Linux Ubuntu only
ℹ️ The procedure relies on thrift being installed with vcpkg
- Configure project
> cd build
> cmake .. -DTHRIFT_HOME=${path_to_build_dir}/vcpkg/installed/x64-linux -Dstatismo_DIR=${path_to_install_dir}/lib/cmake/statismo
- Build
> cmake --build .
ℹ️ Project must be configure with BUILD_EXAMPLES=ON
- Run ui-service first
- Run an example
> cd build
> ./examples/viz-client
You can develop your own client for test or demo purpose. A common use case would be to visualize the different steps of a model fitting transform.
⚠️ Any breaking modification to the file ui.thrift must be applied to ui-service too.