OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimMpiMasterOverviewSequencer.h>
Public Member Functions | |
ossimMpiMasterOverviewSequencer () | |
default constructor More... | |
virtual void | initialize () |
This must be called. More... | |
virtual void | setToStartOfSequence () |
Will set the internal pointers to the upperleft tile number. More... | |
virtual ossimRefPtr< ossimImageData > | getNextTile () |
Will allow you to get the next tile in the sequence. More... | |
![]() | |
ossimOverviewSequencer () | |
default constructor More... | |
ossim_uint32 | getNumberOfTiles () const |
ossim_uint32 | getNumberOfTilesHorizontal () const |
ossim_uint32 | getNumberOfTilesVertical () const |
virtual void | getOutputImageRectangle (ossimIrect &rect) const |
Gets the zero-based image rectangle for the output reduced resolution data set (rrds). More... | |
void | setImageHandler (ossimImageHandler *input) |
Sets the input source or connection. More... | |
void | setBitMaskObjects (ossimBitMaskWriter *mask_writer, ossimMaskFilter *mask_filter) |
Enabled the generation of an alpha (bit) mask such that any full or partial null pixels will be masked out. More... | |
void | setSourceLevel (ossim_uint32 level) |
Sets the input source resolution to decimate from. More... | |
ossimHistogramMode | getHistogramMode () const |
Gets the histogram accumulation mode. More... | |
void | setHistogramMode (ossimHistogramMode mode) |
Sets the histogram accumulation mode. More... | |
void | writeHistogram () |
Write histogram method. More... | |
void | writeHistogram (const ossimFilename &file) |
Write histogram method that takes a file name. More... | |
virtual void | slaveProcessTiles () |
This implementation does nothing. More... | |
virtual bool | isMaster () const |
ossimIpt | getTileSize () const |
void | setTileSize (const ossimIpt &pt) |
updated the tile size. More... | |
void | setResampleType (ossimFilterResampler::ossimFilterResamplerType resampleType) |
Sets the resampling type. More... | |
void | setScanForMinMax (bool flag) |
Turn on/off scan for min max flag. More... | |
bool | getScanForMinMax () const |
void | setScanForMinMaxNull (bool flag) |
Turn on/off scan for min, max, null flag. More... | |
bool | getScanForMinMaxNull () const |
bool | writeOmdFile (const std::string &file) |
Writes an ossim metadata(omd) file with min, max, null values. 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 |
![]() | |
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 |
virtual std::ostream & | print (std::ostream &out) const |
Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
Protected Member Functions | |
virtual | ~ossimMpiMasterOverviewSequencer () |
virtual destructor More... | |
![]() | |
virtual | ~ossimOverviewSequencer () |
virtual destructor More... | |
void | getInputTileRectangle (ossimIrect &inputRect) const |
Gets the image rectangle for the input tile for theCurrentTileNumber. More... | |
void | getOutputTileRectangle (ossimIrect &outputRect) const |
Gets the image rectangle for the output tile for theCurrentTileNumber. More... | |
void | updateTileDimensions () |
Updates theNumberOfTilesHorizontal and theNumberOfTilesVertical. More... | |
void | resampleTile (const ossimImageData *inputTile) |
Resamples a patch of data. More... | |
template<class T > | |
void | resampleTile (const ossimImageData *inputTile, T dummy) |
void | clearMinMaxNullArrays () |
Clears out the arrays from a scan for min, max, nulls. More... | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 24 of file ossimMpiMasterOverviewSequencer.h.
ossimMpiMasterOverviewSequencer::ossimMpiMasterOverviewSequencer | ( | ) |
default constructor
Definition at line 21 of file ossimMpiMasterOverviewSequencer.cpp.
References ossimOverviewSequencer::m_currentTileNumber, m_numberOfProcessors, and m_rank.
|
protectedvirtual |
|
virtual |
Will allow you to get the next tile in the sequence.
Note the last tile returned will be an invalid ossimRefPtr<ossimImageData>. Callers should be able to do:
ossimRefPtr<ossimImageData> id = sequencer->getNextTile(); while (id.valid()) { doSomething; id = sequencer->getNextTile(); }
Reimplemented from ossimOverviewSequencer.
Definition at line 54 of file ossimMpiMasterOverviewSequencer.cpp.
References ossim::byteOrder(), ossimImageData::getBuf(), ossimOverviewSequencer::getNextTile(), ossimOverviewSequencer::getNumberOfTiles(), ossimImageSource::getOutputScalarType(), ossimOverviewSequencer::getOutputTileRectangle(), ossimRectilinearDataObject::getScalarType(), ossimImageData::getSize(), ossimImageData::getSizeInBytes(), ossimOverviewSequencer::m_currentTileNumber, ossimOverviewSequencer::m_dirtyFlag, ossimOverviewSequencer::m_imageHandler, m_numberOfProcessors, ossimOverviewSequencer::m_tile, OSSIM_BIG_ENDIAN, OSSIM_UINT8, ossimImageData::setImageRectangle(), ossimEndian::swap(), ossimRefPtr< T >::valid(), and ossimImageData::validate().
|
virtual |
This must be called.
We can only initialize this object completely if we know all connections are valid. Some other object drives this and so the connection's initialize will be called after. The job of this connection is to set up the sequence. It will default to the bounding rect. The area of interest can be set to some other rectagle (use setAreaOfInterest).
Reimplemented from ossimOverviewSequencer.
Definition at line 44 of file ossimMpiMasterOverviewSequencer.cpp.
References ossimOverviewSequencer::initialize().
|
virtual |
Will set the internal pointers to the upperleft tile number.
To go to the next tile in the sequence just call getNextTile.
Reimplemented from ossimOverviewSequencer.
Definition at line 49 of file ossimMpiMasterOverviewSequencer.cpp.
References ossimOverviewSequencer::m_currentTileNumber.
|
protected |
Definition at line 69 of file ossimMpiMasterOverviewSequencer.h.
Referenced by getNextTile(), and ossimMpiMasterOverviewSequencer().
|
protected |
Definition at line 68 of file ossimMpiMasterOverviewSequencer.h.
Referenced by ossimMpiMasterOverviewSequencer().