Skip to content
Snippets Groups Projects
Commit d10026e9 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : forgot to turn the HasExtract flag to true, remove trace

parent bab498e7
No related branches found
No related tags found
No related merge requests found
......@@ -104,12 +104,13 @@ ImageLayer<TImage,TOutputImage>
{
itk::TimeProbe probe;
probe.Start();
std::cout<<"Extent: "<<this->GetExtent()<<" Largest: "<<m_Image->GetLargestPossibleRegion()<<" ExtractRegion: "<<this->GetExtractRegion()<<std::endl;
//std::cout<<"Extent: "<<this->GetExtent()<<" Largest: "<<m_Image->GetLargestPossibleRegion()<<" ExtractRegion: "<<this->GetExtractRegion()<<std::endl;
m_ExtractRenderingFilter->GetOutput()->SetRequestedRegion(this->GetExtractRegion());
m_ExtractRenderingFilter->Update();
this->SetRenderedExtract(m_ExtractRenderingFilter->GetOutput());
probe.Stop();
otbMsgDevMacro(<<"ImageLayer::RenderImages():"<<" ("<<this->GetName()<<")"<< " extract regenerated ("<<probe.GetMeanTime()<<" s.)");
this->SetHasExtract(true);
}
else
{
......
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