|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbGDALOverviewsBuilder_h
22 #define otbGDALOverviewsBuilder_h
26 #include "itkProcessObject.h"
30 #include "otbConfigure.h"
32 #include "OTBIOGDALExport.h"
102 static bool CanGenerateOverviews(
const std::string& filename);
108 unsigned int CountResolutions(
unsigned int factor,
unsigned int size)
const;
110 unsigned int CountResolutions(
unsigned int size)
const;
112 unsigned int CountResolutions()
const;
114 void ListResolutions(
SizeVector&,
unsigned int factor,
unsigned int count);
118 unsigned int GetOverviewsCount()
const;
121 size_t GetEstimatedSize()
const;
128 void SetBypassEnabled(
bool);
130 bool IsBypassEnabled()
const;
132 unsigned int GetWidth()
const;
134 unsigned int GetHeight()
const;
146 unsigned int GetNbResolutions()
const;
148 void SetNbResolutions(
unsigned int);
150 unsigned int GetResolutionFactor()
const;
152 void SetResolutionFactor(
unsigned int);
155 const std::string& GetInputFileName()
const;
157 void SetInputFileName(
const std::string& str);
160 void Update()
override;
168 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
174 void operator=(
const Self&) =
delete;
178 void OpenDataset(
const std::string& filename);
194 #endif // otbGDALOverviewsBuilder_h
itk::SmartPointer< Self > Pointer
GDALOverviewsBuilder Self
@ GDAL_RESAMPLING_AVERAGE_MAGPHASE
@ GDAL_RESAMPLING_AVERAGE
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
GDALDatasetWrapper::Pointer m_GDALDataset
itk::SmartPointer< const Self > ConstPointer
std::vector< Size > SizeVector
@ GDAL_COMPRESSION_DEFLATE
unsigned int m_NbResolutions
GDALCompression m_CompressionMethod
GDALResampling GDALResamplingType
unsigned int m_ResolutionFactor
itk::SmartPointer< Self > Pointer
@ GDAL_COMPRESSION_PACKBITS
std::string m_InputFileName
~GDALOverviewsBuilder() override
GDALResampling m_ResamplingMethod
@ GDAL_RESAMPLING_NEAREST