18 #ifndef ossimTiffTileSource_HEADER 19 #define ossimTiffTileSource_HEADER 1 33 class ossimTiffOverviewTileSource;
34 class TiffStreamAdaptor;
38 friend class TiffStreamAdaptor;
67 bool open( std::shared_ptr<ossim::istream>& str,
68 const std::string& connectionString );
158 const char* prefix=0)
const;
165 const char* prefix=0);
167 virtual bool isOpen()
const;
212 void setApplyColorPaletteFlag(
bool flag);
213 bool getApplyColorPaletteFlag()
const;
217 virtual void getPropertyNames(std::vector<ossimString>& propertyNames)
const;
218 bool isColorMapped()
const;
261 void adjustToStartOfTile(
ossimIpt& pt)
const;
276 bool loadFromRgbaU8Tile(
const ossimIrect& tile_rect,
280 bool loadFromRgbaU8Strip(
const ossimIrect& tile_rect,
284 bool loadFromRgbaU8aStrip(
const ossimIrect& tile_rect,
288 bool loadFromU16Strip(
const ossimIrect& clip_rect,
291 bool loadFromScanLine(
const ossimIrect& clip_rect,
294 bool loadFromTile(
const ossimIrect& clip_rect,
297 void setReadMethod();
312 void validateMinMaxNull();
338 bool allocateBuffer();
virtual bool open()=0
Pure virtual open.
std::vector< ossim_uint32 > theImageTileWidth
std::vector< ossim_uint32 > theOutputBandList
ossim_int32 theCompressionType
ossim_float64 theMaxSampleValue
ossim_uint32 theCurrentTiffRlevel
ossim_uint32 theCurrentTileWidth
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
std::shared_ptr< ossim::TiffIStreamAdaptor > m_streamAdaptor
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
std::vector< ossim_uint32 > theRowsPerStrip
virtual ossim_uint32 getTileHeight() const
Returns the default processing tile height.
unsigned short ossim_uint16
virtual void setProperty(ossimRefPtr< ossimProperty > property)
ossim_uint32 theCurrentTileHeight
virtual ossimString getShortName() const
ossim_uint16 theSamplesPerPixel
virtual ossim_uint32 getTileWidth() const
Returns the default processing tile width.
ossim_uint16 theNumberOfDirectories
std::vector< ossim_uint32 > theImageDirectoryList
virtual ossim_uint32 getNumberOfDecimationLevels() const
This returns the total number of decimation levels.
virtual bool isValidRLevel(ossim_uint32 resLevel) const
Determines if the passed in reslution level is valid.
ossim_uint32 theBufferRLevel
virtual bool isOpen() const =0
Derived classes must implement this method to be concrete.
virtual double getMinPixelValue(ossim_uint32 band=0) const
Retuns the min pixel value.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
virtual std::ostream & print(std::ostream &out) const
Outputs theErrorStatus as an ossimErrorCode and an ossimString.
virtual void getOutputBandList(std::vector< ossim_uint32 > &bandList) const
Initializes bandList.
ossim_float64 theNullSampleValue
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
virtual ossim_uint32 getImageTileHeight() const =0
Returns the tile width of the image or 0 if the image is not tiled.
unsigned int ossim_uint32
bool theApplyColorPaletteFlag
virtual ossimString getLongName() const
virtual void close()
Deletes the overview and clears the valid image vertices.
ossim_uint16 theBitsPerSample
ossim_uint32 theBytesPerPixel
ossim_float64 theMinSampleValue
virtual bool isBandSelector() const
Indicates whether or not the image handler can control output band selection via the setOutputBandLis...
std::vector< ossim_uint32 > theImageLength
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual ossim_uint32 getImageTileWidth() const =0
Returns the tile width of the image or 0 if the image is not tiled.
ossimScalarType theScalarType
std::vector< ossim_uint16 > thePhotometric
ossimRefPtr< ossimImageData > theTile
std::vector< ossim_uint16 > thePlanarConfig
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
This class defines an abstract Handler which all image handlers(loaders) should derive from...
std::vector< ossim_uint32 > theImageTileLength
ossim_uint16 theCurrentDirectory
ossim_uint16 theSampleFormatUnit
std::vector< ReadMethod > theReadMethod
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
std::vector< ossim_uint32 > theImageWidth
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
ossim_uint32 theBufferSize
virtual ossim_uint32 getNumberOfInputBands() const =0
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...
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
unsigned char ossim_uint8
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
std::basic_ostream< char > ostream
Base class for char output streams.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)