13 #ifndef LTI_IMAGE_STAGE_OVERRIDES_H 14 #define LTI_IMAGE_STAGE_OVERRIDES_H 28 LTIOverrideMetadataData();
29 ~LTIOverrideMetadataData();
166 return *m_pixelProps;
171 return *m_drminPixel;
176 return *m_drmaxPixel;
181 return setPixelBPS(bps);
187 return setDynamicRange(drmin, drmax);
241 return m_backgroundPixel;
245 return m_nodataPixel;
250 if (backgroundPixel != NULL)
252 LTIPixel mergedPixel(this->getPixelProps());
254 return setBackgroundPixel(&mergedPixel);
257 return setBackgroundPixel(NULL);
262 if (nodataPixel != NULL)
264 LTIPixel mergedPixel(this->getPixelProps());
266 return setNoDataPixel(&mergedPixel);
269 return setNoDataPixel(NULL);
328 return m_geoCoordImplicit;
333 return setGeoCoord(geoCoord);
359 LT_STATUS setMagnification(
double minMag,
401 void setIsSelective(
bool enable);
412 return m_isSelective;
432 return m_stripHeight;
437 m_stripHeight = stripHeight;
459 m_progressDelegate = delegate;
464 return m_progressDelegate;
469 m_interruptDelegate = delegate;
474 return m_interruptDelegate;
512 return m_pixelLookupTable;
517 return setPixelLookupTable(pixelLookupTable);
534 #endif // LTI_IMAGE_STAGE_OVERRIDES_H
LTIInterruptDelegate * getInterruptDelegate() const
const LTIPixel & getMinDynamicRange() const
LT_STATUS overrideBackgroundPixel(const LTIPixel *backgroundPixel)
LT_STATUS overridePixelBPS(lt_uint8 bps)
lt_uint32 getWidth() const
bool isGeoCoordImplicit() const
progress delegate (callback) base class
void setProgressDelegate(LTIProgressDelegate *delegate)
This file contains a number of enums, typedefs, etc, that are used throughout the MrSID SDK...
const LTIPixel * getNoDataPixel() const
LT_STATUS overrideMetadata(const LTIMetadataDatabase &metadata)
LTIProgressDelegate * getProgressDelegate() const
const LTIMetadataDatabase & getMetadata() const
const LTIGeoCoord & getGeoCoord() const
const LTIPixel * getBackgroundPixel() const
LT_STATUS overrideGeoCoord(const LTIGeoCoord &geoCoord)
lt_uint32 LT_STATUS
An integral status code.
void setNonAlphaSampleValuesFromPixel(const LTIPixel &src)
sets all samples to minimum
const LTIPixel & getMaxDynamicRange() const
represents a geographic coordinate
LT_STATUS overridePixelLookupTable(const LTIPixelLookupTable *pixelLookupTable)
LTIInterruptDelegate * m_interruptDelegate
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
unsigned int lt_uint32
unsigned 32-bit integer
#define LT_STS_Success
status code indicating success
class for storing metadata associated with an image
lt_uint32 getHeight() const
LTIMetadataDatabase * m_metadata
const LTIPixel & getPixelProps() const
LT_STATUS overrideNoDataPixel(const LTIPixel *nodataPixel)
lt_uint32 getStripHeight() const
LT_STATUS overrideDynamicRange(const LTIPixel &drmin, const LTIPixel &drmax)
abstract class representing an image
unsigned char lt_uint8
unsigned 8-bit integer
basic properties of a pixel
LTIPixelLookupTable * m_pixelLookupTable
LTIProgressDelegate * m_progressDelegate
void setInterruptDelegate(LTIInterruptDelegate *delegate)
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
LT_STATUS createMetadata(const LTIMetadataDatabase *metadata)
double getMaxMagnification() const
double getMinMagnification() const
LTIPixel * m_backgroundPixel
interrupt delegate (callback) base class
LT_STATUS setStripHeight(lt_uint32 stripHeight)
const LTIPixelLookupTable * getPixelLookupTable() const