OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimMpiSlaveOverviewSequencer.h>
Public Member Functions | |
ossimMpiSlaveOverviewSequencer () | |
default constructor More... | |
virtual bool | isMaster () const |
virtual void | initialize () |
This must be called. More... | |
virtual void | setToStartOfSequence () |
Will set the internal pointers to the upperleft tile number. More... | |
virtual void | slaveProcessTiles () |
This is a trigger to start resampling tiles. 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 ossimRefPtr< ossimImageData > | getNextTile () |
Will allow you to get the next tile in the sequence. More... | |
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 | ~ossimMpiSlaveOverviewSequencer () |
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 21 of file ossimMpiSlaveOverviewSequencer.h.
ossimMpiSlaveOverviewSequencer::ossimMpiSlaveOverviewSequencer | ( | ) |
default constructor
Definition at line 26 of file ossimMpiSlaveOverviewSequencer.cpp.
References ossimOverviewSequencer::m_currentTileNumber, m_numberOfProcessors, and m_rank.
|
protectedvirtual |
|
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 61 of file ossimMpiSlaveOverviewSequencer.cpp.
References ossimOverviewSequencer::initialize(), ossimOverviewSequencer::m_currentTileNumber, and m_rank.
|
virtual |
Reimplemented from ossimOverviewSequencer.
Definition at line 56 of file ossimMpiSlaveOverviewSequencer.cpp.
|
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 68 of file ossimMpiSlaveOverviewSequencer.cpp.
References ossimOverviewSequencer::m_currentTileNumber, and m_rank.
|
virtual |
This is a trigger to start resampling tiles.
Reimplemented from ossimOverviewSequencer.
Definition at line 85 of file ossimMpiSlaveOverviewSequencer.cpp.
References ossim::byteOrder(), ossimImageData::getBuf(), ossimOverviewSequencer::getNextTile(), ossimOverviewSequencer::getNumberOfTiles(), ossimImageSource::getOutputScalarType(), ossimRectilinearDataObject::getScalarType(), ossimImageData::getSize(), ossimImageData::getSizeInBytes(), ossimOverviewSequencer::m_currentTileNumber, ossimOverviewSequencer::m_imageHandler, m_numberOfProcessors, ossimOverviewSequencer::m_tile, OSSIM_BIG_ENDIAN, OSSIM_UINT8, ossimEndian::swap(), and ossimRefPtr< T >::valid().
|
protected |
Definition at line 62 of file ossimMpiSlaveOverviewSequencer.h.
Referenced by ossimMpiSlaveOverviewSequencer(), and slaveProcessTiles().
|
protected |
Definition at line 61 of file ossimMpiSlaveOverviewSequencer.h.
Referenced by initialize(), ossimMpiSlaveOverviewSequencer(), and setToStartOfSequence().