Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
d10396c9
Commit
d10396c9
authored
13 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
DOC
parent
d5e5adba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Core/otbWrapperApplication.h
+88
-14
88 additions, 14 deletions
Code/Core/otbWrapperApplication.h
with
88 additions
and
14 deletions
Code/Core/otbWrapperApplication.h
+
88
−
14
View file @
d10396c9
...
...
@@ -26,19 +26,6 @@
#include
"otbWrapperTypes.h"
#include
"otbWrapperParameterGroup.h"
// include all parameters type for easy use when defining the application
#include
"otbWrapperChoiceParameter.h"
#include
"otbWrapperDirectoryParameter.h"
#include
"otbWrapperEmptyParameter.h"
#include
"otbWrapperFilenameParameter.h"
#include
"otbWrapperInputComplexImageParameter.h"
#include
"otbWrapperInputImageParameter.h"
#include
"otbWrapperInputVectorDataParameter.h"
#include
"otbWrapperNumericalParameter.h"
#include
"otbWrapperOutputImageParameter.h"
#include
"otbWrapperOutputVectorDataParameter.h"
#include
"otbWrapperRadiusParameter.h"
#include
"otbWrapperStringParameter.h"
namespace
otb
{
...
...
@@ -138,19 +125,106 @@ public:
/* Get the parameter type from its name */
ParameterType
GetParameterType
(
std
::
string
paramKey
)
const
;
/* Set an integer value
*
* Can be called for types :
* \li ParameterType_Int
* \li ParameterType_Float
* \li ParameterType_Radius
* \li ParameterType_Choice
*/
void
SetParameterInt
(
std
::
string
parameter
,
int
value
);
/* Set a floating value
*
* Can be called for types :
* \li ParameterType_Float
*/
void
SetParameterFloat
(
std
::
string
parameter
,
float
value
);
/* Set a string value
*
* Can be called for types :
* \li ParameterType_String
* \li ParameterType_Filename
* \li ParameterType_Directory
* \li ParameterType_Choice
* \li ParameterType_InputImageParameter
* \li ParameterType_InputComplexImageParameter
* \li ParameterType_InputVectorDataParameter
* \li ParameterType_OutputImageParameter
* \li ParameterType_OutputVectorDataParameter
*/
void
SetParameterString
(
std
::
string
parameter
,
std
::
string
value
);
/* Set an output image value
*
* Can be called for types :
* \li ParameterType_OutputImage
*/
void
SetParameterOutputImage
(
std
::
string
parameter
,
VectorImageType
*
value
);
/* Set an output vector data value
*
* Can be called for types :
* \li ParameterType_OutputVectorData
*/
void
SetParameterOutputVectorData
(
std
::
string
parameter
,
VectorDataType
*
value
);
/* Get an integer parameter value
*
* Can be called for types :
* \li ParameterType_Int
* \li ParameterType_Float
* \li ParameterType_Radius
* \li ParameterType_Choice
*/
int
GetParameterInt
(
std
::
string
parameter
);
/* Get a floating parameter value
*
* Can be called for types :
* \li ParameterType_Float
*/
float
GetParameterFloat
(
std
::
string
parameter
);
/* Get a string parameter value
*
* Can be called for types :
* \li ParameterType_String
* \li ParameterType_Filename
* \li ParameterType_Directory
* \li ParameterType_InputImage
* \li ParameterType_InputComplexImage
* \li ParameterType_InputVectorData
* \li ParameterType_OutputImage
* \li ParameterType_OutputVectorData
*/
std
::
string
GetParameterString
(
std
::
string
parameter
);
/* Get an image value
*
* Can be called for types :
* \li ParameterType_InputImage
*/
VectorImageType
*
GetParameterImage
(
std
::
string
parameter
);
/* Get a complex image value
*
* Can be called for types :
* \li ParameterType_InputComplexImage
*/
ComplexVectorImageType
*
GetParameterComplexImage
(
std
::
string
parameter
);
VectorDataType
*
GetParameterVectorData
(
std
::
string
parameter
);
/* GetParameterInt
*
* Can be called for types :
* \li ParameterType_Int
* \li ParameterType_Float
* \li ParameterType_Radius
* \li ParameterType_Choice
*/
VectorDataType
*
GetParameterVectorData
(
std
::
string
parameter
);
protected:
/** Constructor */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment