This class represents tooth id. More...
#include <MRTeethMaskToDirectionVolume.h>
Public Member Functions | |
MRVOXELS_API int | fdi () const |
Returns FDI representation of the id. | |
auto | operator<=> (const DentalId &other) const =default |
Static Public Member Functions | |
template<int id> | |
static constexpr DentalId | fromFDI () |
Creates id from FDI number known at compile time. | |
static MRVOXELS_API std::optional< DentalId > | fromFDI (int id) |
Creates id from FDI number known only at runtime. | |
This class represents tooth id.
MRVOXELS_API int MR::DentalId::fdi | ( | ) | const |
Returns FDI representation of the id.
|
inlinestaticconstexpr |
Creates id from FDI number known at compile time.
|
static |
Creates id from FDI number known only at runtime.
|
default |