30 static ossimTrace traceDebug(
"ossimImageDataFactory:debug");
70 bands = (bands>0)?bands:1;
76 <<
"ossimImageDataFactory::create DEBUG:" 79 <<
"\nbands: " << bands
80 <<
"\nwidth: " << width
81 <<
"\nheight: " << height
163 bands = bands > 0?bands:1;
164 width = width > 0?width:tileSize.
x;
165 height = height > 0?height:tileSize.
y;
171 <<
"ossimImageDataFactory::create DEBUG:" 174 <<
"\nbands: " << bands
175 <<
"\nwidth: " << width
176 <<
"\nheight: " << height
249 result =
create(owner, scalar, bands, width, height);
250 if ( result.
valid() )
263 <<
"ossimImageDataFactory::create ERROR:" 264 <<
"\nNULL input source!" << std::endl;
284 result =
create(owner, scalar, bands, width, height);
285 if ( result.
valid() )
298 <<
"ossimImageDataFactory::create ERROR:" 299 <<
"\nNULL input source!" << std::endl;
16 bit unsigned integer (15 bits used)
virtual ~ossimImageDataFactory()
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
virtual ossimString getEntryString(ossim_int32 entry_number) const
virtual ossim_uint32 getTileHeight() const
Returns the default processing tile height.
OSSIM_DLL void defaultTileSize(ossimIpt &tileSize)
16 bit unsigned integer (14 bits used)
virtual ossimString getClassName() const
16 bit unsigned integer (13 bits used)
virtual ossim_uint32 getTileWidth() const
Returns the default processing tile width.
virtual double getMinPixelValue(ossim_uint32 band=0) const
Returns the min pixel of the band.
static ossimScalarTypeLut * instance()
Returns the static instance of an ossimScalarTypeLut object.
virtual void setNullPix(ossim_float64 null_pix)
static ossimImageDataFactory * instance()
static std::mutex theInstanceMutex
unsigned int ossim_uint32
virtual ossimRefPtr< ossimImageData > create(ossimSource *owner, ossimScalarType scalar, ossim_uint32 bands=1) const
static ossimImageDataFactory * theInstance
16 bit unsigned integer (11 bits used)
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
virtual void setMaxPix(ossim_float64 max_pix)
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
virtual void setMinPix(ossim_float64 min_pix)
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
16 bit unsigned integer (12 bits used)