Skip to content
Snippets Groups Projects
Commit fdf9d752 authored by Julien Michel's avatar Julien Michel
Browse files

TEST: (Visu Refactoring) Updating tests following class update.

parent a6e59f86
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,7 @@ int otbImageLayerScalar( int argc, char * argv[] )
layer->SetImage(reader->GetOutput());
layer->SetHasExtract(true);
layer->SetHasScaledExtract(true);
layer->AutoMinMaxOff();
RenderingFunctionType::Pointer function = RenderingFunctionType::New();
function->SetMinimum(min);
function->SetMaximum(max);
......
......@@ -78,6 +78,7 @@ int otbImageLayerVector( int argc, char * argv[] )
layer->SetImage(reader->GetOutput());
layer->SetHasExtract(true);
layer->SetHasScaledExtract(true);
layer->AutoMinMaxOff();
RenderingFunctionType::Pointer function = RenderingFunctionType::New();
function->SetMinimum(min);
function->SetMaximum(max);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment