OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimTiffTileSource.h>
Public Types | |
enum | ReadMethod { UNKNOWN, READ_RGBA_U8_TILE, READ_RGBA_U8_STRIP, READ_RGBA_U8A_STRIP, READ_SCAN_LINE, READ_TILE, READ_U16_STRIP } |
![]() | |
enum | ossimImageHandlerOverviewCompressionType { OSSIM_OVERVIEW_COMPRESSION_NONE = 0, OSSIM_OVERVIEW_COMPRESSION_JPEG, OSSIM_OVERVIEW_COMPRESSION_LZW, OSSIM_OVERVIEW_COMPRESSION_DEFLATE, OSSIM_OVERVIEW_COMPRESSION_PACKBITS } |
![]() | |
enum | ossimConnectableObjectDirectionType { CONNECTABLE_DIRECTION_NONE = 0, CONNECTABLE_DIRECTION_INPUT = 1, CONNECTABLE_DIRECTION_OUTPUT = 2 } |
typedef std::vector< ossimRefPtr< ossimConnectableObject > > | ConnectableObjectList |
Public Member Functions | |
ossimTiffTileSource () | |
virtual ossimString | getLongName () const |
virtual ossimString | getShortName () const |
virtual bool | open (const ossimFilename &image_file) |
Returns true if the image_file can be opened and is a valid tiff file. More... | |
bool | open (std::shared_ptr< ossim::istream > &str, const std::string &connectionString) |
This open takes a stream and stores/captures the shared pointer on success. More... | |
virtual void | close () |
Deletes the overview and clears the valid image vertices. More... | |
virtual ossimRefPtr< ossimImageData > | getTile (const ossimIrect &rect, ossim_uint32 resLevel=0) |
Returns a pointer to a tile given an origin representing the upper left corner of the tile to grab from the image. More... | |
virtual bool | getTile (ossimImageData *result, ossim_uint32 resLevel=0) |
Method to get a tile. More... | |
virtual ossim_uint32 | getNumberOfInputBands () const |
Returns the number of bands in the image. More... | |
virtual ossim_uint32 | getNumberOfOutputBands () const |
Returns the number of bands in a tile returned from this TileSource. More... | |
virtual bool | isBandSelector () const |
Indicates whether or not the image handler can control output band selection via the setOutputBandList method. More... | |
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. More... | |
virtual void | getOutputBandList (std::vector< ossim_uint32 > &bandList) const |
Initializes bandList to the zero based order of output bands. More... | |
virtual ossim_uint32 | getNumberOfLines (ossim_uint32 resLevel=0) const |
Returns the number of lines in the image. More... | |
virtual ossim_uint32 | getNumberOfSamples (ossim_uint32 resLevel=0) const |
Returns the number of samples in the image. More... | |
virtual ossim_uint32 | getNumberOfDirectories () const |
Returns the number of image file directories in the tiff image. More... | |
virtual ossim_uint32 | getNumberOfDecimationLevels () const |
Returns the number of reduced resolution data sets (rrds). More... | |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
Method to save the state of an object to a keyword list. More... | |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
Method to the load (recreate) the state of an object from a keyword list. More... | |
virtual bool | isOpen () const |
Derived classes must implement this method to be concrete. More... | |
virtual ossimScalarType | getOutputScalarType () const |
Returns the output pixel type of the tile source. More... | |
virtual ossim_uint32 | getTileWidth () const |
Returns the width of the output tile. More... | |
virtual ossim_uint32 | getTileHeight () const |
Returns the height of the output tile. More... | |
bool | hasR0 () const |
Returns true if the first directory of the tiff image did not have the reduced resolution file type set. More... | |
virtual ossim_float64 | getMinPixelValue (ossim_uint32 band=0) const |
Retuns the min pixel value. More... | |
virtual ossim_float64 | getMaxPixelValue (ossim_uint32 band=0) const |
Returns the max pixel of the band. More... | |
virtual ossim_float64 | getNullPixelValue (ossim_uint32 band=0) const |
Each band has a null pixel associated with it. More... | |
virtual bool | isValidRLevel (ossim_uint32 resLevel) const |
Determines if the passed in reslution level is valid. More... | |
virtual ossim_uint32 | getImageTileWidth () const |
virtual ossim_uint32 | getImageTileHeight () const |
void | setApplyColorPaletteFlag (bool flag) |
bool | getApplyColorPaletteFlag () const |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
bool | isColorMapped () const |
virtual std::ostream & | print (std::ostream &os) const |
Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
TIFF * | tiffPtr () |
![]() | |
ossimImageHandler () | |
Constructor (default): More... | |
virtual | ~ossimImageHandler () |
Destructor: Derived classes should implement. More... | |
virtual void | initialize () |
initialize Does nothing in this class. More... | |
virtual bool | openOverview () |
Searches for an overview. More... | |
virtual bool | openOverview (const ossimFilename &overview_file) |
Calls closeOverview(), then attempts to open the overview_file. More... | |
virtual void | closeOverview () |
If theOverview is initialized it will be deleted and set to NULL. More... | |
virtual const ossimImageHandler * | getOverview () const |
virtual bool | hasOverviews () const |
virtual ossimFilename | createDefaultOverviewFilename () const |
virtual ossimFilename | createDefaultGeometryFilename () const |
virtual ossimFilename | createDefaultMetadataFilename () const |
virtual ossimFilename | createDefaultHistogramFilename () const |
virtual ossimFilename | createDefaultValidVerticesFilename () const |
virtual bool | writeValidImageVertices (const std::vector< ossimIpt > &vertices, const ossimFilename &file=ossimFilename("")) |
Outputs vertices to file and updates the internal vertex array variable "theValidImageVertices". More... | |
virtual bool | openValidVertices (const ossimFilename &vertices_file) |
Opens the valid image vertices file and sets theValidImageVerticesFile variable. More... | |
virtual bool | openValidVertices () |
Creates vertices file name based on image, then tries to open. More... | |
virtual bool | open (const ossimFilename &imageFile, ossim_uint32 entryIndex) |
Opens the image file. More... | |
virtual bool | open (std::shared_ptr< ossim::ImageHandlerState > state) |
virtual bool | buildHistogram (int numberOfRLevels=0, ossimHistogramMode mode=OSSIM_HISTO_MODE_NORMAL) |
Build a histogram for image file. More... | |
virtual bool | buildAllHistograms (int numberOfRLevels=0, ossimHistogramMode mode=OSSIM_HISTO_MODE_NORMAL) |
Build a histograms for all image entries. More... | |
virtual bool | buildOverview (ossimImageHandlerOverviewCompressionType compressionType=OSSIM_OVERVIEW_COMPRESSION_NONE, ossim_uint32 quality=75, ossimFilterResampler::ossimFilterResamplerType resampleType=ossimFilterResampler::ossimFilterResampler_BOX, bool includeFullResFlag=false) |
Will build over file for theImageFile. More... | |
virtual bool | buildAllOverviews (ossimImageHandlerOverviewCompressionType compressionType=OSSIM_OVERVIEW_COMPRESSION_NONE, ossim_uint32 quality=75, ossimFilterResampler::ossimFilterResamplerType resampleType=ossimFilterResampler::ossimFilterResampler_BOX, bool includeFullResFlag=false) |
Will build over file for all image entries. More... | |
virtual bool | buildOverview (const ossimFilename &filename, ossimImageHandlerOverviewCompressionType compressionType=OSSIM_OVERVIEW_COMPRESSION_NONE, ossim_uint32 quality=75, ossimFilterResampler::ossimFilterResamplerType resampleType=ossimFilterResampler::ossimFilterResampler_BOX, bool includeFullResFlag=false) |
Will build an over file for filename. More... | |
ossimRefPtr< ossimMultiResLevelHistogram > | getImageHistogram () const |
Fetches the current entry image's histogram. More... | |
virtual ossimRefPtr< ossimImageGeometry > | getImageGeometry () |
Returns the image geometry object associated with this tile source or NULL if non defined. More... | |
virtual void | setImageGeometry (ossimImageGeometry *geom) |
Sets the image geometry object. More... | |
virtual void | saveImageGeometry () const |
Saves the image geometry to a file that will be made based on the image file name. More... | |
virtual void | saveImageGeometry (const ossimFilename &geometry_file) const |
Saves the image geometry to a file that will be made based on the image file name. More... | |
virtual ossimIrect | getImageRectangle (ossim_uint32 resLevel=0) const |
Returns zero-based bounding rectangle of the image. More... | |
virtual ossimIrect | getBoundingRect (ossim_uint32 resLevel=0) const |
Returns zero-based bounding rectangle of the image. More... | |
virtual void | getDecimationFactor (ossim_uint32 resLevel, ossimDpt &result) const |
virtual void | getDecimationFactors (vector< ossimDpt > &decimations) const |
This returns all decimation for all levels. More... | |
virtual ossim_uint32 | getNumberOfReducedResSets () const |
This method is obsolete. More... | |
virtual void | setFilename (const ossimFilename &filename) |
Sets the filename. More... | |
virtual const ossimFilename & | getFilename () const |
Returns the filename. More... | |
bool | canConnectMyInputTo (ossim_int32 inputIndex, const ossimConnectableObject *object) const |
Connection rule. More... | |
virtual void | getValidImageVertices (vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const |
ordering specifies how the vertices should be arranged. More... | |
virtual bool | setOutputToInputBandList () |
If the image handler "isBandSeletor()" then the band selection of the output are set to input or identity. More... | |
virtual bool | isIdentityBandList (const std::vector< ossim_uint32 > &bandList) const |
Convenience method to see if band list is identity. More... | |
virtual bool | isImageTiled () const |
Indicates whether or not the image is tiled internally. More... | |
virtual bool | hasMetaData () const |
virtual ossimRefPtr< ossimNBandLutDataObject > | getLut () const |
virtual bool | hasLut () const |
virtual void | loadMetaData () |
There is an external file with an omd extension. More... | |
virtual void | setMinPixelValue (ossim_uint32 band, const ossim_float64 &pix) |
convenience method to set min pixel value. More... | |
virtual void | setMaxPixelValue (ossim_uint32 band, const ossim_float64 &pix) |
convenience method to set max pixel value. More... | |
virtual void | setNullPixelValue (ossim_uint32 band, const ossim_float64 &pix) |
convenience method to set null pixel value. More... | |
virtual ossim_uint32 | getCurrentEntry () const |
virtual ossim_uint32 | getNumberOfEntries () const |
virtual void | getEntryName (ossim_uint32 entryIdx, std::string &name) const |
Get the name of entry as a string. More... | |
virtual void | getEntryList (std::vector< ossim_uint32 > &entryList) const |
virtual void | getEntryNames (std::vector< ossimString > &entryNames) const |
bool | useEntryIndex () const |
Convenience method to determine if entry index should be used for support files, e.g. More... | |
ossimFilename | getOverviewFile () const |
virtual bool | setCurrentEntry (ossim_uint32 entryIdx) |
ossimFilename | getFilenameWithThisExtension (const ossimString &ext, bool set_e0_prefix=false) const |
Returns the image file with extension set using supplentary directory for dirname if set. More... | |
void | getFilenameWithThisExt (const ossimString &ext, ossimFilename &f) const |
Returns the image file with extension set using supplentary directory for dirname if set. More... | |
ossim_uint32 | getStartingResLevel () const |
void | setStartingResLevel (ossim_uint32 level) |
bool | getOpenOverviewFlag () const |
void | setOpenOverviewFlag (bool flag) |
Sets theOpenOverviewFlag. More... | |
virtual void | setSupplementaryDirectory (const ossimFilename &dir) |
Sets the supplementary directory. More... | |
virtual const ossimFilename & | getSupplementaryDirectory () const |
Returns the supplementary directory. More... | |
const ossimString & | getImageID () const |
Fetches the image ID. More... | |
void | setImageID (const ossimString &id) |
Sets the image ID in case it is externally generated. More... | |
ossimPixelType | getPixelType () const |
Returns the raster pixel alignment type. More... | |
virtual bool | getRgbBandList (std::vector< ossim_uint32 > &bandList) const |
Convenience method to get the zero based rgb output band list. More... | |
template<class T > | |
std::shared_ptr< T > | getStateAs () |
template<class T > | |
std::shared_ptr< const T > | getStateAs () const |
std::shared_ptr< ossim::ImageHandlerState > | getState () |
std::shared_ptr< const ossim::ImageHandlerState > | getState () const |
void | setState (std::shared_ptr< ossim::ImageHandlerState > state) |
![]() | |
ossimImageSource (ossimObject *owner=0) | |
ossimImageSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true) | |
virtual | ~ossimImageSource () |
virtual ossimRefPtr< ossimImageData > | getTile (const ossimIpt &origin, ossim_uint32 resLevel=0) |
virtual ossimObject * | getObject () |
For RTTI support. More... | |
virtual const ossimObject * | getObject () const |
For RTTI support. More... | |
virtual void | getDecimationFactors (std::vector< ossimDpt > &decimations) const |
Will return an array of all decimations for each resolution level. More... | |
virtual void | getBoundingRect (ossimIrect &rect, ossim_uint32 resLevel=0) const |
Gets the bounding rectangle of the source. More... | |
virtual void | getValidImageVertices (std::vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const |
ordering specifies how the vertices should be arranged. More... | |
virtual void | setImageGeometry (const ossimImageGeometry *geom) |
Default implementation sets geometry of the first input to the geometry specified. More... | |
virtual bool | isIndexedData () const |
![]() | |
ossimSource (ossimObject *owner=0) | |
ossimSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true) | |
virtual | ~ossimSource () |
virtual bool | isSourceEnabled () const |
virtual void | enableSource () |
virtual void | disableSource () |
virtual bool | getEnableFlag () const |
virtual void | setEnableFlag (bool flag) |
virtual bool | isInitialized () const |
virtual void | setInitializedFlag (bool flag) |
![]() | |
ossimConnectableObject (ossimObject *owner=0) | |
Base constructor of this object. More... | |
ossimConnectableObject (ossimObject *owner, ossim_int32 inputListSize, ossim_int32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true) | |
virtual | ~ossimConnectableObject () |
void | setId (const ossimId &id) |
All connectable objects will have id's. More... | |
const ossimId & | getId () const |
Will allow us to get this object's id. More... | |
const ossimObject * | getOwner () const |
Fetches the current owner, most likely a container but not limited to one. More... | |
virtual void | changeOwner (ossimObject *owner) |
Permits changing the object's owner. More... | |
virtual void | setDescription (const ossimString &description) |
virtual ossimString | getDescription () const |
virtual bool | isConnected (ossimConnectableObjectDirectionType direction=CONNECTABLE_DIRECTION_INPUT) const |
will check the direction specified to see if all slots are full. More... | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findConnectableObject(const ossimId &id)) | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(RTTItypeid typeId, ossimConnectableObjectDirectionType directionType, bool recurse=true)) | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(const ossimString &obj, ossimConnectableObjectDirectionType directionType, bool recurse=true)) | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findInputObjectOfType(const ossimString &className)) | |
virtual ossim_int32 | findInputIndex (const ossimConnectableObject *object) |
Return a valid index of the input list if the passed in object is found else return -1. More... | |
virtual ossim_int32 | findInputIndex (const ossimId &id) |
Return a valid index of the input list if the passed id is found else return -1. More... | |
virtual ossim_int32 | findOutputIndex (const ossimConnectableObject *object) |
Return a valid index of the output list if the passed in object is found else return -1. More... | |
virtual ossim_int32 | findOutputIndex (const ossimId &id) |
Return a valid index of the output list if the passed in object is found else return -1. More... | |
virtual ossim_int32 | getMyInputIndexToConnectTo (ossimConnectableObject *object) const |
Should return the first available index to connect to. More... | |
virtual ossim_int32 | getMyOutputIndexToConnectTo (ossimConnectableObject *object) const |
Should return the first available index to connect to. More... | |
virtual bool | canConnectMyOutputTo (ossim_int32 myOutputIndex, const ossimConnectableObject *object) const |
default implementation is to allow anyone to connect to us. More... | |
virtual void | disconnect (ossimConnectableObject *object=0) |
Will disconnect the object passed in. More... | |
virtual void | disconnect (const ossimId &id) |
Will disconnect the object passed in. More... | |
virtual ossimRefPtr< ossimConnectableObject > | disconnectMyInput (ossim_int32 inputIndex, bool disconnectOutputFlag=true, bool createEventFlag=true) |
Will disconnect the object at the given input index and generate a connection event. More... | |
virtual void | disconnectMyInput (ossimConnectableObject *input, bool disconnectOutputFlag=true, bool createEventFlag=true) |
Finds the index of the passed in input and calls disconnectMyInput(inputIndex, disconnectOutputFlag, createEventFlag);. More... | |
virtual void | disconnectMyInputs (ConnectableObjectList &inputList, bool disconnectOutputFlag=true, bool createEventFlag=true) |
virtual ossimRefPtr< ossimConnectableObject > | disconnectMyOutput (ossim_int32 outputIndex, bool disconnectInputFlag=true, bool createEventFlag=true) |
Will disconnect the object at the given output index and generate a connection event. More... | |
virtual void | disconnectMyOutput (ossimConnectableObject *output, bool disconnectInputFlag=true, bool createEventFlag=true) |
Will disconnect the output object. More... | |
virtual void | disconnectMyOutputs (ConnectableObjectList &outputList, bool disconnectOutputFlag=true, bool createEventFlag=true) |
virtual void | disconnectAllInputs () |
Will disconnect all of the input objects. More... | |
virtual void | disconnectAllOutputs () |
Will disconnect all of the output objects. More... | |
virtual ossim_int32 | connectMyInputTo (ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true) |
Will try to connect this objects input to the passed in object. More... | |
virtual ossim_int32 | connectMyInputTo (ossim_int32 inputIndex, ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true) |
Will connect the specified input to the passed in object. More... | |
virtual bool | connectMyInputTo (ConnectableObjectList &inputList, bool makeOutputConnection=true, bool createEventFlag=true) |
virtual ossim_int32 | connectMyOutputTo (ossimConnectableObject *outputObject, bool makeInputConnection=true, bool createEventFlag=true) |
Will try to connect this objects output to the passed in object. More... | |
virtual bool | connectMyOutputTo (ConnectableObjectList &outputList, bool makeInputConnection=true, bool createEventFlag=true) |
virtual bool | connectInputList (ConnectableObjectList &inputList) |
Will disconnect itself from all inputs and reset to the passed in input list. More... | |
virtual bool | connectOutputList (ConnectableObjectList &outputList) |
Will disconnect itself from all outputs and reset to the passed in output list. More... | |
virtual ossim_uint32 | getNumberOfInputs () const |
Returns the number of input objects. More... | |
virtual ossim_uint32 | getNumberOfOutputs () const |
Return the number of output objects. More... | |
ossimConnectableObject * | getInput (ossim_uint32 index=0) |
returns the object at the specified index. More... | |
const ossimConnectableObject * | getInput (ossim_uint32 index=0) const |
returns the object at the specified index. More... | |
ossimConnectableObject * | getOutput (ossim_uint32 index=0) |
returns the object at the specified index. More... | |
const ossimConnectableObject * | getOutput (ossim_uint32 index=0) const |
returns the object at the specified index. More... | |
virtual void | setNumberOfInputs (ossim_int32 numberOfInputs) |
Will set the number of inputs. More... | |
virtual bool | getInputListIsFixedFlag () const |
virtual bool | getOutputListIsFixedFlag () const |
virtual void | setNumberOfOutputs (ossim_int32 numberOfInputs) |
Will set the number of outputs. More... | |
const ConnectableObjectList & | getInputList () const |
const ConnectableObjectList & | getOutputList () const |
ConnectableObjectList & | getInputList () |
ConnectableObjectList & | getOutputList () |
OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const RTTItypeid &typeInfo, bool recurse=true)) | |
OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const ossimString &className, bool recurse=true)) | |
virtual void | propagateEventToOutputs (ossimEvent &event) |
virtual void | propagateEventToInputs (ossimEvent &event) |
virtual void | setProperty (const ossimString &name, const ossimString &value) |
virtual ossim_uint32 | saveStateOfAllInputs (ossimKeywordlist &kwl, bool saveThisStateFlag=true, ossim_uint32 objectIndex=1, const char *prefix=0) const |
Save the state of all inputs to a keyword list. More... | |
virtual bool | fillContainer (ossimConnectableContainer &container) |
Inserts this object and all of its children and inputs into the container provided. More... | |
bool | moveInputUp (const ossimId &id) |
Moves the input connection matching id up one in the connection list. More... | |
bool | moveInputDown (const ossimId &id) |
Moves the input connection matching id down one in the connection list. More... | |
bool | moveInputToTop (const ossimId &id) |
Moves the input connection matching id to the top of the connection list. More... | |
bool | moveInputToBottom (const ossimId &id) |
Moves the input connection matching id to the bottom of the connection list. More... | |
virtual void | accept (ossimVisitor &visitor) |
We will add a visitor interface for all connectable objects. More... | |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
![]() | |
ossimListenerManager () | |
virtual | ~ossimListenerManager () |
virtual void | fireEvent (ossimEvent &event) |
virtual bool | addListener (ossimListener *listener) |
virtual bool | removeListener (ossimListener *listener) |
virtual bool | findListener (ossimListener *listener) |
![]() | |
ossimPropertyInterface () | |
virtual | ~ossimPropertyInterface () |
virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
![]() | |
ossimErrorStatusInterface () | |
virtual | ~ossimErrorStatusInterface () |
virtual ossimErrorCode | getErrorStatus () const |
virtual ossimString | getErrorStatusString () const |
virtual void | setErrorStatus (ossimErrorCode error_status) const |
virtual void | setErrorStatus () const |
virtual void | clearErrorStatus () const |
bool | hasError () const |
Protected Member Functions | |
virtual | ~ossimTiffTileSource () |
bool | open () |
Returns true if no errors initializing object. More... | |
![]() | |
virtual ossimRefPtr< ossimImageGeometry > | getExternalImageGeometry () const |
Returns the image geometry object associated with this tile source or NULL if non defined. More... | |
virtual ossimRefPtr< ossimImageGeometry > | getInternalImageGeometry () const |
virtual bool | getOverviewTile (ossim_uint32 resLevel, ossimImageData *result) |
Method to get an overview tile. More... | |
bool | initVertices (const char *file) |
Opens file and attempts to initialize the valid image vertices. More... | |
virtual void | completeOpen () |
Will complete the opening process. More... | |
void | initImageParameters (ossimImageGeometry *geom) const |
Convenience method to set things needed in the image geometry from the image handler. More... | |
virtual void | establishDecimationFactors () |
Virtual method determines the decimation factors at each resolution level. More... | |
virtual bool | setOutputBandList (const std::vector< ossim_uint32 > &inBandList, std::vector< ossim_uint32 > &outBandList) |
Convenience method to set output band list. More... | |
void | getFilenameWithNoExtension (ossimFilename &f) const |
Get filename with no extension, using supplentary directory for dirname if set. More... | |
![]() | |
ossimImageSource (const ossimImageSource &rhs) | |
const ossimImageSource & | operator= (const ossimImageSource &) |
![]() | |
ossimSource (const ossimSource &rhs) | |
const ossimSource & | operator= (const ossimSource &rhs) |
![]() | |
ossimConnectableObject * | findObjectOfType (ConnectableObjectList *connectableList, ossimVisitor &visitor) |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
ossimListenerManager (const ossimListenerManager &rhs) | |
Private Member Functions | |
void | adjustToStartOfTile (ossimIpt &pt) const |
Adjust point to even tile boundary. More... | |
ossim_uint32 | getCurrentTiffRLevel () const |
If the tiff source has R0 then this returns the current tiff directory that the tiff pointer is pointing to; else, it returns the current directory + 1. More... | |
ossimString | getReadMethod (ossim_uint32 directory) const |
bool | loadTile (const ossimIrect &tile_rect, const ossimIrect &clip_rect, ossimImageData *result) |
bool | loadFromRgbaU8Tile (const ossimIrect &tile_rect, const ossimIrect &clip_rect, ossimImageData *result) |
bool | loadFromRgbaU8Strip (const ossimIrect &tile_rect, const ossimIrect &clip_rect, ossimImageData *result) |
bool | loadFromRgbaU8aStrip (const ossimIrect &tile_rect, const ossimIrect &clip_rect, ossimImageData *result) |
bool | loadFromU16Strip (const ossimIrect &clip_rect, ossimImageData *result) |
bool | loadFromScanLine (const ossimIrect &clip_rect, ossimImageData *result) |
bool | loadFromTile (const ossimIrect &clip_rect, ossimImageData *result) |
void | setReadMethod () |
bool | setTiffDirectory (ossim_uint16 directory) |
Change tiff directory and sets theCurrentDirectory. More... | |
void | populateLut () |
void | validateMinMaxNull () |
validateMinMaxNull Checks min, max and null to make sure they are not equal to the scalar type nan or double nan; sets to default min max if so. More... | |
bool | isPowerOfTwoDecimation (ossim_uint32 dir) const |
Checks line/samples of level for power of two decimation from the previous rlevel. More... | |
void | allocateTile () |
Allocates theTile. More... | |
bool | allocateBuffer () |
Allocates theBuffer. More... | |
Friends | |
class | TiffStreamAdaptor |
Definition at line 35 of file ossimTiffTileSource.h.
Enumerator | |
---|---|
UNKNOWN | |
READ_RGBA_U8_TILE | |
READ_RGBA_U8_STRIP | |
READ_RGBA_U8A_STRIP | |
READ_SCAN_LINE | |
READ_TILE | |
READ_U16_STRIP |
Definition at line 39 of file ossimTiffTileSource.h.
ossimTiffTileSource::ossimTiffTileSource | ( | ) |
Definition at line 68 of file ossimTiffTileSource.cpp.
|
protectedvirtual |
Definition at line 105 of file ossimTiffTileSource.cpp.
References close().
|
private |
Adjust point to even tile boundary.
Assumes 0,0 origin. Shifts in the upper left direction.
Definition at line 1865 of file ossimTiffTileSource.cpp.
References abs, theCurrentDirectory, theImageTileLength, theImageTileWidth, ossimIpt::x, and ossimIpt::y.
Referenced by loadFromRgbaU8Tile(), and loadFromTile().
|
private |
Allocates theBuffer.
Definition at line 2604 of file ossimTiffTileSource.cpp.
References ossimNotify(), ossimNotifyLevel_WARN, print(), READ_RGBA_U8_STRIP, READ_RGBA_U8_TILE, READ_RGBA_U8A_STRIP, READ_SCAN_LINE, READ_TILE, READ_U16_STRIP, theBytesPerPixel, theCurrentDirectory, theCurrentTileHeight, theImageTileLength, theImageTileWidth, theImageWidth, thePlanarConfig, theReadMethod, theRowsPerStrip, and theSamplesPerPixel.
Referenced by getTile(), and loadTile().
|
private |
Allocates theTile.
Definition at line 2577 of file ossimTiffTileSource.cpp.
References ossimImageDataFactory::create(), ossimImageData::getHeight(), getNumberOfOutputBands(), getOutputScalarType(), ossimImageData::getWidth(), ossimImageData::initialize(), ossimImageDataFactory::instance(), theCurrentTileHeight, theCurrentTileWidth, theOutputBandList, theTile, and ossimRefPtr< T >::valid().
Referenced by getTile().
|
virtual |
Deletes the overview and clears the valid image vertices.
Derived classes should implement.
Reimplemented from ossimImageHandler.
Reimplemented in ossimplugins::ossimTerraSarTiffReader, and ossimplugins::ossimRadarSat2TiffReader.
Definition at line 366 of file ossimTiffTileSource.cpp.
References ossimImageHandler::close(), m_streamAdaptor, theBuffer, theBufferSize, theImageLength, theImageTileLength, theImageTileWidth, theImageWidth, thePhotometric, thePlanarConfig, theReadMethod, theRowsPerStrip, and theTiffPtr.
Referenced by ossimplugins::ossimRadarSat2TiffReader::close(), ossimplugins::ossimTerraSarTiffReader::close(), open(), and ~ossimTiffTileSource().
bool ossimTiffTileSource::getApplyColorPaletteFlag | ( | ) | const |
Definition at line 2037 of file ossimTiffTileSource.cpp.
References theApplyColorPaletteFlag.
|
private |
If the tiff source has R0 then this returns the current tiff directory that the tiff pointer is pointing to; else, it returns the current directory + 1.
Definition at line 1918 of file ossimTiffTileSource.cpp.
References theCurrentTiffRlevel.
Referenced by getTile(), and loadFromScanLine().
|
virtual |
Implements ossimImageHandler.
Definition at line 1972 of file ossimTiffTileSource.cpp.
References isOpen(), theCurrentDirectory, and theImageTileLength.
Referenced by getTileHeight().
|
virtual |
Implements ossimImageHandler.
Definition at line 1959 of file ossimTiffTileSource.cpp.
References isOpen(), theCurrentDirectory, and theImageTileWidth.
Referenced by getTileWidth().
|
virtual |
Reimplemented from ossimObject.
Reimplemented in ossimplugins::ossimRadarSat2TiffReader, and ossimplugins::ossimTerraSarTiffReader.
Definition at line 2042 of file ossimTiffTileSource.cpp.
|
virtual |
Returns the max pixel of the band.
Reimplemented from ossimImageHandler.
Definition at line 2196 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getMaxPixelValue(), ossimImageMetaData::getNumberOfBands(), theMaxSampleValue, and ossimImageHandler::theMetaData.
|
virtual |
Retuns the min pixel value.
If there was an external eta data file then use the meta data from that file. If not given then we will return the default min
Reimplemented from ossimImageHandler.
Definition at line 2187 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getMinPixelValue(), ossimImageMetaData::getNumberOfBands(), ossimImageHandler::theMetaData, and theMinSampleValue.
|
virtual |
Each band has a null pixel associated with it.
The null pixel represents an invalid value.
Reimplemented from ossimImageHandler.
Definition at line 2205 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getNullPixelValue(), ossimImageMetaData::getNumberOfBands(), ossimImageHandler::theMetaData, and theNullSampleValue.
|
virtual |
Returns the number of reduced resolution data sets (rrds).
Notes:
Reimplemented from ossimImageHandler.
Definition at line 1004 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getNumberOfDecimationLevels(), theImageDirectoryList, ossimImageHandler::theOverview, theR0isFullRes, ossimImageHandler::theStartingResLevel, and ossimRefPtr< T >::valid().
Referenced by isValidRLevel().
|
virtual |
Returns the number of image file directories in the tiff image.
Definition at line 1954 of file ossimTiffTileSource.cpp.
References theNumberOfDirectories.
|
virtual |
Returns the number of bands in the image.
Satisfies pure virtual from ImageHandler class.
Implements ossimImageSource.
Definition at line 2107 of file ossimTiffTileSource.cpp.
References theSamplesPerPixel.
Referenced by getNumberOfOutputBands().
|
virtual |
Returns the number of lines in the image.
Satisfies pure virtual from ImageHandler class.
Implements ossimImageHandler.
Definition at line 922 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getNumberOfLines(), isValidRLevel(), theImageDirectoryList, theImageLength, ossimImageHandler::theOverview, theR0isFullRes, ossimImageHandler::theStartingResLevel, theTiffPtr, and ossimRefPtr< T >::valid().
|
virtual |
Returns the number of bands in a tile returned from this TileSource.
Reimplemented from ossimImageSource.
Definition at line 2112 of file ossimTiffTileSource.cpp.
References getNumberOfInputBands(), and theOutputBandList.
Referenced by allocateTile(), and getTile().
|
virtual |
Returns the number of samples in the image.
Satisfies pure virtual from ImageHandler class.
Implements ossimImageHandler.
Definition at line 965 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getNumberOfSamples(), isValidRLevel(), theImageDirectoryList, theImageWidth, ossimImageHandler::theOverview, theR0isFullRes, ossimImageHandler::theStartingResLevel, theTiffPtr, and ossimRefPtr< T >::valid().
Referenced by loadFromScanLine().
|
virtual |
Initializes bandList to the zero based order of output bands.
Reimplemented from ossimImageSource.
Definition at line 2165 of file ossimTiffTileSource.cpp.
References ossimImageSource::getOutputBandList(), and theOutputBandList.
|
virtual |
Returns the output pixel type of the tile source.
Reimplemented from ossimImageSource.
Definition at line 1025 of file ossimTiffTileSource.cpp.
References theScalarType.
Referenced by allocateTile().
|
virtual |
Reimplemented from ossimImageHandler.
Definition at line 2319 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getProperty(), and theApplyColorPaletteFlag.
|
virtual |
Reimplemented from ossimImageHandler.
Definition at line 2337 of file ossimTiffTileSource.cpp.
References ossimImageHandler::getPropertyNames().
|
private |
Definition at line 1924 of file ossimTiffTileSource.cpp.
References READ_RGBA_U8_STRIP, READ_RGBA_U8_TILE, READ_RGBA_U8A_STRIP, READ_SCAN_LINE, READ_TILE, theReadMethod, and UNKNOWN.
Referenced by print().
|
virtual |
Reimplemented from ossimObject.
Reimplemented in ossimplugins::ossimRadarSat2TiffReader, and ossimplugins::ossimTerraSarTiffReader.
Definition at line 2047 of file ossimTiffTileSource.cpp.
|
virtual |
Returns a pointer to a tile given an origin representing the upper left corner of the tile to grab from the image.
Satisfies pure virtual from TileSource class.
Reimplemented from ossimImageSource.
Definition at line 110 of file ossimTiffTileSource.cpp.
References allocateTile(), ossimRefPtr< T >::get(), ossimDataObject::getDataObjectStatus(), ossimImageData::makeBlank(), OSSIM_NULL, ossimImageData::setImageRectangle(), theTile, and ossimRefPtr< T >::valid().
|
virtual |
Method to get a tile.
result | The tile to stuff. Note The requested rectangle in full image space and bands should be set in the result tile prior to passing. It will be an error if: result.getNumberOfBands() != this->getNumberOfOutputBands() |
Reimplemented from ossimImageSource.
Definition at line 135 of file ossimTiffTileSource.cpp.
References allocateBuffer(), ossimIrect::clipToRect(), ossimIrect::completely_within(), getCurrentTiffRLevel(), ossimDataObject::getDataObjectStatus(), ossimImageData::getImageRectangle(), ossimImageHandler::getImageRectangle(), ossimImageData::getNumberOfBands(), getNumberOfOutputBands(), ossimImageHandler::getOverviewTile(), ossimIrect::height(), ossimImageData::initialize(), ossimIrect::intersects(), isOpen(), ossimSource::isSourceEnabled(), isValidRLevel(), loadTile(), ossimImageData::makeBlank(), OSSIM_NULL, ossimReferenced::ref(), setTiffDirectory(), status, theCurrentTileHeight, theCurrentTileWidth, theImageDirectoryList, theR0isFullRes, ossimImageHandler::theStartingResLevel, ossimImageData::validate(), and ossimIrect::width().
|
virtual |
Returns the height of the output tile.
Reimplemented from ossimImageSource.
Definition at line 1997 of file ossimTiffTileSource.cpp.
References ossim::defaultTileSize(), getImageTileHeight(), and ossimIpt::y.
|
virtual |
Returns the width of the output tile.
Reimplemented from ossimImageSource.
Definition at line 1985 of file ossimTiffTileSource.cpp.
References ossim::defaultTileSize(), getImageTileWidth(), and ossimIpt::x.
bool ossimTiffTileSource::hasR0 | ( | ) | const |
Returns true if the first directory of the tiff image did not have the reduced resolution file type set.
Definition at line 2182 of file ossimTiffTileSource.cpp.
References theR0isFullRes.
|
virtual |
Indicates whether or not the image handler can control output band selection via the setOutputBandList method.
Overrides: ossimImageHandler::isBandSelector
Reimplemented from ossimImageHandler.
Definition at line 2122 of file ossimTiffTileSource.cpp.
References ossimImageHandler::isBandSelector(), isOpen(), READ_TILE, ossimImageHandler::theOverview, thePlanarConfig, theReadMethod, and ossimRefPtr< T >::valid().
Referenced by saveState(), and setOutputBandList().
bool ossimTiffTileSource::isColorMapped | ( | ) | const |
Definition at line 2214 of file ossimTiffTileSource.cpp.
References theTiffPtr.
Referenced by setApplyColorPaletteFlag().
|
virtual |
Derived classes must implement this method to be concrete.
Implements ossimImageHandler.
Definition at line 2177 of file ossimTiffTileSource.cpp.
References theTiffPtr.
Referenced by getImageTileHeight(), getImageTileWidth(), getTile(), isBandSelector(), and open().
|
private |
Checks line/samples of level for power of two decimation from the previous rlevel.
Used to weed out thumbnail directories being used as a reduced resolution layer.
Note this shuts off the thumbnail which someone may want to see. We could make this a reader prop if it becomes an issue. drb - 09 Jan. 2012.
dir | The tiff directory index. |
Definition at line 2558 of file ossimTiffTileSource.cpp.
References theImageLength, and theImageWidth.
|
virtual |
Determines if the passed in reslution level is valid.
If this reader is used as an overview the caller should pass in a resLevel relative to the full image.
resLevel | zero base resolution level. |
Reimplemented from ossimImageHandler.
Definition at line 1896 of file ossimTiffTileSource.cpp.
References getNumberOfDecimationLevels(), theR0isFullRes, and ossimImageHandler::theStartingResLevel.
Referenced by getNumberOfLines(), getNumberOfSamples(), and getTile().
|
private |
Definition at line 1630 of file ossimTiffTileSource.cpp.
References ossimImageData::getMinPix(), ossimImageData::getNullPix(), ossimImageData::getWidth(), ossimIrect::lr(), ossimNotify(), ossimNotifyLevel_WARN, theBytesPerPixel, theCurrentDirectory, theRowsPerStrip, theSamplesPerPixel, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by loadTile().
|
private |
Definition at line 1474 of file ossimTiffTileSource.cpp.
References CLOG, ossimIrect::completely_within(), ossimImageData::getBuf(), ossimImageData::getWidth(), ossimIrect::lr(), OSSIM_TIFF_UNPACK_B4, OSSIM_TIFF_UNPACK_G4, OSSIM_TIFF_UNPACK_R4, ossimNotify(), ossimNotifyLevel_WARN, theBuffer, theBufferRect, theBufferRLevel, theBytesPerPixel, theCurrentDirectory, theImageLength, theImageWidth, theRowsPerStrip, theSamplesPerPixel, theTiffPtr, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by loadTile().
|
private |
Definition at line 1316 of file ossimTiffTileSource.cpp.
References adjustToStartOfTile(), ossimIrect::lr(), ossimNotify(), ossimNotifyLevel_WARN, theBytesPerPixel, theCurrentDirectory, theImageTileLength, theImageTileWidth, theSamplesPerPixel, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by loadTile().
|
private |
Definition at line 1082 of file ossimTiffTileSource.cpp.
References ossimIrect::completely_within(), ossimImageData::copyLine(), getCurrentTiffRLevel(), ossimImageHandler::getImageRectangle(), getNumberOfSamples(), ossimImageData::loadTile(), ossimIrect::lr(), OSSIM_BIL, OSSIM_BIP, ossimIrect::set_lry(), ossimIrect::set_uly(), theBuffer, theBufferRect, theBufferRLevel, theBytesPerPixel, theCurrentDirectory, thePlanarConfig, theSamplesPerPixel, theTiffPtr, ossimIrect::ul(), and ossimIpt::y.
Referenced by loadTile().
|
private |
Definition at line 1175 of file ossimTiffTileSource.cpp.
References adjustToStartOfTile(), ossimIrect::clipToRect(), ossimIrect::intersects(), ossimImageData::loadTile(), ossimIrect::lr(), OSSIM_BIP, theBuffer, theCurrentDirectory, theImageTileLength, theImageTileWidth, thePlanarConfig, theTiffPtr, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by loadTile().
|
private |
Definition at line 1770 of file ossimTiffTileSource.cpp.
References ossimIrect::completely_within(), ossimIrect::lr(), status, theBuffer, theBufferRect, theBufferRLevel, theCurrentDirectory, theImageLength, theImageWidth, theRowsPerStrip, theSamplesPerPixel, theTiffPtr, ossimIrect::ul(), and ossimIpt::y.
Referenced by loadTile().
|
virtual |
Method to the load (recreate) the state of an object from a keyword list.
Return true if ok or false on error.
Reimplemented from ossimImageHandler.
Reimplemented in ossimplugins::ossimTerraSarTiffReader, and ossimplugins::ossimRadarSat2TiffReader.
Definition at line 318 of file ossimTiffTileSource.cpp.
References ossimKeywordNames::BANDS_KW, ossimKeywordlist::findKey(), ossimImageHandler::loadState(), open(), ossimString::size(), ossimString::string(), theApplyColorPaletteFlag, theOutputBandList, ossimString::toBool(), and ossim::toSimpleVector().
Referenced by ossimplugins::ossimRadarSat2TiffReader::loadState(), and ossimplugins::ossimTerraSarTiffReader::loadState().
|
private |
Definition at line 1030 of file ossimTiffTileSource.cpp.
References allocateBuffer(), loadFromRgbaU8aStrip(), loadFromRgbaU8Strip(), loadFromRgbaU8Tile(), loadFromScanLine(), loadFromTile(), loadFromU16Strip(), ossimNotify(), ossimNotifyLevel_WARN, READ_RGBA_U8_STRIP, READ_RGBA_U8_TILE, READ_RGBA_U8A_STRIP, READ_SCAN_LINE, READ_TILE, READ_U16_STRIP, status, theBuffer, theCurrentDirectory, and theReadMethod.
Referenced by getTile().
|
virtual |
Returns true if the image_file can be opened and is a valid tiff file.
Reimplemented from ossimImageHandler.
Reimplemented in ossimplugins::ossimTerraSarTiffReader, and ossimplugins::ossimRadarSat2TiffReader.
Definition at line 356 of file ossimTiffTileSource.cpp.
References close(), open(), ossimImageHandler::theImageFile, and theTiffPtr.
Referenced by ossimImageHandlerFactory::open(), ossimQuickbirdRpcModel::parseTiffFile(), and ossimIkonosRpcModel::parseTiffFile().
bool ossimTiffTileSource::open | ( | std::shared_ptr< ossim::istream > & | str, |
const std::string & | connectionString | ||
) |
This open takes a stream and stores/captures the shared pointer on success.
str | Open stream to image. |
connectionString | Stored on success as the file name. |
Definition at line 396 of file ossimTiffTileSource.cpp.
References close(), isOpen(), m_streamAdaptor, theImageDirectoryList, ossimImageHandler::theImageFile, and theTiffPtr.
|
protectedvirtual |
Returns true if no errors initializing object.
Notes:
Implements ossimImageHandler.
Definition at line 901 of file ossimTiffTileSource.cpp.
Referenced by loadState(), ossimplugins::ossimRadarSat2TiffReader::open(), ossimplugins::ossimTerraSarTiffReader::open(), and open().
|
private |
Definition at line 2378 of file ossimTiffTileSource.cpp.
References OSSIM_UINT16, OSSIM_UINT8, theBitsPerSample, ossimImageHandler::theLut, theTiffPtr, and ossim::toSimpleVector().
|
virtual |
Outputs theErrorStatus as an ossimErrorCode and an ossimString.
Reimplemented from ossimSource.
Definition at line 2052 of file ossimTiffTileSource.cpp.
References ossimString::c_str(), getReadMethod(), ossimSource::print(), theBitsPerSample, ossimImageHandler::theImageFile, theImageLength, theImageTileLength, theImageTileWidth, theImageWidth, theMaxSampleValue, theMinSampleValue, theNullSampleValue, theNumberOfDirectories, ossimImageHandler::theOverview, thePhotometric, thePlanarConfig, theR0isFullRes, theRowsPerStrip, theSampleFormatUnit, theSamplesPerPixel, theTile, and ossimRefPtr< T >::valid().
Referenced by allocateBuffer().
|
virtual |
Method to save the state of an object to a keyword list.
Return true if ok or false on error.
Reimplemented from ossimImageHandler.
Reimplemented in ossimplugins::ossimTerraSarTiffReader, and ossimplugins::ossimRadarSat2TiffReader.
Definition at line 285 of file ossimTiffTileSource.cpp.
References ossimKeywordlist::add(), ossimKeywordNames::BANDS_KW, isBandSelector(), ossimImageHandler::isIdentityBandList(), ossimImageHandler::saveState(), theApplyColorPaletteFlag, theOutputBandList, and ossim::toSimpleStringList().
Referenced by ossimplugins::ossimRadarSat2TiffReader::saveState(), and ossimplugins::ossimTerraSarTiffReader::saveState().
void ossimTiffTileSource::setApplyColorPaletteFlag | ( | bool | flag | ) |
Definition at line 2009 of file ossimTiffTileSource.cpp.
References isColorMapped(), setReadMethod(), theApplyColorPaletteFlag, theBuffer, thePhotometric, theSamplesPerPixel, and theTile.
Referenced by setProperty().
|
virtual |
If the image handler "isBandSeletor()" then the band selection of the output chip can be controlled.
Overrides: ossimImageHandler::setOutputBandList
Reimplemented from ossimImageHandler.
Definition at line 2146 of file ossimTiffTileSource.cpp.
References ossimImageData::getNumberOfBands(), isBandSelector(), ossimImageHandler::setOutputBandList(), theOutputBandList, theTile, and ossimRefPtr< T >::valid().
|
virtual |
Reimplemented from ossimImageHandler.
Definition at line 2302 of file ossimTiffTileSource.cpp.
References ossimProperty::getName(), setApplyColorPaletteFlag(), ossimImageHandler::setProperty(), ossimRefPtr< T >::valid(), and ossimProperty::valueToString().
|
private |
Definition at line 2228 of file ossimTiffTileSource.cpp.
References ossim::COMPRESSION_NONE, READ_RGBA_U8_STRIP, READ_RGBA_U8_TILE, READ_RGBA_U8A_STRIP, READ_SCAN_LINE, READ_TILE, READ_U16_STRIP, theBitsPerSample, theCompressionType, theNumberOfDirectories, thePhotometric, thePlanarConfig, theReadMethod, theRowsPerStrip, theSamplesPerPixel, and UNKNOWN.
Referenced by setApplyColorPaletteFlag().
|
private |
Change tiff directory and sets theCurrentDirectory.
Definition at line 2344 of file ossimTiffTileSource.cpp.
References status, theCurrentDirectory, theCurrentTiffRlevel, and theTiffPtr.
Referenced by getTile().
|
inline |
Definition at line 222 of file ossimTiffTileSource.h.
Referenced by ossimTiffProjectionFactory::createProjection().
|
private |
validateMinMaxNull Checks min, max and null to make sure they are not equal to the scalar type nan or double nan; sets to default min max if so.
Definition at line 2436 of file ossimTiffTileSource.cpp.
References ossimString::c_str(), ossim::defaultMax(), ossim::defaultMin(), ossim::defaultNull(), ossim::isnan(), OSSIM_FLOAT32, ossimKeywordlist::parseStream(), ossimTiffInfo::print(), ossimImageHandler::theImageFile, theMaxSampleValue, theMinSampleValue, theNullSampleValue, and theScalarType.
|
friend |
Definition at line 38 of file ossimTiffTileSource.h.
|
private |
Definition at line 378 of file ossimTiffTileSource.h.
|
private |
Definition at line 362 of file ossimTiffTileSource.h.
Referenced by getApplyColorPaletteFlag(), getProperty(), loadState(), saveState(), and setApplyColorPaletteFlag().
|
private |
Definition at line 350 of file ossimTiffTileSource.h.
Referenced by populateLut(), print(), and setReadMethod().
|
private |
Definition at line 342 of file ossimTiffTileSource.h.
Referenced by close(), loadFromRgbaU8Strip(), loadFromScanLine(), loadFromTile(), loadFromU16Strip(), loadTile(), and setApplyColorPaletteFlag().
|
private |
Definition at line 344 of file ossimTiffTileSource.h.
Referenced by loadFromRgbaU8Strip(), loadFromScanLine(), and loadFromU16Strip().
|
private |
Definition at line 345 of file ossimTiffTileSource.h.
Referenced by loadFromRgbaU8Strip(), loadFromScanLine(), and loadFromU16Strip().
|
private |
Definition at line 343 of file ossimTiffTileSource.h.
Referenced by close().
|
private |
Definition at line 360 of file ossimTiffTileSource.h.
Referenced by allocateBuffer(), loadFromRgbaU8aStrip(), loadFromRgbaU8Strip(), loadFromRgbaU8Tile(), and loadFromScanLine().
|
private |
Definition at line 376 of file ossimTiffTileSource.h.
Referenced by setReadMethod().
|
private |
Definition at line 358 of file ossimTiffTileSource.h.
Referenced by adjustToStartOfTile(), allocateBuffer(), getImageTileHeight(), getImageTileWidth(), loadFromRgbaU8aStrip(), loadFromRgbaU8Strip(), loadFromRgbaU8Tile(), loadFromScanLine(), loadFromTile(), loadFromU16Strip(), loadTile(), and setTiffDirectory().
|
private |
Definition at line 375 of file ossimTiffTileSource.h.
Referenced by getCurrentTiffRLevel(), and setTiffDirectory().
|
private |
Definition at line 347 of file ossimTiffTileSource.h.
Referenced by allocateBuffer(), allocateTile(), and getTile().
|
private |
Definition at line 346 of file ossimTiffTileSource.h.
Referenced by allocateTile(), and getTile().
|
private |
Definition at line 373 of file ossimTiffTileSource.h.
Referenced by getNumberOfDecimationLevels(), getNumberOfLines(), getNumberOfSamples(), getTile(), and open().
|
private |
Definition at line 366 of file ossimTiffTileSource.h.
Referenced by close(), getNumberOfLines(), isPowerOfTwoDecimation(), loadFromRgbaU8Strip(), loadFromU16Strip(), and print().
|
private |
Definition at line 372 of file ossimTiffTileSource.h.
Referenced by adjustToStartOfTile(), allocateBuffer(), close(), getImageTileHeight(), loadFromRgbaU8Tile(), loadFromTile(), and print().
|
private |
Definition at line 371 of file ossimTiffTileSource.h.
Referenced by adjustToStartOfTile(), allocateBuffer(), close(), getImageTileWidth(), loadFromRgbaU8Tile(), loadFromTile(), and print().
|
private |
Definition at line 365 of file ossimTiffTileSource.h.
Referenced by allocateBuffer(), close(), getNumberOfSamples(), isPowerOfTwoDecimation(), loadFromRgbaU8Strip(), loadFromU16Strip(), and print().
|
private |
Definition at line 353 of file ossimTiffTileSource.h.
Referenced by getMaxPixelValue(), print(), and validateMinMaxNull().
|
private |
Definition at line 354 of file ossimTiffTileSource.h.
Referenced by getMinPixelValue(), print(), and validateMinMaxNull().
|
private |
Definition at line 355 of file ossimTiffTileSource.h.
Referenced by getNullPixelValue(), print(), and validateMinMaxNull().
|
private |
Definition at line 357 of file ossimTiffTileSource.h.
Referenced by getNumberOfDirectories(), print(), and setReadMethod().
|
private |
Definition at line 377 of file ossimTiffTileSource.h.
Referenced by allocateTile(), getNumberOfOutputBands(), getOutputBandList(), loadState(), saveState(), and setOutputBandList().
|
private |
Definition at line 369 of file ossimTiffTileSource.h.
Referenced by close(), print(), setApplyColorPaletteFlag(), and setReadMethod().
|
private |
Definition at line 368 of file ossimTiffTileSource.h.
Referenced by allocateBuffer(), close(), isBandSelector(), loadFromScanLine(), loadFromTile(), print(), and setReadMethod().
|
private |
Definition at line 359 of file ossimTiffTileSource.h.
Referenced by getNumberOfDecimationLevels(), getNumberOfLines(), getNumberOfSamples(), getTile(), hasR0(), isValidRLevel(), and print().
|
private |
Definition at line 367 of file ossimTiffTileSource.h.
Referenced by allocateBuffer(), close(), getReadMethod(), isBandSelector(), loadTile(), and setReadMethod().
|
private |
Definition at line 370 of file ossimTiffTileSource.h.
Referenced by allocateBuffer(), close(), loadFromRgbaU8aStrip(), loadFromRgbaU8Strip(), loadFromU16Strip(), print(), and setReadMethod().
|
private |
Definition at line 351 of file ossimTiffTileSource.h.
Referenced by print().
|
private |
Definition at line 349 of file ossimTiffTileSource.h.
Referenced by allocateBuffer(), getNumberOfInputBands(), loadFromRgbaU8aStrip(), loadFromRgbaU8Strip(), loadFromRgbaU8Tile(), loadFromScanLine(), loadFromU16Strip(), print(), setApplyColorPaletteFlag(), and setReadMethod().
|
private |
Definition at line 361 of file ossimTiffTileSource.h.
Referenced by getOutputScalarType(), and validateMinMaxNull().
|
protected |
Definition at line 252 of file ossimTiffTileSource.h.
Referenced by close(), getNumberOfLines(), getNumberOfSamples(), isColorMapped(), isOpen(), loadFromRgbaU8Strip(), loadFromScanLine(), loadFromTile(), loadFromU16Strip(), open(), populateLut(), and setTiffDirectory().
|
private |
Definition at line 340 of file ossimTiffTileSource.h.
Referenced by allocateTile(), getTile(), print(), setApplyColorPaletteFlag(), and setOutputBandList().