Skip to content

Commit db12581

Browse files
committed
compatibility with mitk2018-bis (cmdapps changes)
1 parent 511955a commit db12581

14 files changed

Lines changed: 29 additions & 29 deletions

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgAppCmdTemplate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ int main(int argc, char* argv[]) {
5252
// Add arguments. Unless specified otherwise, each argument is optional.
5353
// See mitkCommandLineParser::addArgument() for more information.
5454
parser.addArgument(
55-
"input", "i", mitkCommandLineParser::InputFile,
55+
"input", "i", mitkCommandLineParser::String,
5656
"Input Image", "Any image format known to MITK.",
5757
us::Any(), false);
5858
parser.addArgument(
59-
"output", "o", mitkCommandLineParser::OutputFile,
59+
"output", "o", mitkCommandLineParser::String,
6060
"Output file", "Where to save the output.",
6161
us::Any(), false);
6262
parser.addArgument(

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgAreaFromThreshold.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ int main(int argc, char* argv[]) {
9090
// Add arguments. Unless specified otherwise, each argument is optional.
9191
// See mitkCommandLineParser::addArgument() for more information.
9292
// parser.addArgument(
93-
// "input-path", "p", mitkCommandLineParser::InputFile,
93+
// "input-path", "p", mitkCommandLineParser::String,
9494
// "Input Directory Path", "Path of directory containing LGE files.",
9595
// us::Any(), false);
9696
parser.addArgument(
97-
"input", "i", mitkCommandLineParser::InputFile,
97+
"input", "i", mitkCommandLineParser::String,
9898
"Surface mesh path", "Full path of mesh vtk polydata file.",
9999
us::Any(), false);
100100
parser.addArgument(

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgClippingTool.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ int main(int argc, char* argv[]) {
9292
// Add arguments. Unless specified otherwise, each argument is optional.
9393
// See mitkCommandLineParser::addArgument() for more information.
9494
// parser.addArgument(
95-
// "input-path", "p", mitkCommandLineParser::InputFile,
95+
// "input-path", "p", mitkCommandLineParser::String,
9696
// "Input Directory Path", "Path of directory containing LGE files.",
9797
// us::Any(), false);
9898
parser.addArgument(
99-
"input-vtk", "i", mitkCommandLineParser::InputFile,
99+
"input-vtk", "i", mitkCommandLineParser::String,
100100
"segmentation (vtk) path", "Full path of segmentation.vtk file.",
101101
us::Any(), false);
102102
parser.addArgument(
103-
"output", "o", mitkCommandLineParser::OutputFile,
103+
"output", "o", mitkCommandLineParser::String,
104104
"Output file", "Where to save the output.",
105105
us::Any(), false);
106106
parser.addArgument(

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgColourSurface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ int main(int argc, char* argv[]) {
112112
// Add arguments. Unless specified otherwise, each argument is optional.
113113
// See mitkCommandLineParser::addArgument() for more information.
114114
parser.addArgument("input-segmentation", "i",
115-
mitkCommandLineParser::InputFile,"Input segmentation (.nii)",
115+
mitkCommandLineParser::String,"Input segmentation (.nii)",
116116
"Input segmentation file (commonly output of CEMRGNET)", us::Any(), false
117117
);
118118

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgFixShellApp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ int main(int argc, char* argv[]) {
8585
// Add arguments. Unless specified otherwise, each argument is optional.
8686
// See mitkCommandLineParser::addArgument() for more information.
8787
// parser.addArgument(
88-
// "input-path", "p", mitkCommandLineParser::InputFile,
88+
// "input-path", "p", mitkCommandLineParser::String,
8989
// "Input Directory Path", "Path of directory containing LGE files.",
9090
// us::Any(), false);
9191
parser.addArgument(
92-
"input-lge", "i", mitkCommandLineParser::InputFile,
92+
"input-lge", "i", mitkCommandLineParser::String,
9393
"LGE path", "Full path of LGE.nii file.",
9494
us::Any(), false);
9595
parser.addArgument(
96-
"output", "o", mitkCommandLineParser::OutputFile,
96+
"output", "o", mitkCommandLineParser::String,
9797
"Output file", "Where to save the output.",
9898
us::Any(), false);
9999
parser.addArgument( // optional

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgIM2INR.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ int main(int argc, char* argv[]) {
9292
// Add arguments. Unless specified otherwise, each argument is optional.
9393
// See mitkCommandLineParser::addArgument() for more information.
9494
// parser.addArgument(
95-
// "input-path", "p", mitkCommandLineParser::InputFile,
95+
// "input-path", "p", mitkCommandLineParser::String,
9696
// "Input Directory Path", "Path of directory containing LGE files.",
9797
// us::Any(), false);
9898
parser.addArgument(
99-
"input", "i", mitkCommandLineParser::InputFile,
99+
"input", "i", mitkCommandLineParser::String,
100100
"Input image", "Full path of image file.",
101101
us::Any(), false);
102102
parser.addArgument(

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgImageConvertFormat.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ int main(int argc, char* argv[]) {
9292
// Add arguments. Unless specified otherwise, each argument is optional.
9393
// See mitkCommandLineParser::addArgument() for more information.
9494
// parser.addArgument(
95-
// "input-path", "p", mitkCommandLineParser::InputFile,
95+
// "input-path", "p", mitkCommandLineParser::String,
9696
// "Input Directory Path", "Path of directory containing LGE files.",
9797
// us::Any(), false);
9898
parser.addArgument(
99-
"input", "i", mitkCommandLineParser::InputFile,
99+
"input", "i", mitkCommandLineParser::String,
100100
"Input image", "Full path of image file.",
101101
us::Any(), false);
102102
parser.addArgument(

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgMorphAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ int main(int argc, char* argv[]) {
5757

5858
// Add arguments. Unless specified otherwise, each argument is optional.
5959
parser.addArgument(
60-
"directory", "d", mitkCommandLineParser::InputFile,
60+
"directory", "d", mitkCommandLineParser::String,
6161
"Directory path", "Full path of directory",
6262
us::Any(), false);
6363

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgProjectLgeToVtkMesh.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ int main(int argc, char* argv[]) {
9393
// Add arguments. Unless specified otherwise, each argument is optional.
9494
// See mitkCommandLineParser::addArgument() for more information.
9595
parser.addArgument(
96-
"input-lge", "lge", mitkCommandLineParser::InputFile,
96+
"input-lge", "lge", mitkCommandLineParser::String,
9797
"LGE Image", "Full path to the .nii file with the lge score.",
9898
us::Any(), false);
9999
parser.addArgument(
100-
"input-surface", "surf", mitkCommandLineParser::InputFile,
100+
"input-surface", "surf", mitkCommandLineParser::String,
101101
"Surface Image", "Full path to the .vtk file with the surface.",
102102
us::Any(), false);
103103
parser.addArgument(
104-
"output", "o", mitkCommandLineParser::OutputFile,
104+
"output", "o", mitkCommandLineParser::String,
105105
"Output file", "Where to save the output.",
106106
us::Any(), false);
107107
parser.addArgument(

CemrgApp/Modules/CemrgAppModule/cmdapps/CemrgProjectionOptions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ int main(int argc, char* argv[]) {
8585
// Add arguments. Unless specified otherwise, each argument is optional.
8686
// See mitkCommandLineParser::addArgument() for more information.
8787
// parser.addArgument(
88-
// "input-path", "p", mitkCommandLineParser::InputFile,
88+
// "input-path", "p", mitkCommandLineParser::String,
8989
// "Input Directory Path", "Path of directory containing LGE files.",
9090
// us::Any(), false);
9191
parser.addArgument(
92-
"input-lge", "i", mitkCommandLineParser::InputFile,
92+
"input-lge", "i", mitkCommandLineParser::String,
9393
"LGE path", "Full path of LGE.nii file.",
9494
us::Any(), false);
9595
parser.addArgument( // optional

0 commit comments

Comments
 (0)