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
46c4479f
Commit
46c4479f
authored
15 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
TEST: add FilterWatcher to the DEM to Image test
parent
35e72311
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Testing/Code/IO/otbDEMToImageGeneratorTest.cxx
+2
-0
2 additions, 0 deletions
Testing/Code/IO/otbDEMToImageGeneratorTest.cxx
Testing/Code/IO/otbDEMToOrthoImageGeneratorTest.cxx
+2
-0
2 additions, 0 deletions
Testing/Code/IO/otbDEMToOrthoImageGeneratorTest.cxx
with
4 additions
and
0 deletions
Testing/Code/IO/otbDEMToImageGeneratorTest.cxx
+
2
−
0
View file @
46c4479f
...
...
@@ -20,6 +20,7 @@
#include
"otbDEMToImageGenerator.h"
#include
"otbImageFileWriter.h"
#include
"otbImage.h"
#include
"otbStandardFilterWatcher.h"
int
otbDEMToImageGeneratorTest
(
int
argc
,
char
*
argv
[])
{
...
...
@@ -61,6 +62,7 @@ int otbDEMToImageGeneratorTest(int argc, char * argv[])
object
->
SetOutputOrigin
(
origin
);
object
->
SetOutputSize
(
size
);
object
->
SetOutputSpacing
(
spacing
);
otb
::
StandardFilterWatcher
watcher
(
object
,
"DEM to image generator"
);
writer
->
SetFileName
(
outputName
);
writer
->
SetInput
(
object
->
GetOutput
()
);
...
...
This diff is collapsed.
Click to expand it.
Testing/Code/IO/otbDEMToOrthoImageGeneratorTest.cxx
+
2
−
0
View file @
46c4479f
...
...
@@ -21,6 +21,7 @@
#include
"otbMapProjections.h"
#include
"otbImageFileWriter.h"
#include
"otbImage.h"
#include
"otbStandardFilterWatcher.h"
int
otbDEMToOrthoImageGeneratorTest
(
int
argc
,
char
*
argv
[])
{
...
...
@@ -69,6 +70,7 @@ int otbDEMToOrthoImageGeneratorTest(int argc, char * argv[])
object
->
SetOutputSize
(
size
);
object
->
SetOutputSpacing
(
spacing
);
object
->
SetMapProjection
(
mapProj
);
otb
::
StandardFilterWatcher
watcher
(
object
,
"DEM to ortho image generator"
);
writer
->
SetFileName
(
outputName
);
writer
->
SetInput
(
object
->
GetOutput
()
);
...
...
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