OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
CIB/CADRG formats are encoded the same except that the CIB is a grey scale image and the CADRG is a color image. More...
#include <ossimCibCadrgTileSource.h>
Classes | |
struct | ossimFrameEntryData |
Protected structure that is only used internally by this class. More... | |
Public Types | |
enum | ossimCibCadrgProductType { OSSIM_PRODUCT_TYPE_UNKNOWN = 0, OSSIM_PRODUCT_TYPE_CIB = 1, OSSIM_PRODUCT_TYPE_CADRG = 2 } |
Basic enumeration. More... | |
![]() | |
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 | |
ossimCibCadrgTileSource () | |
Default constructor. More... | |
virtual ossimString | getShortName () const |
This method is defined in the base class ossimObject. More... | |
virtual ossimString | getLongName () const |
This method is defined in the base class ossimObject. More... | |
virtual void | close () |
Closes this image handler and deletes any allocated data. More... | |
virtual bool | open () |
Pure virtual open. More... | |
void | setSkipEmptyCheck (bool bSkipEmptyCheck=false) |
Changes the way the open() routine functions slightly. More... | |
virtual ossimRefPtr< ossimImageData > | getTile (const ossimIrect &rect, ossim_uint32 resLevel=0) |
Returns a pointer to an ossimImageDataObject given a rectangluar region of interest. More... | |
virtual bool | getTile (ossimImageData *result, ossim_uint32 resLevel=0) |
Method to get a tile. More... | |
virtual ossim_uint32 | getNumberOfLines (ossim_uint32 reduced_res_level=0) const |
Satisfies pure virtual requirement from ImageHandler class. More... | |
virtual ossim_uint32 | getNumberOfSamples (ossim_uint32 reduced_res_level=0) const |
Satisfies pure virtual requirement from ImageHandler class. More... | |
virtual ossimIrect | getImageRectangle (ossim_uint32 reduced_res_level=0) const |
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 load the state of an object from a keyword list. More... | |
virtual ossimRefPtr< ossimImageGeometry > | getImageGeometry () |
Populates the geometry object with image geometry information. More... | |
virtual ossimScalarType | getOutputScalarType () const |
This method allows you to query the scalar type of the output data. More... | |
virtual ossim_uint32 | getNumberOfInputBands () const |
This method allows you to query the number of input bands. More... | |
virtual ossim_uint32 | getNumberOfOutputBands () const |
This method allows one to query the number of output bands. 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... | |
virtual ossim_uint32 | getImageTileWidth () const |
Returns the tile width of the image or 0 if the image is not tiled. More... | |
virtual ossim_uint32 | getImageTileHeight () const |
Returns the tile width of the image or 0 if the image is not tiled. More... | |
virtual ossim_uint32 | getCurrentEntry () const |
virtual bool | setCurrentEntry (ossim_uint32 entryIdx) |
virtual void | getEntryList (std::vector< ossim_uint32 > &entryList) const |
virtual ossim_int32 | getCurrentEntryIndex () const |
Returns -1 if invalid. More... | |
virtual const ossimRpfTocEntry * | getCurrentTocEntry () const |
virtual const ossimRpfToc * | getToc () const |
bool | isValidRLevel (ossim_uint32 reduced_res_level) const |
bool | isOpen () const |
Determines if its open if there eists a table of contents object. More... | |
bool | isCib () const |
bool | isCadrg () const |
ossimString | getProductScale () const |
vector< ossimString > | getProductScaleList () const |
This retrieves all product scales that are within the Table of contents. More... | |
vector< ossim_int32 > | getProductEntryList (const ossimString &productScale) const |
Using the product scales from getProductScaleList() you can pass each string in so you can get all associated indices for a given product. More... | |
ossimString | getSecurityClassification () const |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
Gets a property for matching name. More... | |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
Gets a list of property names available. More... | |
![]() | |
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 (const ossimFilename &imageFile) |
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 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 | 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 | getNumberOfDecimationLevels () const |
This returns the total number of decimation 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 | 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 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 double | getMinPixelValue (ossim_uint32 band=0) const |
Retuns the min pixel value. More... | |
virtual double | getMaxPixelValue (ossim_uint32 band=0) const |
Returns the max pixel of the band. More... | |
virtual double | getNullPixelValue (ossim_uint32 band=0) const |
Each band has a null pixel associated with it. 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 | getNumberOfEntries () const |
virtual void | getEntryName (ossim_uint32 entryIdx, std::string &name) const |
Get the name of entry as a string. More... | |
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 void | setProperty (ossimRefPtr< ossimProperty > property) |
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 | getOutputBandList (std::vector< ossim_uint32 > &bandList) const |
Initializes bandList. 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) |
virtual std::ostream & | print (std::ostream &out) const |
Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
![]() | |
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 |
Static Public Attributes | |
static const ossim_uint32 | CIBCADRG_FRAME_WIDTH = 1536 |
CONSTANT representing the width of a Frame. More... | |
static const ossim_uint32 | CIBCADRG_FRAME_HEIGHT = 1536 |
CONSTANT representing the height of a Frame. More... | |
Protected Member Functions | |
virtual | ~ossimCibCadrgTileSource () |
Destructor. More... | |
void | updatePropertiesToFirstValidFrame () |
virtual void | setTocEntryToRender (const ossimRpfTocEntry *entry) |
Sets the entry to be renderer. More... | |
virtual bool | setEntryToRender (ossim_uint32 index) |
Sets the entry to render. More... | |
vector< ossimFrameEntryData > | getIntersectingEntries (const ossimIrect &rect) |
It is important to note that each frame is organized into an easting northing type orientation. More... | |
void | fillTile (const ossimIrect &tileRect, const vector< ossimFrameEntryData > &framesInvolved, ossimImageData *tile) |
This is a wrapper for the fill cib and fill cadrg. More... | |
void | fillSubTileCib (const ossimRpfFrame &aFrame, const ossimIrect &tileRect, const ossimFrameEntryData &frameEntryData, ossimImageData *tile) |
Will uncompress the CIB file using a VQ decompression algorithm. More... | |
void | fillSubTileCadrg (const ossimRpfFrame &aFrame, const ossimIrect &tileRect, const ossimFrameEntryData &frameEntryData, ossimImageData *tile) |
Will uncompress the CADRG file using a VQ decompression algorithm. More... | |
void | allocateForProduct () |
Will allocate an internal buffer for the given product. More... | |
const ossimRpfTocEntry * | findFirstFrame () |
This will search each entry in the table and look for a certain entry. More... | |
void | deleteAll () |
void | populateLut () |
![]() | |
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) | |
Protected Attributes | |
unsigned char * | theCompressedBuffer |
This is for storage of a single compressed buffer. More... | |
unsigned char * | theUncompressedBuffer |
This is used as a buffer to uncompress the data to. More... | |
ossim_uint32 | theNumberOfLines |
This will be computed based on the frames organized within the directory. More... | |
ossim_uint32 | theNumberOfSamples |
This will be computed based on the frames organized within the directory. More... | |
ossimRefPtr< ossimImageData > | theTile |
This is the actual data returned from a getTile request. More... | |
ossimRpfToc * | theTableOfContents |
Will own a table of contents. More... | |
const ossimRpfTocEntry * | theEntryToRender |
This is the actual frame file to render. More... | |
ossim_int32 | theEntryNumberToRender |
This will be the entry number that we are currently rendering. More... | |
ossimCibCadrgProductType | theProductType |
Holds the enumeration specifying the product type. More... | |
ossimRpfFrame * | theWorkFrame |
bool | theSkipEmptyCheck |
If true during the call to open(), the RPF file is opened even if all the frame files are missing. More... | |
![]() | |
ossimFilename | theImageFile |
ossimFilename | theOverviewFile |
ossimFilename | theSupplementaryDirectory |
ossimRefPtr< ossimImageHandler > | theOverview |
vector< ossimIpt > | theValidImageVertices |
ossimImageMetaData | theMetaData |
ossimRefPtr< ossimImageGeometry > | theGeometry |
ossimRefPtr< ossimNBandLutDataObject > | theLut |
std::vector< ossimDpt > | theDecimationFactors |
ossimString | theImageID |
ossim_uint32 | theStartingResLevel |
theStartingResLevel If set to something other than zero(default) this is indicative that the reader is an overview. More... | |
bool | theOpenOverviewFlag |
If true opening of overviews will be attempted. More... | |
ossimPixelType | thePixelType |
std::shared_ptr< ossim::ImageHandlerState > | m_state |
![]() | |
bool | theEnableFlag |
bool | theInitializedFlag |
![]() | |
ossimId | theId |
ossimString | theDescription |
ossimObject * | theOwner |
bool | theInputListIsFixedFlag |
Indicates whether the theInputObjectList is fixed. More... | |
bool | theOutputListIsFixedFlag |
Indicates whether the theOutputObjectList is fixed. More... | |
ConnectableObjectList | theInputObjectList |
Holds a list of input objects. More... | |
ConnectableObjectList | theOutputObjectList |
Holds a list of output objects. More... | |
![]() | |
std::list< ossimListener * > | theListenerList |
bool | theEnabledFlag |
std::list< ossimListener * > | theDelayedAdd |
std::list< ossimListener * > | theDelayedRemove |
bool | theFireEventFlag |
![]() | |
ossimErrorCode | theErrorStatus |
Friends | |
class | ossimMultiEntryCibCadrg |
CIB/CADRG formats are encoded the same except that the CIB is a grey scale image and the CADRG is a color image.
Both are VQ compressed. The images are encoded into an NITF format with embedded RPF headers. It reads the embedded RPF tags from the NITF file and parses the data. It allows for you to select which CIB/CADRG entry to render. The handler is opened by giving it the associated a.toc file. This is a table of contents file that describes all the entries found in the CIB/CADRG product. You must set which entry you wish to render. By default it will render the first product it comes to.
Note: This handler will eventually merge into the nitf handler.
Definition at line 35 of file ossimCibCadrgTileSource.h.
Basic enumeration.
This should be either a CIB or a CADRG product type.
Enumerator | |
---|---|
OSSIM_PRODUCT_TYPE_UNKNOWN | |
OSSIM_PRODUCT_TYPE_CIB | |
OSSIM_PRODUCT_TYPE_CADRG |
Definition at line 45 of file ossimCibCadrgTileSource.h.
ossimCibCadrgTileSource::ossimCibCadrgTileSource | ( | ) |
Default constructor.
Initializes all internal attributes to a default state.
Definition at line 51 of file ossimCibCadrgTileSource.cpp.
|
protectedvirtual |
Destructor.
Will return allocated memory back to the heap.
Definition at line 89 of file ossimCibCadrgTileSource.cpp.
References close(), theCompressedBuffer, theUncompressedBuffer, and theWorkFrame.
|
protected |
Will allocate an internal buffer for the given product.
If the product is a CIB then it is a single band OSSIM_UCHAR buffer and if its a CADRG it is a 3 band OSSIM_UCHAR buffer.
Definition at line 1036 of file ossimCibCadrgTileSource.cpp.
References ossimImageDataFactory::create(), ossimImageData::initialize(), ossimImageDataFactory::instance(), OSSIM_PRODUCT_TYPE_CIB, OSSIM_PRODUCT_TYPE_UNKNOWN, theCompressedBuffer, theProductType, theTile, theUncompressedBuffer, and theWorkFrame.
Referenced by getTile().
|
virtual |
Closes this image handler and deletes any allocated data.
Reimplemented from ossimImageHandler.
Definition at line 120 of file ossimCibCadrgTileSource.cpp.
References ossimImageHandler::close(), and deleteAll().
Referenced by ~ossimCibCadrgTileSource().
|
protected |
Definition at line 1098 of file ossimCibCadrgTileSource.cpp.
References ossimImageHandler::theOverview, and theTableOfContents.
Referenced by close().
|
protected |
Will uncompress the CADRG file using a VQ decompression algorithm.
aFrame | Frame that overlaps the requested tile rect. |
tileRect | The region requested to render. |
frameEntryData | The frame entry data. |
Definition at line 757 of file ossimCibCadrgTileSource.cpp.
References CIBCADRG_FRAME_HEIGHT, CIBCADRG_FRAME_WIDTH, ossimIrect::clipToRect(), ossimRpfFrame::fillSubFrameBuffer(), ossimRpfFrame::getColorGrayscaleTable(), ossimRpfFrame::getCompressionSection(), ossimRpfCompressionSection::getTable(), ossimIrect::height(), ossimImageData::loadTile(), OSSIM_BSQ, theCompressedBuffer, ossimCibCadrgTileSource::ossimFrameEntryData::thePixelCol, ossimCibCadrgTileSource::ossimFrameEntryData::thePixelRow, theUncompressedBuffer, ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by fillTile().
|
protected |
Will uncompress the CIB file using a VQ decompression algorithm.
aFrame | Frame that overlaps the requested tile rect. |
tileRect | The region requested to render. |
frameEntryData | The frame entry data. |
Definition at line 901 of file ossimCibCadrgTileSource.cpp.
References CIBCADRG_FRAME_HEIGHT, CIBCADRG_FRAME_WIDTH, ossimIrect::clipToRect(), ossimRpfFrame::fillSubFrameBuffer(), ossimRpfFrame::getColorGrayscaleTable(), ossimRpfFrame::getCompressionSection(), ossimRpfCompressionSection::getTable(), ossimIrect::height(), ossimImageData::loadTile(), OSSIM_BSQ, theCompressedBuffer, ossimCibCadrgTileSource::ossimFrameEntryData::thePixelCol, ossimCibCadrgTileSource::ossimFrameEntryData::thePixelRow, theUncompressedBuffer, ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by fillTile().
|
protected |
This is a wrapper for the fill cib and fill cadrg.
It takes the frames involved that were found in the getIntersectingEntries and call the appropriate fill cib or fill cadrg on each frame entry data. It will loop through making sure that the frame file exists before calling the associated fill routines.
tileRect | Region to fill. |
framesInvolved | All intersecting frames used to render the region. |
Definition at line 723 of file ossimCibCadrgTileSource.cpp.
References fillSubTileCadrg(), fillSubTileCib(), ossimErrorCodes::OSSIM_OK, OSSIM_PRODUCT_TYPE_CIB, ossimRpfFrame::parseFile(), theProductType, and theWorkFrame.
Referenced by getTile().
|
protected |
This will search each entry in the table and look for a certain entry.
The first entry it comes to that has Geographic coverage will be the frame to render. This method is best here instead of in the ossimRpfToc. I am not sure, but I feel these types of searches are specific to the product (CADRG, CIB ...). This is called immediately after a succesful open of the ossimRpfToc
Definition at line 1077 of file ossimCibCadrgTileSource.cpp.
References getProductEntryList(), getProductScaleList(), ossimRpfToc::getTocEntry(), theEntryNumberToRender, and theTableOfContents.
|
virtual |
Reimplemented from ossimImageHandler.
Definition at line 447 of file ossimCibCadrgTileSource.cpp.
References theEntryNumberToRender.
|
virtual |
Returns -1 if invalid.
Definition at line 539 of file ossimCibCadrgTileSource.cpp.
References theEntryNumberToRender.
|
virtual |
Definition at line 544 of file ossimCibCadrgTileSource.cpp.
References theEntryToRender.
|
virtual |
entryList | This is the list to initialize with entry indexes. |
Reimplemented from ossimImageHandler.
Definition at line 473 of file ossimCibCadrgTileSource.cpp.
References getProductEntryList(), and getProductScaleList().
|
virtual |
Populates the geometry object with image geometry information.
This method is used to relay projection/model information to users. Returns true if geometry info is present, false if not. Keywords supported by this class are:
* datum: // datum code> // Datum code * ul_lat: // upper left latitude * ul_lon: // upper left longitude * ll_lat: // lower left latitude * ll_lon: // lower left longitude * lr_lat: // lower right latitude * lr_lon: // lower right longitude * ur_lat: // upper right latitude * ur_lon: // upper right longitude * number_input_bands: * number_output_bands: * number_lines: * number_samples: * decimal_degrees_per_pixel_lat: // specifies the spacing per pixel along Y direction * decimal_degrees_per_pixel_lon: // specifies the spacing per pixel along X direction * origin_latitude: // specifies the origin or center of the projector for the latitude * central_meridian: // specifies the origin or center of the projector for the longitude * tie_point_lat: // tie point lat. Represents the latitude of the upper left center of pixel * tie_point_lon: // tie point lon. Represents the longitude of the upper left center of pixel * zone: // zone read from the CIB/CADRG boundary info * type: // class name of the object for factory driven reconstruction * map_scale: // Map scale of the image *
Reimplemented from ossimImageHandler.
Definition at line 413 of file ossimCibCadrgTileSource.cpp.
References ossimRefPtr< T >::get(), ossimImageHandler::getExternalImageGeometry(), ossimRpfTocEntry::getImageGeometry(), ossimImageHandler::initImageParameters(), theEntryToRender, and ossimImageHandler::theGeometry.
|
virtual |
reduced_res_level | Which res level to get the bounds for. 0 represents the default and is the full resolution. |
Reimplemented from ossimImageHandler.
Definition at line 405 of file ossimCibCadrgTileSource.cpp.
References getNumberOfLines(), and getNumberOfSamples().
Referenced by getIntersectingEntries(), and getTile().
|
virtual |
Returns the tile width of the image or 0 if the image is not tiled.
Note: this is not the same as the ossimImageSource::getTileWidth which returns the output tile width which can be different than the internal image tile width on disk.
Implements ossimImageHandler.
Definition at line 1167 of file ossimCibCadrgTileSource.cpp.
Referenced by getTileHeight().
|
virtual |
Returns the tile width of the image or 0 if the image is not tiled.
Note: this is not the same as the ossimImageSource::getTileWidth which returns the output tile width which can be different than the internal image tile width on disk.
Implements ossimImageHandler.
Definition at line 1162 of file ossimCibCadrgTileSource.cpp.
Referenced by getTileWidth().
|
protected |
It is important to note that each frame is organized into an easting northing type orientation.
This means that a frame at 0,0 is at the lower left corner. Each frame's pixel data is has 0,0 at the upper left.
It will take the curent region to render and then find all entries that intersect that region.
rect | the current region to render. |
Definition at line 680 of file ossimCibCadrgTileSource.cpp.
References CIBCADRG_FRAME_HEIGHT, CIBCADRG_FRAME_WIDTH, ossimIrect::clipToRect(), ossimRpfTocEntry::getEntry(), getImageRectangle(), ossimRpfTocEntry::getNumberOfFramesVertical(), ossimIrect::intersects(), isOpen(), ossimIrect::lr(), theEntryToRender, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by getTile().
|
virtual |
This method is defined in the base class ossimObject.
This class overrides the default implementation to return its own long name.
Reimplemented from ossimObject.
Definition at line 114 of file ossimCibCadrgTileSource.cpp.
|
virtual |
This method allows you to query the number of input bands.
If an image is band selectable this will allow one to select the bands you wish to read in. This indicates that the number of input bands might not match the number of output bands.
Implements ossimImageSource.
Definition at line 335 of file ossimCibCadrgTileSource.cpp.
References OSSIM_PRODUCT_TYPE_CADRG, OSSIM_PRODUCT_TYPE_CIB, OSSIM_PRODUCT_TYPE_UNKNOWN, and theProductType.
|
virtual |
Satisfies pure virtual requirement from ImageHandler class.
reduced_res_level | The reduced res level to query number of lines from. |
Implements ossimImageHandler.
Definition at line 377 of file ossimCibCadrgTileSource.cpp.
References ossimImageHandler::getNumberOfLines(), theNumberOfLines, ossimImageHandler::theOverview, and ossimRefPtr< T >::valid().
Referenced by getImageRectangle().
|
virtual |
This method allows one to query the number of output bands.
This might not be the same as the n umber of input bands.
Reimplemented from ossimImageSource.
Definition at line 356 of file ossimCibCadrgTileSource.cpp.
References OSSIM_PRODUCT_TYPE_CADRG, OSSIM_PRODUCT_TYPE_CIB, OSSIM_PRODUCT_TYPE_UNKNOWN, and theProductType.
Referenced by getTile().
|
virtual |
Satisfies pure virtual requirement from ImageHandler class.
reduced_res_level | The reduced res level to query number of samples from. |
Implements ossimImageHandler.
Definition at line 391 of file ossimCibCadrgTileSource.cpp.
References ossimImageHandler::getNumberOfSamples(), theNumberOfSamples, ossimImageHandler::theOverview, and ossimRefPtr< T >::valid().
Referenced by getImageRectangle().
|
virtual |
This method allows you to query the scalar type of the output data.
This is simply the data type, i.e. whether its OSSIM_FLOAT, OSSIM_DOUBLE, OSSIM_UCHAR, ... etc. This means that if there are bands of different scalar types from a single image then they must be casted to the highest precision type.
Reimplemented from ossimImageSource.
Definition at line 432 of file ossimCibCadrgTileSource.cpp.
References OSSIM_UCHAR.
vector< ossim_int32 > ossimCibCadrgTileSource::getProductEntryList | ( | const ossimString & | productScale | ) | const |
Using the product scales from getProductScaleList() you can pass each string in so you can get all associated indices for a given product.
Definition at line 626 of file ossimCibCadrgTileSource.cpp.
References ossimRpfTocEntry::getBoundaryInformation(), ossimRpfToc::getNumberOfEntries(), ossimRpfBoundaryRectRecord::getScale(), ossimRpfToc::getTocEntry(), ossimRpfTocEntry::isEmpty(), isOpen(), ossimString::push_back(), theSkipEmptyCheck, theTableOfContents, ossimString::trim(), and ossimString::upcase().
Referenced by findFirstFrame(), and getEntryList().
ossimString ossimCibCadrgTileSource::getProductScale | ( | ) | const |
Definition at line 1182 of file ossimCibCadrgTileSource.cpp.
References ossimRpfTocEntry::getBoundaryInformation(), ossimRpfBoundaryRectRecord::getScale(), ossimRpfToc::getTocEntry(), theEntryNumberToRender, and theTableOfContents.
vector< ossimString > ossimCibCadrgTileSource::getProductScaleList | ( | ) | const |
This retrieves all product scales that are within the Table of contents.
I make no assumptions that a CIB/CADRG has only one product. A product here is 1meter, 5 meter, 10 meter ... etc for CIB and 1:24000, 1:50000, ... etc for CADRG.
Definition at line 570 of file ossimCibCadrgTileSource.cpp.
References ossimString::begin(), ossimString::end(), ossimRpfTocEntry::getBoundaryInformation(), ossimRpfToc::getNumberOfEntries(), ossimRpfBoundaryRectRecord::getScale(), ossimRpfToc::getTocEntry(), isOpen(), ossimString::push_back(), ossimString::size(), theTableOfContents, ossimString::trim(), and ossimString::upcase().
Referenced by findFirstFrame(), and getEntryList().
|
virtual |
Gets a property for matching name.
name | The name of the property to get. |
Reimplemented from ossimImageHandler.
Definition at line 1212 of file ossimCibCadrgTileSource.cpp.
References ossimImageHandler::getProperty(), OSSIM_PRODUCT_TYPE_CADRG, OSSIM_PRODUCT_TYPE_CIB, and theProductType.
|
virtual |
Gets a list of property names available.
propertyNames | The list to push back names to. |
This code is crashing and not sure why in here. Looks like a bad GeoEye baseline merge.
Reimplemented from ossimImageHandler.
Definition at line 1229 of file ossimCibCadrgTileSource.cpp.
References ossimString::c_str(), ossimImageHandler::getPropertyNames(), ossimRpfToc::getRpfHeader(), ossimImageHandler::theImageFile, and theTableOfContents.
ossimString ossimCibCadrgTileSource::getSecurityClassification | ( | ) | const |
Definition at line 1197 of file ossimCibCadrgTileSource.cpp.
References ossimRpfToc::getRpfHeader(), ossimRpfHeader::getSecurityClassification(), and theTableOfContents.
|
virtual |
This method is defined in the base class ossimObject.
This class overrides the default implementation to return its own short name.
Reimplemented from ossimObject.
Definition at line 109 of file ossimCibCadrgTileSource.cpp.
|
virtual |
Returns a pointer to an ossimImageDataObject given a rectangluar region of interest.
rect | The region of interest to return. |
resLevel | From which resolution set are we querying (default is 0 full res). |
Reimplemented from ossimImageSource.
Definition at line 237 of file ossimCibCadrgTileSource.cpp.
References allocateForProduct(), 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 263 of file ossimCibCadrgTileSource.cpp.
References allocateForProduct(), fillTile(), getImageRectangle(), ossimImageData::getImageRectangle(), getIntersectingEntries(), ossimImageData::getNumberOfBands(), getNumberOfOutputBands(), ossimImageHandler::getOverviewTile(), ossimIrect::intersects(), isOpen(), ossimSource::isSourceEnabled(), isValidRLevel(), ossimImageData::makeBlank(), OSSIM_PRODUCT_TYPE_UNKNOWN, status, theCompressedBuffer, theProductType, and ossimImageData::validate().
|
virtual |
Returns the height of the output tile.
Reimplemented from ossimImageSource.
Definition at line 442 of file ossimCibCadrgTileSource.cpp.
References getImageTileHeight().
|
virtual |
Returns the width of the output tile.
Reimplemented from ossimImageSource.
Definition at line 437 of file ossimCibCadrgTileSource.cpp.
References getImageTileWidth().
|
virtual |
Definition at line 549 of file ossimCibCadrgTileSource.cpp.
References theTableOfContents.
bool ossimCibCadrgTileSource::isCadrg | ( | ) | const |
Definition at line 1177 of file ossimCibCadrgTileSource.cpp.
References OSSIM_PRODUCT_TYPE_CADRG, and theProductType.
bool ossimCibCadrgTileSource::isCib | ( | ) | const |
Definition at line 1172 of file ossimCibCadrgTileSource.cpp.
References OSSIM_PRODUCT_TYPE_CIB, and theProductType.
|
virtual |
Determines if its open if there eists a table of contents object.
Implements ossimImageHandler.
Definition at line 126 of file ossimCibCadrgTileSource.cpp.
References theTableOfContents.
Referenced by getIntersectingEntries(), getProductEntryList(), getProductScaleList(), getTile(), setEntryToRender(), and setTocEntryToRender().
|
virtual |
reduced_res_level | passed in resolution level. |
Reimplemented from ossimImageHandler.
Definition at line 554 of file ossimCibCadrgTileSource.cpp.
References ossimImageHandler::isValidRLevel(), ossimImageHandler::theOverview, and ossimRefPtr< T >::valid().
Referenced by getTile().
|
virtual |
Method to load the state of an object from a keyword list.
Loading with a prefix.
Loading without a prefix.
Since all objects are factory created you can go through the registry and pass the keyword list in.
kwl | Keywordlist that holds the state information for this object. |
prefix | prefix value prepended to all keywords to uniquely locate the state attributes for this object. |
Reimplemented from ossimImageHandler.
Definition at line 1121 of file ossimCibCadrgTileSource.cpp.
|
virtual |
Pure virtual open.
Derived classes must implement.
Implements ossimImageHandler.
Definition at line 131 of file ossimCibCadrgTileSource.cpp.
|
protected |
Definition at line 1248 of file ossimCibCadrgTileSource.cpp.
References ossimFilename::exists(), ossimRpfFrame::getColorGrayscaleTable(), ossimRpfTocEntry::getEntry(), ossimRpfFrameEntry::getFullPath(), ossimRpfTocEntry::getNumberOfFramesHorizontal(), ossimRpfTocEntry::getNumberOfFramesVertical(), ossimErrorCodes::OSSIM_OK, OSSIM_PRODUCT_TYPE_CADRG, OSSIM_PRODUCT_TYPE_CIB, OSSIM_UINT8, ossimRpfFrame::parseFile(), theEntryToRender, ossimImageHandler::theLut, and theProductType.
Referenced by setEntryToRender().
|
virtual |
Method to save the state of an object to a keyword list.
Saving data without a prefix.
and saving data with a prefix.
Saving with a prefix will help uniquely identify objects in the kwl. To see what is in the keywordlist after a save state then do:
There is only 1 keyword for this object:
entry: <entry number>="">
where <entry number>=""> is the index value for the current entry.
kwl | Keywordlist to save the state of the object to. |
prefix | prefix to prepend to the keywords. This will help uniquely identify each keyword if multiple objects are saved to the same list. |
Reimplemented from ossimImageHandler.
Definition at line 1108 of file ossimCibCadrgTileSource.cpp.
References ossimKeywordlist::add(), ossimImageHandler::saveState(), and theEntryNumberToRender.
|
virtual |
entryIdx | Entry number to select. |
Reimplemented from ossimImageHandler.
Definition at line 452 of file ossimCibCadrgTileSource.cpp.
References ossimString::clear(), ossimImageHandler::completeOpen(), setEntryToRender(), ossimImageHandler::theDecimationFactors, ossimImageHandler::theGeometry, and ossimImageHandler::theOverviewFile.
|
protectedvirtual |
Sets the entry to render.
Definition at line 490 of file ossimCibCadrgTileSource.cpp.
References ossimRpfTocEntry::getBoundaryInformation(), ossimRpfBoundaryRectRecord::getCoverage(), ossimRpfTocEntry::getProductType(), ossimRpfToc::getTocEntry(), ossimRpfCoverageSection::isGeographicRectNull(), isOpen(), OSSIM_PRODUCT_TYPE_CADRG, OSSIM_PRODUCT_TYPE_CIB, OSSIM_PRODUCT_TYPE_UNKNOWN, populateLut(), setTocEntryToRender(), theEntryNumberToRender, theEntryToRender, theProductType, theTableOfContents, ossimString::trim(), and ossimString::upcase().
Referenced by setCurrentEntry().
void ossimCibCadrgTileSource::setSkipEmptyCheck | ( | bool | bSkipEmptyCheck = false | ) |
Changes the way the open() routine functions slightly.
bSkipEmptyCheck | If true, the RPF file is opened even if all the frame files are missing. By default this is set to false. |
Definition at line 232 of file ossimCibCadrgTileSource.cpp.
References theSkipEmptyCheck.
|
protectedvirtual |
Sets the entry to be renderer.
The entry within the table of contents are stored in an Toc entry object.
entry | the Rpf toc entry object to set to. |
Definition at line 528 of file ossimCibCadrgTileSource.cpp.
References ossimRpfTocEntry::getNumberOfLines(), ossimRpfTocEntry::getNumberOfSamples(), ossimRpfToc::getTocEntryIndex(), isOpen(), theEntryNumberToRender, theEntryToRender, theNumberOfLines, theNumberOfSamples, and theTableOfContents.
Referenced by setEntryToRender().
|
protected |
Definition at line 1330 of file ossimCibCadrgTileSource.cpp.
References ossimFilename::exists(), ossimRpfTocEntry::getEntry(), ossimRpfFrameEntry::getFullPath(), ossimRpfTocEntry::getNumberOfFramesHorizontal(), ossimRpfTocEntry::getNumberOfFramesVertical(), ossimErrorCodes::OSSIM_OK, ossimRpfFrame::parseFile(), and theEntryToRender.
|
friend |
Definition at line 38 of file ossimCibCadrgTileSource.h.
|
static |
CONSTANT representing the height of a Frame.
This should be 1536.
Definition at line 393 of file ossimCibCadrgTileSource.h.
Referenced by fillSubTileCadrg(), fillSubTileCib(), and getIntersectingEntries().
|
static |
CONSTANT representing the width of a Frame.
This should be 1536.
Definition at line 388 of file ossimCibCadrgTileSource.h.
Referenced by fillSubTileCadrg(), fillSubTileCib(), and getIntersectingEntries().
|
protected |
This is for storage of a single compressed buffer.
Definition at line 536 of file ossimCibCadrgTileSource.h.
Referenced by allocateForProduct(), fillSubTileCadrg(), fillSubTileCib(), getTile(), and ~ossimCibCadrgTileSource().
|
protected |
This will be the entry number that we are currently rendering.
This will mainly be used when using overviews.
Definition at line 580 of file ossimCibCadrgTileSource.h.
Referenced by findFirstFrame(), getCurrentEntry(), getCurrentEntryIndex(), getProductScale(), saveState(), setEntryToRender(), and setTocEntryToRender().
|
protected |
This is the actual frame file to render.
This should be divided into frames where each frame is 1536x1536 in size.
Definition at line 573 of file ossimCibCadrgTileSource.h.
Referenced by getCurrentTocEntry(), getImageGeometry(), getIntersectingEntries(), populateLut(), setEntryToRender(), setTocEntryToRender(), and updatePropertiesToFirstValidFrame().
|
protected |
This will be computed based on the frames organized within the directory.
The CibCadrg have fixed size frames of 1536x1536 and we must count how many there are.
Definition at line 548 of file ossimCibCadrgTileSource.h.
Referenced by getNumberOfLines(), and setTocEntryToRender().
|
protected |
This will be computed based on the frames organized within the directory.
The CibCadrg have fixed size frames of 1536x1536 and we must count how many there are.
Definition at line 555 of file ossimCibCadrgTileSource.h.
Referenced by getNumberOfSamples(), and setTocEntryToRender().
|
protected |
Holds the enumeration specifying the product type.
The product type can be a CIB or a CADRG product.
Definition at line 586 of file ossimCibCadrgTileSource.h.
Referenced by allocateForProduct(), fillTile(), getNumberOfInputBands(), getNumberOfOutputBands(), getProperty(), getTile(), isCadrg(), isCib(), populateLut(), and setEntryToRender().
|
protected |
If true during the call to open(), the RPF file is opened even if all the frame files are missing.
By default this is set to false.
Definition at line 594 of file ossimCibCadrgTileSource.h.
Referenced by getProductEntryList(), and setSkipEmptyCheck().
|
protected |
Will own a table of contents.
This describes all entries within the CIB/CADRG.
Definition at line 566 of file ossimCibCadrgTileSource.h.
Referenced by deleteAll(), findFirstFrame(), getProductEntryList(), getProductScale(), getProductScaleList(), getPropertyNames(), getSecurityClassification(), getToc(), isOpen(), setEntryToRender(), and setTocEntryToRender().
|
protected |
This is the actual data returned from a getTile request.
Definition at line 560 of file ossimCibCadrgTileSource.h.
Referenced by allocateForProduct(), and getTile().
|
protected |
This is used as a buffer to uncompress the data to.
Definition at line 541 of file ossimCibCadrgTileSource.h.
Referenced by allocateForProduct(), fillSubTileCadrg(), fillSubTileCib(), and ~ossimCibCadrgTileSource().
|
mutableprotected |
Definition at line 588 of file ossimCibCadrgTileSource.h.
Referenced by allocateForProduct(), fillTile(), and ~ossimCibCadrgTileSource().