Commit 1026386a authored by remi cresson's avatar remi cresson
Browse files

ENH: output mode can be changed (raster or vector)

parent c3644e97
......@@ -72,8 +72,8 @@ private:
/* Output mode */
enum OutMode
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");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment