12 #ifndef CXUTILHELPERS_H_ 13 #define CXUTILHELPERS_H_ 15 #include "cxResourceExport.h" 37 std::ostringstream ss;
38 ss << std::setprecision(3) << std::fixed;
40 ss << std::setw(10) << *
begin;
43 ss << separator << std::setw(10) << *
begin;
51 cxResource_EXPORT
double constrainValue(
double val,
double min,
double max);
52 cxResource_EXPORT
int sign(
double x);
54 cxResource_EXPORT
void sleep_ms(
int ms);
std::ostream & stream_range(std::ostream &s, ITER begin, ITER end, char separator=' ')
double constrainValue(double val, double min, double max)
QString changeExtension(QString name, QString ext)
Namespace for all CustusX production code.