Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cresson Remi
LSGRM
Commits
1026386a
Commit
1026386a
authored
Oct 30, 2017
by
remi cresson
Browse files
ENH: output mode can be changed (raster or vector)
parent
c3644e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/otbLSGRM.cxx
View file @
1026386a
...
...
@@ -72,8 +72,8 @@ private:
/* Output mode */
enum
OutMode
{
OUTPUT_MODE_
RASTE
R
,
OUTPUT_MODE_
VECTO
R
OUTPUT_MODE_
VECTO
R
,
OUTPUT_MODE_
RASTE
R
};
void
DoInit
()
...
...
@@ -88,8 +88,8 @@ private:
// Outputs
AddParameter
(
ParameterType_Choice
,
"mode"
,
"output mode"
);
AddChoice
(
"mode.raster"
,
"Output is a label image"
);
AddChoice
(
"mode.vector"
,
"Output is a vector layer"
);
AddChoice
(
"mode.raster"
,
"Output is a label image"
);
AddParameter
(
ParameterType_OutputImage
,
"mode.raster.out"
,
"Ouput Label Image"
);
SetDefaultOutputPixelType
(
"mode.raster.out"
,
ImagePixelType_uint32
);
AddParameter
(
ParameterType_OutputVectorData
,
"mode.vector.out"
,
"Output vector layer"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment