OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimKakaduNitfWriter.h>
Public Member Functions | |
ossimKakaduNitfWriter () | |
default constructor More... | |
virtual | ~ossimKakaduNitfWriter () |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getClassName () const |
virtual void | getImageTypeList (std::vector< ossimString > &imageTypeList) const |
Appends this writer image types to list "imageTypeList". More... | |
virtual bool | isOpen () const |
virtual bool | open () |
virtual void | close () |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
saves the state of the object. 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 void | setProperty (ossimRefPtr< ossimProperty > property) |
Will set the property whose name matches the argument "property->getName()". More... | |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
Pushes this's names onto the list of property names. More... | |
bool | hasImageType (const ossimString &imageType) const |
bool hasImageType(const ossimString& imageType) const More... | |
virtual bool | writeStream () |
Method to write the image to a stream. More... | |
virtual bool | setOutputStream (std::ostream &stream) |
Sets the output stream to write to. More... | |
virtual ossimString | getExtension () const |
Returns a 3-letter extension from the image type descriptor (theOutputImageType) that can be used for image file extensions. More... | |
virtual bool | getOutputHasInternalOverviews (void) const |
Examples of writers that always generate internal overviews are ossim_kakadu_jp2 and ossim_kakadu_nitf_j2k. More... | |
![]() | |
ossimNitfWriterBase () | |
default constructor More... | |
ossimNitfWriterBase (const ossimFilename &filename, ossimImageSource *inputSource) | |
Constructor that takes filename and input source. More... | |
virtual | ~ossimNitfWriterBase () |
virtual void | addRegisteredTag (ossimRefPtr< ossimNitfRegisteredTag > registeredTag) |
virtual void | addRegisteredTag (ossimRefPtr< ossimNitfRegisteredTag > registeredTag, bool unique) |
virtual void | addRegisteredTag (ossimRefPtr< ossimNitfRegisteredTag > registeredTag, bool unique, const ossim_uint32 &ownerIndex, const ossimString &tagType) |
virtual void | setFileHeaderV2_1 (ossimRefPtr< ossimNitfFileHeaderV2_1 >, bool preferSource=false) |
virtual void | setImageHeaderV2_1 (ossimRefPtr< ossimNitfImageHeaderV2_1 >, bool preferSource=false) |
![]() | |
ossimImageFileWriter (const ossimFilename &filename=ossimFilename(), ossimImageSource *inputSource=0, ossimObject *owner=0) | |
The writer will own the sequencer. More... | |
virtual | ~ossimImageFileWriter () |
virtual ossimObject * | getObject () |
virtual const ossimObject * | getObject () const |
virtual void | setTileSize (const ossimIpt &tileSize) |
Sets the output image tiling size if supported by the writer. More... | |
virtual bool | writeEnviHeaderFile () |
Will write an envi header file. More... | |
virtual bool | writeErsHeaderFile () |
Will write an ER Mapper header file. More... | |
virtual bool | writeExternalGeometryFile () |
Will write an external geometry file. More... | |
virtual bool | writeFgdcFile () |
Will write an fgdc file. More... | |
virtual bool | writeHistogramFile () |
Returns true on success, false on error. More... | |
virtual bool | writeJpegWorldFile () |
Will write a jpeg world file. More... | |
virtual bool | writeOverviewFile (ossim_uint16 tiff_compress_type=1, ossim_int32 jpeg_compress_quality=75, bool includeR0=false) |
Write out an ossim overview file from the source_file. More... | |
virtual bool | writeReadmeFile () |
Will write a readme file. More... | |
virtual bool | writeTiffWorldFile () |
Will write a world file. More... | |
virtual bool | writeWorldFile () |
Will write a world file. More... | |
virtual bool | writeMetaDataFiles () |
Convenience method that calls meta data write methods that are flagged to be called. More... | |
virtual void | setAreaOfInterest (const ossimIrect &inputRect) |
virtual void | changeSequencer (ossimImageSourceSequencer *sequencer) |
Sets the sequencer and connects it to the input of this. More... | |
virtual ossimImageSourceSequencer * | getSequencer () |
virtual void | initialize () |
Initialize method. More... | |
virtual bool | execute () |
Calls: writeFile() writeMetaDataFiles() More... | |
virtual bool | setOutputStream (ossimRefPtr< ossimOStream > stream) |
Sets the output stream to write to. More... | |
virtual ossimRefPtr< ossimOStream > | getOutputStream () const |
Method to return the stream attached to output. More... | |
virtual void | setPercentComplete (double percentComplete) |
virtual void | setOutputImageType (ossim_int32 type) |
virtual void | setOutputImageType (const ossimString &type) |
virtual ossim_int32 | getOutputImageType () const |
virtual ossimString | getOutputImageTypeString () const |
virtual void | setOutputName (const ossimString &outputName) |
virtual void | setFilename (const ossimFilename &file) |
virtual const ossimFilename & | getFilename () const |
virtual bool | canConnectMyInputTo (ossim_int32 inputIndex, const ossimConnectableObject *object) const |
required to be overriden by derived classes More... | |
virtual void | disconnectInputEvent (ossimConnectionEvent &event) |
virtual void | connectInputEvent (ossimConnectionEvent &event) |
virtual void | propertyEvent (ossimPropertyEvent &event) |
virtual bool | getWriteImageFlag () const |
Control flags... More... | |
virtual bool | getWriteHistogramFlag () const |
virtual bool | getWriteOverviewFlag () const |
virtual bool | getScaleToEightBitFlag () const |
virtual bool | getWriteEnviHeaderFlag () const |
virtual bool | getWriteErsHeaderFlag () const |
virtual bool | getWriteExternalGeometryFlag () const |
virtual bool | getWriteFgdcFlag () const |
virtual bool | getWriteJpegWorldFileFlag () const |
virtual bool | getWriteReadmeFlag () const |
virtual bool | getWriteTiffWorldFileFlag () const |
virtual bool | getWriteWorldFileFlag () const |
virtual void | setWriteImageFlag (bool flag) |
virtual void | setWriteOverviewFlag (bool flag) |
virtual void | setWriteHistogramFlag (bool flag) |
virtual void | setScaleToEightBitFlag (bool flag) |
virtual void | setWriteEnviHeaderFlag (bool flag) |
virtual void | setWriteErsHeaderFlag (bool flag) |
virtual void | setWriteExternalGeometryFlag (bool flag) |
virtual void | setWriteFgdcFlag (bool flag) |
virtual void | setWriteJpegWorldFile (bool flag) |
virtual void | setWriteReadme (bool flag) |
virtual void | setWriteTiffWorldFile (bool flag) |
virtual void | setWriteWorldFile (bool flag) |
virtual ossim_uint16 | getOverviewCompressType () const |
virtual ossim_int32 | getOverviewJpegCompressQuality () const |
virtual void | setOverviewCompressType (ossim_uint16 type) |
virtual void | setOverviewJpegCompressQuality (ossim_int32 quality) |
virtual bool | addListener (ossimListener *listener) |
Overrides base "addListener" this will capture the pointer and then call the base class "addListener". More... | |
virtual bool | removeListener (ossimListener *listener) |
Overrides base "removeListener". More... | |
virtual void | setPixelType (ossimPixelType type) |
If "point" the coordinate tie points are relative to the center of the pixel. More... | |
virtual void | setPixelType (const ossimString &type) |
If "point" the coordinate tie points are relative to the center of the pixel. More... | |
virtual ossimPixelType | getPixelType () const |
virtual void | getPixelTypeString (ossimString &type) const |
![]() | |
ossimImageWriter (ossimObject *owner=NULL) | |
ossimImageWriter (ossimObject *owner, ossim_uint32 numberOfInputs, ossim_uint32 numberOfOutputs, bool inputListIsFixed, bool outputListIsFixed) | |
virtual | ~ossimImageWriter () |
virtual bool | setViewingRect (const ossimIrect &aRect) |
virtual ossimIrect | getAreaOfInterest () const |
![]() | |
ossimOutputSource (ossimObject *owner=NULL) | |
ossimOutputSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true) | |
virtual | ~ossimOutputSource () |
virtual bool | open (const ossimString &outputName) |
virtual const ossimString & | getOutputName () |
![]() | |
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 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 | 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 |
![]() | |
ossimProcessInterface () | |
virtual | ~ossimProcessInterface () |
virtual void | abort () |
bool | needsAborting () const |
bool | isAbortRequested () const |
bool | isAborted () const |
bool | isExecuting () const |
ossimProcessStatus | getProcessStatus () const |
virtual void | setProcessStatus (ossimProcessStatus processStatus) |
virtual double | getPercentComplete () const |
virtual ossimListenerManager * | getManager () |
void | enableEvents () |
void | disableEvents () |
void | setCurrentMessage (const ossimString &message) |
virtual std::ostream & | print (std::ostream &out) const |
![]() | |
ossimConnectableObjectListener () | |
virtual | ~ossimConnectableObjectListener () |
virtual void | processEvent (ossimEvent &event) |
ProcessEvent. More... | |
virtual void | objectDestructingEvent (ossimObjectDestructingEvent &) |
virtual void | connectionEvent (ossimConnectionEvent &) |
virtual void | disconnectOutputEvent (ossimConnectionEvent &) |
virtual void | connectOutputEvent (ossimConnectionEvent &) |
virtual void | addObjectEvent (ossimContainerEvent &) |
virtual void | removeObjectEvent (ossimContainerEvent &) |
virtual void | containerEvent (ossimContainerEvent &) |
virtual void | refreshEvent (ossimRefreshEvent &) |
![]() | |
ossimListener () | |
virtual | ~ossimListener () |
void | enableListener () |
void | disableListener () |
void | setListenerEnableFlag (bool flag) |
bool | isListenerEnabled () const |
bool | getListenerEnableFlag () const |
Protected Member Functions | |
virtual bool | writeFile () |
Writes the file to disk or a stream. More... | |
![]() | |
void | writeGeometry (ossimNitfImageHeaderV2_X *hdr, ossimImageSourceSequencer *seq) |
Populates tags with geometry info from projection. More... | |
void | addBlockaTag (ossimMapProjectionInfo &mapInfo, ossimNitfImageHeaderV2_X *hdr) |
Adds the BLOCKA tag. More... | |
void | addGeolobTag (const ossimMapProjection *mapProj, ossimNitfImageHeaderV2_X *hdr) |
Adds the GEOLOB tag. More... | |
void | addRpcbTag (const ossimIrect &rect, ossimProjection *proj, ossimNitfImageHeaderV2_X *hdr) |
Adds the RPC00B tag. More... | |
void | setComplexityLevel (std::streamoff, ossimNitfFileHeaderV2_X *hdr) |
Sets the complexity level of theFileHeader. More... | |
void | setComplexityLevel (ossimNitfFileHeaderV2_X *hdr, ossim_uint64 width=0, ossim_uint64 height=0) |
virtual void | initializeDefaultsFromConfigFile (ossimNitfFileHeaderV2_X *fileHdr, ossimNitfImageHeaderV2_X *imgHdr) |
Sets file header and image header defaults from config file if found in preferences. More... | |
![]() | |
bool | writeWorldFile (const ossimFilename &file) |
Common world file writer method. More... | |
![]() | |
ossimSource (const ossimSource &rhs) | |
const ossimSource & | operator= (const ossimSource &rhs) |
![]() | |
ossimConnectableObject * | findObjectOfType (ConnectableObjectList *connectableList, ossimVisitor &visitor) |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
ossimListenerManager (const ossimListenerManager &rhs) | |
Private Attributes | |
ossimKakaduCompressor * | m_compressor |
std::ostream * | m_outputStream |
bool | m_ownsStreamFlag |
Definition at line 26 of file ossimKakaduNitfWriter.h.
ossimKakaduNitfWriter::ossimKakaduNitfWriter | ( | ) |
default constructor
Definition at line 60 of file ossimKakaduNitfWriter.cpp.
|
virtual |
Definition at line 90 of file ossimKakaduNitfWriter.cpp.
References close(), and m_compressor.
|
virtual |
Generic interface to allow one to close a consumer. For displays this might minimize the window and free up internal pointers for file writers it will make sure the file stream is closed and flushed.
Implements ossimOutputSource.
Definition at line 480 of file ossimKakaduNitfWriter.cpp.
References m_outputStream, and m_ownsStreamFlag.
Referenced by open(), and ~ossimKakaduNitfWriter().
|
virtual |
Reimplemented from ossimObject.
Definition at line 112 of file ossimKakaduNitfWriter.cpp.
|
virtual |
Returns a 3-letter extension from the image type descriptor (theOutputImageType) that can be used for image file extensions.
imageType | string representing image type. |
Reimplemented from ossimNitfWriterBase.
Definition at line 495 of file ossimKakaduNitfWriter.cpp.
|
virtual |
Appends this writer image types to list "imageTypeList".
imageTypeList | stl::vector<ossimString> list to append to. |
Implements ossimImageFileWriter.
Definition at line 505 of file ossimKakaduNitfWriter.cpp.
References getShortName().
|
virtual |
Reimplemented from ossimObject.
Definition at line 107 of file ossimKakaduNitfWriter.cpp.
|
virtual |
Examples of writers that always generate internal overviews are ossim_kakadu_jp2 and ossim_kakadu_nitf_j2k.
Reimplemented from ossimImageFileWriter.
Definition at line 500 of file ossimKakaduNitfWriter.cpp.
|
virtual |
name | Name of property to return. |
Reimplemented from ossimNitfWriterBase.
Definition at line 533 of file ossimKakaduNitfWriter.cpp.
References ossimNitfWriterBase::getProperty(), ossimKakaduCompressor::getProperty(), and m_compressor.
|
virtual |
Pushes this's names onto the list of property names.
propertyNames | array to add this's property names to. |
Reimplemented from ossimNitfWriterBase.
Definition at line 546 of file ossimKakaduNitfWriter.cpp.
References ossimNitfWriterBase::getPropertyNames(), ossimKakaduCompressor::getPropertyNames(), and m_compressor.
|
virtual |
Reimplemented from ossimObject.
Definition at line 102 of file ossimKakaduNitfWriter.cpp.
Referenced by getImageTypeList(), and hasImageType().
|
virtual |
bool hasImageType(const ossimString& imageType) const
imageType | string representing image type. |
Reimplemented from ossimImageFileWriter.
Definition at line 510 of file ossimKakaduNitfWriter.cpp.
References getShortName().
|
virtual |
Implements ossimOutputSource.
Definition at line 440 of file ossimKakaduNitfWriter.cpp.
References m_outputStream, and true.
|
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 ossimNitfWriterBase.
Definition at line 432 of file ossimKakaduNitfWriter.cpp.
References ossimNitfWriterBase::loadState(), ossimKakaduCompressor::loadState(), and m_compressor.
|
virtual |
Allows a generic interface to open a consumer for writing. If you are a display writer then you would probably show the window or init the device context for writing.
Implements ossimOutputSource.
Definition at line 445 of file ossimKakaduNitfWriter.cpp.
References ossimString::c_str(), close(), m_outputStream, m_ownsStreamFlag, ossimString::size(), and ossimImageFileWriter::theFilename.
|
virtual |
saves the state of the object.
Reimplemented from ossimNitfWriterBase.
Definition at line 424 of file ossimKakaduNitfWriter.cpp.
References m_compressor, ossimNitfWriterBase::saveState(), and ossimKakaduCompressor::saveState().
|
virtual |
Sets the output stream to write to.
The stream will not be closed/deleted by this object.
output | The stream to write to. |
Reimplemented from ossimImageFileWriter.
Definition at line 554 of file ossimKakaduNitfWriter.cpp.
References m_outputStream, and m_ownsStreamFlag.
|
virtual |
Will set the property whose name matches the argument "property->getName()".
property | Object containing property to set. |
Reimplemented from ossimNitfWriterBase.
Definition at line 521 of file ossimKakaduNitfWriter.cpp.
References m_compressor, ossimNitfWriterBase::setProperty(), ossimKakaduCompressor::setProperty(), and ossimRefPtr< T >::valid().
|
protectedvirtual |
Writes the file to disk or a stream.
Implements ossimImageFileWriter.
Definition at line 117 of file ossimKakaduNitfWriter.cpp.
References ossimErrorStatusInterface::getErrorStatus(), ossimErrorCodes::OSSIM_OK, ossimImageSourceSequencer::setTileSize(), ossimImageFileWriter::theInputConnection, and ossimRefPtr< T >::valid().
|
virtual |
Method to write the image to a stream.
Reimplemented from ossimImageFileWriter.
Definition at line 157 of file ossimKakaduNitfWriter.cpp.
|
private |
Definition at line 138 of file ossimKakaduNitfWriter.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), setProperty(), and ~ossimKakaduNitfWriter().
|
private |
Definition at line 139 of file ossimKakaduNitfWriter.h.
Referenced by close(), isOpen(), open(), and setOutputStream().
|
private |
Definition at line 140 of file ossimKakaduNitfWriter.h.
Referenced by close(), open(), and setOutputStream().