Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
9d205d17
Commit
9d205d17
authored
Jul 15, 2011
by
Emmanuel Christophe
Browse files
ENH: follow otb naming, add copyright, use namespace, remove useless define and use const.
parent
c56d5fcf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Code/Simulation/
d
ataSpec
_
P5B.cxx
→
Code/Simulation/
otbD
ataSpecP5B.cxx
View file @
9d205d17
#define INDATASPEC_P5B_CXX_FILE
#include
"dataSpec_P5B.h"
/*=========================================================================
dataSpec
dataSpecP5B
[]
=
{
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include
"otbDataSpecP5B.h"
namespace
otb
{
const
dataSpec
dataSpecP5B
[]
=
{
{
400
,
1.4955
,
2.676E-02
,
2.895E-01
,
5.272E-01
,
5.800E-05
,
1.097E+02
,
5.910E-01
,
2.413E+00
,
2.377E-01
,
3.208E-02
},
{
401
,
1.4958
,
3.113E-02
,
2.796E-01
,
5.262E-01
,
5.852E-05
,
1.037E+02
,
5.980E-01
,
2.413E+00
,
2.373E-01
,
3.195E-02
},
...
...
@@ -2107,3 +2127,4 @@ dataSpec dataSpecP5B[] = {
};
}
Code/Simulation/
d
ataSpec
_
P5B.h
→
Code/Simulation/
otbD
ataSpecP5B.h
View file @
9d205d17
#ifndef __dataSpecP5B_h
#define __dataSpecP5B_h
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otbDataSpecP5B_h
#define __otbDataSpecP5B_h
namespace
otb
{
// ***********************************************************************
// dataSpec_P5.m - (february, 25th 2008)
...
...
@@ -38,10 +58,8 @@ struct dataSpec {
double
wetSoil
;
};
#define DATASPECSIZE
2101
extern
const
dataSpec
dataSpecP5B
[
2101
];
#ifndef INDATASPEC_P5B_CXX_FILE
extern
dataSpec
dataSpecP5B
[
DATASPECSIZE
];
#endif
/* INDATASPEC_P5B_CXX_FILE */
}
#endif
/* __
d
ataSpecP5B_h */
#endif
/* __
otbD
ataSpecP5B_h */
Code/Simulation/otbProspectModel.h
View file @
9d205d17
...
...
@@ -23,7 +23,7 @@
#include
"itkObjectFactory.h"
#include
"otbLeafParameters.h"
#include
"
d
ataSpec
_
P5B.h"
#include
"
otbD
ataSpecP5B.h"
#include
"otbSimulationStep1Base.h"
namespace
otb
...
...
Code/Simulation/otbSailModel.h
View file @
9d205d17
...
...
@@ -22,7 +22,7 @@
#include
"itkProcessObject.h"
#include
"itkObjectFactory.h"
#include
"otbSpectralResponse.h"
#include
"
d
ataSpec
_
P5B.h"
#include
"
otbD
ataSpecP5B.h"
#include
"otbSimulationStep2Base.h"
namespace
otb
...
...
Write
Preview
Supports
Markdown
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