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
Container Registry
Model registry
Operate
Environments
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
Main Repositories
otb
Commits
f50ceba2
Commit
f50ceba2
authored
10 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
COMP: MSVC and MinGW - export only static member functions instead of class
parent
b2041def
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/ApplicationEngine/otbWrapperElevationParametersHandler.h
+8
-8
8 additions, 8 deletions
.../ApplicationEngine/otbWrapperElevationParametersHandler.h
Code/ApplicationEngine/otbWrapperMapProjectionParametersHandler.h
+4
-4
4 additions, 4 deletions
...licationEngine/otbWrapperMapProjectionParametersHandler.h
with
12 additions
and
12 deletions
Code/ApplicationEngine/otbWrapperElevationParametersHandler.h
+
8
−
8
View file @
f50ceba2
...
...
@@ -38,23 +38,23 @@ namespace Wrapper
*
*/
class
ITK_ABI_EXPORT
ElevationParametersHandler
class
ElevationParametersHandler
{
public:
/**
* Add a Group containing several choices for map projections
*
*/
static
void
AddElevationParameters
(
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
void
AddElevationParameters
(
Application
::
Pointer
app
,
const
std
::
string
&
key
);
/** Method for getting the value of the elevation mode selected */
static
float
GetDefaultElevation
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
const
std
::
string
GetGeoidFile
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
const
std
::
string
GetDEMDirectory
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
bool
IsGeoidUsed
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
bool
IsDEMUsed
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
float
GetDefaultElevation
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
const
std
::
string
GetGeoidFile
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
const
std
::
string
GetDEMDirectory
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
bool
IsGeoidUsed
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
bool
IsDEMUsed
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
void
SetupDEMHandlerFromElevationParameters
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
void
SetupDEMHandlerFromElevationParameters
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
protected:
ElevationParametersHandler
();
// not implemented
...
...
This diff is collapsed.
Click to expand it.
Code/ApplicationEngine/otbWrapperMapProjectionParametersHandler.h
+
4
−
4
View file @
f50ceba2
...
...
@@ -43,21 +43,21 @@ enum
* This class allow creating a Group with several mapProjection
* parameters
*/
class
ITK_ABI_EXPORT
MapProjectionParametersHandler
class
MapProjectionParametersHandler
{
public:
/**
* Add a Group containing several choices for map projections
*
*/
static
void
AddMapProjectionParameters
(
Application
::
Pointer
app
,
const
std
::
string
&
key
);
static
ITK_ABI_EXPORT
void
AddMapProjectionParameters
(
Application
::
Pointer
app
,
const
std
::
string
&
key
);
/**
* Helper method : Compute the ProjectionRef knowing the map
* projection picked up by the user
*
*/
static
const
std
::
string
GetProjectionRefFromChoice
(
const
Application
::
Pointer
app
,
static
ITK_ABI_EXPORT
const
std
::
string
GetProjectionRefFromChoice
(
const
Application
::
Pointer
app
,
const
std
::
string
&
key
);
...
...
@@ -67,7 +67,7 @@ public:
* The key must be totally if the InputImageParameter belongs
* to a ParamaterGroup, ie set io.in
*/
static
void
InitializeUTMParameters
(
Application
::
Pointer
app
,
static
ITK_ABI_EXPORT
void
InitializeUTMParameters
(
Application
::
Pointer
app
,
const
std
::
string
&
imageKey
,
const
std
::
string
&
mapKey
);
...
...
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