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
03ecfdc9
Commit
03ecfdc9
authored
11 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
ENH: improve PrintSelf method for FilterFunctionValues
parent
c186ca7d
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/UtilitiesAdapters/OssimAdapters/otbFilterFunctionValues.cxx
+16
-6
16 additions, 6 deletions
...ilitiesAdapters/OssimAdapters/otbFilterFunctionValues.cxx
with
16 additions
and
6 deletions
Code/UtilitiesAdapters/OssimAdapters/otbFilterFunctionValues.cxx
+
16
−
6
View file @
03ecfdc9
...
...
@@ -65,15 +65,25 @@ FilterFunctionValues
os
<<
indent
<<
"Maximum spectral value : "
<<
m_MaxSpectralValue
<<
std
::
endl
;
os
<<
indent
<<
"Wavelength spectral band step: "
<<
m_UserStep
<<
std
::
endl
;
os
<<
indent
<<
"Filter function values: "
<<
std
::
endl
;
os
<<
std
::
scientific
;
for
(
unsigned
int
i
=
0
;
i
<
m_FilterFunctionValues
.
size
();
++
i
)
{
os
<<
indent
<<
m_FilterFunctionValues
[
i
]
<<
std
::
endl
;
}
os
<<
indent
<<
"6S Filter function values: "
<<
std
::
endl
;
for
(
unsigned
int
i
=
0
;
i
<
m_FilterFunctionValues6S
.
size
();
++
i
)
{
os
<<
indent
<<
m_FilterFunctionValues6S
[
i
]
<<
std
::
endl
;
if
(
i
%
6
==
0
&&
i
>=
6
)
{
os
<<
std
::
endl
;
}
os
<<
indent
<<
m_FilterFunctionValues
[
i
]
;
}
os
<<
std
::
endl
;
//Default notation for floating point value can be selected by
//calling str.unsetf(ios_base::floatfield)
os
.
unsetf
(
std
::
ios_base
::
floatfield
);
// os << indent << "6S Filter function values: " << std::endl;
// for (unsigned int i = 0; i < m_FilterFunctionValues6S.size(); ++i)
// {
// os << indent << m_FilterFunctionValues6S[i] << std::endl;
// }
}
}
// end namespace otb
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