Common global functions and macros.
More...
|
#define | SMILI_EXPORT |
| DLL Function Symbol for Windows. It is empty for other OSes.
|
|
|
typedef double | milx::coordinateType |
|
typedef unsigned | milx::vnl_size_t |
|
typedef vnl_vector_fixed< coordinateType, 3 > | milx::coordinate |
|
|
template<typename T > |
void | milx::Swap (T &a, T &b) |
|
template<typename T > |
T | milx::Minimum (const T &a, const T &b) |
|
template<typename T > |
T | milx::Maximum (const T &a, const T &b) |
|
std::string | milx::NumberToString (double num, unsigned zeroPad=0) |
| Number to string converter.
|
|
unsigned | milx::NumberOfProcessors () |
| Number of processors or cores on the machine.
|
|
void | milx::PrintProgressBar (const size_t percent) |
| Displays a generic terminal-based progress bar based on the percent provided. More...
|
|
void | milx::PrintInfo (const std::string msg) |
| Displays a generic msg to standard output with carriage return.
|
|
void | milx::PrintWarning (const std::string msg) |
| Displays a generic msg to standard output with carriage return.
|
|
void | milx::PrintDebug (const std::string msg) |
| Displays a generic msg to standard error with carriage return if in Debug mode.
|
|
void | milx::PrintError (const std::string msg) |
| Displays a generic msg to standard error with carriage return.
|
|
|
const float | milx::Version = static_cast<float>(1.0) |
|
const unsigned | milx::imgDimension = 3 |
|
Common global functions and macros.
◆ PrintProgressBar()
milx::PrintProgressBar |
( |
const size_t |
percent | ) |
|
|
inline |
Displays a generic terminal-based progress bar based on the percent provided.
Usage for counter i would be:
Definition at line 149 of file milxGlobal.h.