Mercurial > hg > orthanc-stone
view Resources/CodeGeneration/testCppHandler/README.md @ 1327:4f8db2d202c8 broker
OrthancSeriesProgressiveLoader now has two modes that
can be selected at object creation :
- progressive (will first load jpeg50, then jpeg90 then PAM)
- non-progressive (will directly load PAM (uncompressed))
Please note that the slice loading order remains dynamic
and depending upon the slice that the client code wishes
to extract from the volume.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 25 Mar 2020 14:34:27 +0100 |
parents | 0d42bda615a8 |
children |
line wrap: on
line source
Requirements ============== - Install Python 3.x (tested with 3.7) - Install conan with `pip install conan` (tested with 1.12.2) - Install CMake (tested with 3.12) - Under Windows: Visual Studio 2017 - Under *nix*: Ninja How to build under *nix* =============================== - Navigate to `testCppHandler` folder - `conan install . -g cmake` - `mkdir build` - `cd build` - `cmake -G "Ninja" ..` - `cmake --build . --config Debug` or - `cmake --build . --config Release` How to build under Windows with Visual Studio ============================================== - Navigate to repo root - `mkdir build` - `cd build` - `conan install .. -g cmake_multi -s build_type=Release` - `conan install .. -g cmake_multi -s build_type=Debug` - `cmake -G "Visual Studio 15 2017 Win64" ..` (modify for your current Visual Studio version) - `cmake --build . --config Debug` or - `cmake --build . --config Release` How to execute the test ======================= - `cd test_data && testCppHandler --pattern=*.json`