22# include <xmmintrin.h>
30 void set_project_version ();
35#define MRTRIX_UPDATED_API
37#ifdef MRTRIX_AS_R_LIBRARY
39extern "C" void R_main (
int* cmdline_argc,
char** cmdline_argv)
43 ::MR::App::set_project_version();
64extern "C" void R_usage (
char** output)
71 *output =
new char [s.size()+1];
72 strncpy(*output, s.c_str(), s.size()+1);
77int main (
int cmdline_argc,
char** cmdline_argv)
81 int mxcsr = _mm_getcsr ();
83 mxcsr |= (1<<15) | (1<<11);
90 ::MR::App::set_project_version();
void display(int log_level=0) const
int main(int cmdline_argc, char **cmdline_argv)
std::string full_usage()
dump formatted help page [used internally]
void verify_usage()
verify that command's usage() function has set requisite fields [used internally]
void init(int argc, const char *const *argv)
initialise MRtrix and parse command-line arguments
OptionList OPTIONS
the options accepted by the command
void parse_special_options()
option parsing that should happen before GUI creation [used internally]
Description DESCRIPTION
additional description of the command over and above the synopsis
void set_executable_uses_mrtrix_version()
ArgumentList ARGUMENTS
the arguments expected by the command
void parse()
do the actual parsing of the command-line [used internally]