19 "ossimOverviewBuilderBase",
24 static const std::string SCAN_FLOAT_DATA_KW =
"overview_builder.scan_for_min_max_null_if_float";
27 : m_overviewStopDimension(0),
31 m_originalBandList(0),
35 m_scanForMinMax(false),
36 m_scanForMinMaxNull(false),
37 m_scanFloatData(false)
39 initializePreferenceSettings();
84 std::vector<ossimString> typeList;
86 std::vector<ossimString>::const_iterator i = typeList.begin();
87 while ( i != typeList.end() )
115 largestImageDimension /= 2;
virtual bool setOutputWriter(ossimImageFileWriter *outputWriter)
Sets an optional file writer to the builder.
ossim_uint32 getRequiredResLevels(const ossimImageHandler *ih) const
Gets the required number of res levels.
ossimOverviewBuilderBase()
default constructor
bool getScanForMinMaxNull() const
Represents serializable keyword/value map.
static const ossimErrorCode OSSIM_OK
virtual bool setInputSource(ossimImageHandler *imageSource)
Sets the input to the builder.
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
OSSIM_DLL void defaultTileSize(ossimIpt &tileSize)
ossim_uint32 toUInt32() const
#define RTTI_DEF3(cls, name, b1, b2, b3)
Pure virtual base class for image file writers.
void initializePreferenceSettings()
Initializes preference settings.
virtual void getOutputBandList(std::vector< ossim_uint32 > &bandList) const
Initializes bandList.
virtual ossim_uint32 getOverviewStopDimension() const
Get the overview stop dimension.
const char * findPreference(const char *key) const
ossimKeywordlist m_bitMaskSpec
bool toBool() const
String to numeric methods.
virtual bool hasOverviewType(const ossimString &type) const
Method to check if builder can handle type.
virtual bool setOutputToInputBandList()
If the image handler "isBandSeletor()" then the band selection of the output are set to input or iden...
void initializeScanOptions()
Checks scalar type and turns on scanning for min, max, nulls if needed.
ossimRefPtr< ossimBitMaskWriter > m_maskWriter
unsigned int ossim_uint32
void setScanForMinMaxNull(bool flag)
Turn on/off scan for min, max, null flag.
ossimHistogramMode getHistogramMode() const
Gets the histogram accumulation mode.
virtual void getTypeNameList(std::vector< ossimString > &typeList) const =0
Method to populate class supported types.
virtual bool isBandSelector() const
Indicates whether or not the image handler can control output band selection via the setOutputBandLis...
static ossimPreferences * instance()
ossimRefPtr< ossimImageHandler > m_imageHandler
std::vector< ossim_uint32 > m_originalBandList
ossimHistogramMode m_histoMode
virtual void finalize()
Finalize method.
ossimRefPtr< ossimMaskFilter > m_maskFilter
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
virtual ~ossimOverviewBuilderBase()
virtual destructor
This class defines an abstract Handler which all image handlers(loaders) should derive from...
virtual ossimErrorCode getErrorStatus() const
bool getScanForMinMax() const
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
virtual void setOverviewStopDimension(ossim_uint32 dim)
Sets the overview stop dimension.
static const char * OVERVIEW_STOP_DIMENSION_KW
virtual bool setOutputBandList(const std::vector< ossim_uint32 > &band_list)
If the image handler "isBandSeletor()" then the band selection of the output chip can be controlled...
void setScanForMinMax(bool flag)
Turn on/off scan for min max flag.
void setBitMaskSpec(const ossimKeywordlist &bit_mask_spec)
Specifies parameters (in KWL) for generation of an alpha (bit) mask such that any full or partial nul...
ossim_uint32 m_overviewStopDimension
void setHistogramMode(ossimHistogramMode mode)
Sets the histogram accumulation mode.