#include <QApplication>
#include <itksys/SystemTools.hxx>
int main(
int argc,
char *argv[])
{
QApplication qtapplication(argc, argv);
if (argc < 2)
{
fprintf(
stderr, "Usage: %s [filename1] [filename2] ...\n\n", itksys::SystemTools::GetFilenameName(argv[0]).c_str());
return 1;
}
int i;
for (i = 1; i < argc; ++i)
{
if (strcmp(argv[i], "-testing") == 0)
continue;
}
if (sliceNaviController)
sliceNaviController->GetSlice()->SetPos(2);
renderWindow.show();
renderWindow.resize(256, 256);
if (strcmp(argv[argc - 1], "-testing") != 0)
return qtapplication.exec();
else
}