OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimIgen.h>
Public Member Functions | |
ossimIgen () | |
virtual | ~ossimIgen () |
virtual void | initialize (const ossimKeywordlist &kwl) |
virtual void | outputProduct () |
Writes the output product image. Throws an ossimException if error encountered. More... | |
![]() | |
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 |
Protected Member Functions | |
void | initializeAttributes () |
void | slaveSetup () |
bool | loadProductSpec () |
void | setView () |
Initializes all clients of the view projection to the current product projection. More... | |
void | initThumbnailProjection () |
Modifies the production chain to output redused-resolution thumbnail image. More... | |
void | initializeChain () |
bool | writeToFile (ossimImageFileWriter *writer) |
Consolidates job of actually writing to the output file. More... | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 37 of file ossimIgen.h.
ossimIgen::ossimIgen | ( | ) |
Definition at line 44 of file ossimIgen.cpp.
References ossimDrect::makeNan(), and theOutputRect.
|
virtual |
Definition at line 63 of file ossimIgen.cpp.
References ossimConnectableContainer::deleteAllChildren(), ossimConnectableObject::disconnect(), theContainer, theProductProjection, and theTiling.
|
virtual |
Definition at line 247 of file ossimIgen.cpp.
References ossimMpi::instance(), slaveSetup(), and theKwl.
|
protected |
Definition at line 72 of file ossimIgen.cpp.
References ossimPreferences::addPreferences(), ossimKeywordlist::find(), ossimMpi::instance(), ossimPreferences::instance(), theBuildThumbnailFlag, theKwl, theProgressFlag, theThumbnailSize, theTilingEnabled, and ossimString::toBool().
Referenced by slaveSetup().
|
protected |
Definition at line 725 of file ossimIgen.cpp.
References ossimRefPtr< T >::get(), ossimImageChain::getBoundingRect(), ossimImageChain::getImageGeometry(), ossimDrect::hasNans(), ossimImageChain::initialize(), ossimImageGeometry::setImageSize(), ossimDrect::size(), ossimDrect::stretchOut(), theOutputRect, and theProductChain.
Referenced by outputProduct(), and setView().
|
protected |
Modifies the production chain to output redused-resolution thumbnail image.
Definition at line 691 of file ossimIgen.cpp.
References ossimMapProjection::applyScale(), ossimRefPtr< T >::get(), ossimDrect::hasNans(), ossimDrect::height(), ossimDrect::lr(), ossim::max(), setView(), theOutputRect, theProductProjection, theThumbnailSize, ossimDrect::ul(), ossimDrect::width(), ossimIpt::x, ossimDpt::x, ossimIpt::y, and ossimDpt::y.
Referenced by outputProduct().
|
protected |
Definition at line 312 of file ossimIgen.cpp.
|
virtual |
Writes the output product image. Throws an ossimException if error encountered.
Definition at line 373 of file ossimIgen.cpp.
References ossimConnectableContainer::accept(), ossimImageChain::addFirst(), ossimImageFileWriter::changeSequencer(), ossimConnectableObject::connectMyInputTo(), ossimMultiThreadSequencer::d_cacheEmptyCount, ossimMultiThreadSequencer::d_idleTime2, ossimMultiThreadSequencer::d_idleTime5, ossimMultiThreadSequencer::d_jobGetTileT, ossimMultiThreadSequencer::d_maxCacheUsed, ossimFilename::dirCat(), ossimConnectableObject::disconnect(), ossimRefPtr< T >::get(), ossimTilingPoly::getExteriorCut(), ossimImageFileWriter::getFilename(), ossimTilingPoly::getInteriorCut(), ossimMultiThreadSequencer::getNumberOfThreads(), ossimCollectionVisitor::getObjectAs(), ossimMultiThreadSequencer::handlerGetTileT(), ossimTilingPoly::hasExteriorCut(), ossimTilingPoly::hasInteriorCut(), ossimTiling::initialize(), ossimImageFileWriter::initialize(), initializeChain(), initThumbnailProjection(), ossimMpi::instance(), ossimFilename::isDir(), ossimTilingPoly::isFeatureBoundingIntersect(), ossimTiling::next(), ossimFilename::path(), ossimImageFileWriter::setAreaOfInterest(), ossimImageFileWriter::setFilename(), ossimImageFileWriter::setOutputStream(), ossimRectangleCutFilter::setRectangle(), setView(), theBuildThumbnailFlag, theContainer, theNumberOfTilesToBuffer, theOutputRect, theProductChain, theProductProjection, theStdoutFlag, theThreadCount, theTiling, theTilingEnabled, ossimString::toString(), ossimTilingPoly::useMbr(), ossimRefPtr< T >::valid(), ossimVisitor::VISIT_CHILDREN, ossimVisitor::VISIT_INPUTS, and writeToFile().
|
protected |
Initializes all clients of the view projection to the current product projection.
Definition at line 653 of file ossimIgen.cpp.
References ossimImageChain::accept(), ossimProjection::dup(), ossimCollectionVisitor::getObjectAs(), ossimCollectionVisitor::getObjects(), initializeChain(), ossimViewInterface::setView(), STATIC_TYPE_INFO, theProductChain, theProductProjection, ossimRefPtr< T >::valid(), ossimVisitor::VISIT_CHILDREN, and ossimVisitor::VISIT_INPUTS.
Referenced by initThumbnailProjection(), and outputProduct().
|
protected |
Definition at line 162 of file ossimIgen.cpp.
References ossimKeywordlist::clear(), ossimMpi::getRank(), initializeAttributes(), ossimMpi::instance(), ossimNotify(), ossimNotifyLevel_WARN, ossimKeywordlist::parseStream(), status, and theKwl.
Referenced by initialize().
|
protected |
Consolidates job of actually writing to the output file.
Definition at line 594 of file ossimIgen.cpp.
References ossimImageFileWriter::addListener(), ossimMpi::instance(), and theProgressFlag.
Referenced by outputProduct().
|
protected |
Definition at line 60 of file ossimIgen.h.
Referenced by initializeAttributes(), and outputProduct().
|
protected |
Definition at line 55 of file ossimIgen.h.
Referenced by outputProduct(), and ~ossimIgen().
|
protected |
Definition at line 63 of file ossimIgen.h.
Referenced by initialize(), initializeAttributes(), and slaveSetup().
|
protected |
Definition at line 62 of file ossimIgen.h.
Referenced by outputProduct().
|
protected |
Definition at line 59 of file ossimIgen.h.
Referenced by initializeChain(), initThumbnailProjection(), ossimIgen(), and outputProduct().
|
protected |
Definition at line 57 of file ossimIgen.h.
Referenced by initializeChain(), outputProduct(), and setView().
|
protected |
Definition at line 56 of file ossimIgen.h.
Referenced by initThumbnailProjection(), outputProduct(), setView(), and ~ossimIgen().
|
protected |
Definition at line 65 of file ossimIgen.h.
Referenced by initializeAttributes(), and writeToFile().
|
protected |
Definition at line 66 of file ossimIgen.h.
Referenced by outputProduct().
|
protected |
Definition at line 67 of file ossimIgen.h.
Referenced by outputProduct().
|
protected |
Definition at line 61 of file ossimIgen.h.
Referenced by initializeAttributes(), and initThumbnailProjection().
|
protected |
Definition at line 58 of file ossimIgen.h.
Referenced by outputProduct(), and ~ossimIgen().
|
protected |
Definition at line 64 of file ossimIgen.h.
Referenced by initializeAttributes(), and outputProduct().