|
CPPxDIC
C++ Digital Image Correlation library for fingertip 3D reconstruction
|
Compile-time selection of the xDIC reconstruction mode. More...
Go to the source code of this file.
Namespaces | |
| namespace | xdic |
Macros | |
| #define | XDIC_MODE_CAMERAPAIRS |
Enumerations | |
| enum class | xdic::Mode { xdic::CameraPairs , xdic::Mirrored , xdic::Multi } |
| Enumeration of the supported xDIC reconstruction modes. More... | |
Functions | |
| constexpr Mode | xdic::active_mode () |
| The reconstruction mode selected at compile time. | |
| constexpr const char * | xdic::active_mode_name () |
| Human-readable name of the active mode. | |
Compile-time selection of the xDIC reconstruction mode.
The xDIC executable supports (or will support) three reconstruction modes:
The active mode is chosen at configure time via the CMake cache variable XDIC_MODE (default camerapairs), which defines exactly one of the following preprocessor macros:
This header centralises that selection so future modes slot in without restructuring the working camerapairs pipeline. If no macro is defined (e.g. building a translation unit outside CMake), it falls back to camerapairs to preserve current behaviour.
Definition in file xdic_mode.h.
| #define XDIC_MODE_CAMERAPAIRS |
Definition at line 25 of file xdic_mode.h.