SMILX
1.01
|
Classes | |
class | _installsupportedimagesrecursively |
class | _installsupportedimagesrecursively< NrOfSupportedImageTypes+1 > |
class | ComponentLoader |
Determines which components (metrics, transforms, etc.) are available. More... | |
class | ElastixMain |
A class with all functionality to configure elastix. More... | |
Functions | |
int | xoutSetup (const char *logfilename, bool setupLogging, bool setupCout) |
Variables | |
xoutbase_type | g_xout |
xoutsimple_type | g_WarningXout |
xoutsimple_type | g_ErrorXout |
xoutsimple_type | g_StandardXout |
xoutsimple_type | g_CoutOnlyXout |
xoutsimple_type | g_LogOnlyXout |
std::ofstream | g_LogFileStream |
If running on a Windows-system, include "windows.h". This is to set the priority, but which does not work on cygwin.
int elastix::xoutSetup | ( | const char * | logfilename, |
bool | setupLogging, | ||
bool | setupCout | ||
) |
********************* xoutSetup ******************************
NB: this function is a global function, not part of the ElastixMain class!!
********************** Global Functions **********************
NB: not part of the ElastixMain class. function xoutSetup Configure the xl::xout variable, which has to be used for for writing messages. The function adds some default fields, such as "warning", "error", "standard", "logonly" and "coutonly", and it sets the outputs to std::cout and/or a logfile.
The method takes a logfile name as its input argument. It returns 0 if everything went ok. 1 otherwise.
The namespace of xout.
Open the logfile for writing.
Set std::cout and the logfile as outputs of xout.
Set outputs of LogOnly and CoutOnly.
Copy the outputs to the warning-, error- and standard-xouts.
Link the warning-, error- and standard-xouts to xout.
Format the output.
Return a value.
Definition at line 58 of file elxElastixMain.cxx.
xoutbase_type elastix::g_xout |
******************* Global variables *************************
Some global variables (not part of the ElastixMain class, used by xoutSetup.
xout TargetCells.
Definition at line 42 of file elxElastixMain.cxx.