MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::QualityControl Namespace Reference

Specialized UI for quality-control things. More...

Functions

MRVIEWER_API bool inputTolerance (const char *label, ObjectComparableWithReference &object, std::size_t index)
 

Detailed Description

Specialized UI for quality-control things.

Function Documentation

◆ inputTolerance()

MRVIEWER_API bool MR::QualityControl::inputTolerance ( const char * label,
ObjectComparableWithReference & object,
std::size_t index )

An input widget for the tolerance. Uses inputPlusMinus() internally. NOTE: This doesn't include the "reset" button to remove the tolerance, must draw that manually. index is the same index as used by ObjectComparableWithReference::getComparisonTolerence(), see that for more details.