The parameters passed to blendIntoRaster1Thread method. More...
#include <Blender.h>
Public Member Functions | |
BlendIntoRaster1ThreadParams () | |
BlendIntoRaster1ThreadParams (const BlendIntoRaster1ThreadParams &rhs) | |
BlendIntoRaster1ThreadParams & | operator= (const BlendIntoRaster1ThreadParams &rhs) |
~BlendIntoRaster1ThreadParams () | |
Public Attributes | |
bool * | m_abortValuePtr |
A pointer to the abort execution value. More... | |
BlendMethod | m_blendMethod |
The blend method to apply. More... | |
boost::mutex * | m_blockProcessedSignalMutexPtr |
Mutex used to update the main process progress update. More... | |
boost::condition_variable * | m_blockProcessedSignalPtr |
Signal used to update the main process progress update. More... | |
bool | m_forceRaster1NoDataValue |
Use noDataValue as the input rasters no-data value (The original rasters no-data values will be ignored) More... | |
bool | m_forceRaster2NoDataValue |
Use noDataValue as the input rasters no-data value (The original rasters no-data values will be ignored) More... | |
std::auto_ptr < te::gm::GeometricTransformation > | m_geomTransformationPtr |
A transformation mapping raster 1 pixels ( te::gm::GTParameters::TiePoint::first ) to raster 2 pixels ( te::gm::GTParameters::TiePoint::second ) (Note: all coords are indexed by lines/columns). More... | |
te::rst::Interpolator::Method | m_interpMethod2 |
The interpolation method to use when reading raster 2 data. More... | |
unsigned long int | m_maxRasterCachedBlocks |
The maximum number of raster cache blocks. More... | |
boost::mutex * | m_mutexPtr |
mutex pointer. More... | |
double | m_noDataValue |
The value returned where there is no pixel data bo blend. More... | |
std::vector< double > | m_pixelOffsets1 |
The values offset to be applied to raster 1 pixel values before the blended value calcule (one element for each used raster channel/band). More... | |
std::vector< double > | m_pixelOffsets2 |
The values offset to be applied to raster 2 pixel values before the blended value calcule (one element for each used raster channel/band). More... | |
std::vector< double > | m_pixelScales1 |
The values scale to be applied to raster 1 pixel values before the blended value calcule (one element for each used raster channel/band). More... | |
std::vector< double > | m_pixelScales2 |
The values scale to be applied to raster 2 pixel values before the blended value calcule (one element for each used raster channel/band). More... | |
std::auto_ptr < te::gm::MultiPolygon > | m_r1ValidDataDelimiterPtr |
A pointer to a geometry (raster 1 world/projected coords) delimiting the raster region with valid data, or null if all raster data area is valid. More... | |
std::auto_ptr < te::gm::MultiPolygon > | m_r2ValidDataDelimiterPtr |
A pointer to a geometry (raster 2 world/projected coords) delimiting the raster region with valid data, or null if all raster data area is valid. More... | |
std::vector< unsigned int > | m_raster1Bands |
Input raster 1 band indexes to use. More... | |
std::vector< RasterBlockInfo > * | m_raster1BlocksInfosPtr |
blocks to process. More... | |
std::vector< unsigned int > | m_raster2Bands |
Input raster 2 band indexes to use (this vector has the same size as raster1Bands). More... | |
bool * | m_returnValuePtr |
A pointer to the threadreturn value. More... | |
unsigned int * | m_runningThreadsCounterPtr |
a pointer to the running threads counter. More... | |
te::rst::RasterSynchronizer * | m_sync1Ptr |
Raster 1 syncronizer pointer. More... | |
te::rst::RasterSynchronizer * | m_sync2Ptr |
Raster 1 syncronizer pointer. More... | |
bool | m_useProgress |
If enabled each thread will use its own progress interface, if false only a signal will be emitted on each processed block. More... | |
te::rp::Blender::BlendIntoRaster1ThreadParams::BlendIntoRaster1ThreadParams | ( | ) |
Definition at line 81 of file Blender.cpp.
te::rp::Blender::BlendIntoRaster1ThreadParams::BlendIntoRaster1ThreadParams | ( | const BlendIntoRaster1ThreadParams & | rhs | ) |
Definition at line 93 of file Blender.cpp.
te::rp::Blender::BlendIntoRaster1ThreadParams::~BlendIntoRaster1ThreadParams | ( | ) |
Definition at line 99 of file Blender.cpp.
te::rp::Blender::BlendIntoRaster1ThreadParams & te::rp::Blender::BlendIntoRaster1ThreadParams::operator= | ( | const BlendIntoRaster1ThreadParams & | rhs | ) |
Definition at line 103 of file Blender.cpp.
References m_abortValuePtr, m_blendMethod, te::rp::Blender::m_blendMethod, m_blockProcessedSignalMutexPtr, m_blockProcessedSignalPtr, m_forceRaster1NoDataValue, te::rp::Blender::m_forceRaster1NoDataValue, m_forceRaster2NoDataValue, te::rp::Blender::m_forceRaster2NoDataValue, m_geomTransformationPtr, te::rp::Blender::m_geomTransformationPtr, m_interpMethod2, te::rp::Blender::m_interpMethod2, m_maxRasterCachedBlocks, m_mutexPtr, m_noDataValue, m_pixelOffsets1, te::rp::Blender::m_pixelOffsets1, m_pixelOffsets2, te::rp::Blender::m_pixelOffsets2, m_pixelScales1, te::rp::Blender::m_pixelScales1, m_pixelScales2, te::rp::Blender::m_pixelScales2, m_r1ValidDataDelimiterPtr, te::rp::Blender::m_r1ValidDataDelimiterPtr, m_r2ValidDataDelimiterPtr, te::rp::Blender::m_r2ValidDataDelimiterPtr, m_raster1Bands, te::rp::Blender::m_raster1Bands, m_raster1BlocksInfosPtr, m_raster2Bands, te::rp::Blender::m_raster2Bands, m_returnValuePtr, m_runningThreadsCounterPtr, m_sync1Ptr, m_sync2Ptr, and m_useProgress.
bool* te::rp::Blender::BlendIntoRaster1ThreadParams::m_abortValuePtr |
A pointer to the abort execution value.
Definition at line 180 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
BlendMethod te::rp::Blender::BlendIntoRaster1ThreadParams::m_blendMethod |
The blend method to apply.
Definition at line 190 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
boost::mutex* te::rp::Blender::BlendIntoRaster1ThreadParams::m_blockProcessedSignalMutexPtr |
Mutex used to update the main process progress update.
Definition at line 185 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
boost::condition_variable* te::rp::Blender::BlendIntoRaster1ThreadParams::m_blockProcessedSignalPtr |
Signal used to update the main process progress update.
Definition at line 186 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
bool te::rp::Blender::BlendIntoRaster1ThreadParams::m_forceRaster1NoDataValue |
Use noDataValue as the input rasters no-data value (The original rasters no-data values will be ignored)
Definition at line 193 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
bool te::rp::Blender::BlendIntoRaster1ThreadParams::m_forceRaster2NoDataValue |
Use noDataValue as the input rasters no-data value (The original rasters no-data values will be ignored)
Definition at line 194 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::auto_ptr< te::gm::GeometricTransformation > te::rp::Blender::BlendIntoRaster1ThreadParams::m_geomTransformationPtr |
A transformation mapping raster 1 pixels ( te::gm::GTParameters::TiePoint::first ) to raster 2 pixels ( te::gm::GTParameters::TiePoint::second ) (Note: all coords are indexed by lines/columns).
Definition at line 201 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1Thread(), and operator=().
te::rst::Interpolator::Method te::rp::Blender::BlendIntoRaster1ThreadParams::m_interpMethod2 |
The interpolation method to use when reading raster 2 data.
Definition at line 191 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
unsigned long int te::rp::Blender::BlendIntoRaster1ThreadParams::m_maxRasterCachedBlocks |
The maximum number of raster cache blocks.
Definition at line 202 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1Thread(), and operator=().
boost::mutex* te::rp::Blender::BlendIntoRaster1ThreadParams::m_mutexPtr |
mutex pointer.
Definition at line 184 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
double te::rp::Blender::BlendIntoRaster1ThreadParams::m_noDataValue |
The value returned where there is no pixel data bo blend.
Definition at line 192 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::vector< double > te::rp::Blender::BlendIntoRaster1ThreadParams::m_pixelOffsets1 |
The values offset to be applied to raster 1 pixel values before the blended value calcule (one element for each used raster channel/band).
Definition at line 195 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::vector< double > te::rp::Blender::BlendIntoRaster1ThreadParams::m_pixelOffsets2 |
The values offset to be applied to raster 2 pixel values before the blended value calcule (one element for each used raster channel/band).
Definition at line 197 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::vector< double > te::rp::Blender::BlendIntoRaster1ThreadParams::m_pixelScales1 |
The values scale to be applied to raster 1 pixel values before the blended value calcule (one element for each used raster channel/band).
Definition at line 196 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::vector< double > te::rp::Blender::BlendIntoRaster1ThreadParams::m_pixelScales2 |
The values scale to be applied to raster 2 pixel values before the blended value calcule (one element for each used raster channel/band).
Definition at line 198 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::auto_ptr< te::gm::MultiPolygon > te::rp::Blender::BlendIntoRaster1ThreadParams::m_r1ValidDataDelimiterPtr |
A pointer to a geometry (raster 1 world/projected coords) delimiting the raster region with valid data, or null if all raster data area is valid.
Definition at line 199 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::auto_ptr< te::gm::MultiPolygon > te::rp::Blender::BlendIntoRaster1ThreadParams::m_r2ValidDataDelimiterPtr |
A pointer to a geometry (raster 2 world/projected coords) delimiting the raster region with valid data, or null if all raster data area is valid.
Definition at line 200 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::vector< unsigned int > te::rp::Blender::BlendIntoRaster1ThreadParams::m_raster1Bands |
Input raster 1 band indexes to use.
Definition at line 188 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::vector< RasterBlockInfo >* te::rp::Blender::BlendIntoRaster1ThreadParams::m_raster1BlocksInfosPtr |
blocks to process.
Definition at line 183 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
std::vector< unsigned int > te::rp::Blender::BlendIntoRaster1ThreadParams::m_raster2Bands |
Input raster 2 band indexes to use (this vector has the same size as raster1Bands).
Definition at line 189 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
bool* te::rp::Blender::BlendIntoRaster1ThreadParams::m_returnValuePtr |
A pointer to the threadreturn value.
Definition at line 179 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
unsigned int* te::rp::Blender::BlendIntoRaster1ThreadParams::m_runningThreadsCounterPtr |
a pointer to the running threads counter.
Definition at line 187 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
te::rst::RasterSynchronizer* te::rp::Blender::BlendIntoRaster1ThreadParams::m_sync1Ptr |
Raster 1 syncronizer pointer.
Definition at line 181 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
te::rst::RasterSynchronizer* te::rp::Blender::BlendIntoRaster1ThreadParams::m_sync2Ptr |
Raster 1 syncronizer pointer.
Definition at line 182 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::Blender::blendIntoRaster1Thread(), and operator=().
bool te::rp::Blender::BlendIntoRaster1ThreadParams::m_useProgress |
If enabled each thread will use its own progress interface, if false only a signal will be emitted on each processed block.
Definition at line 203 of file Blender.h.
Referenced by te::rp::Blender::blendIntoRaster1Thread(), and operator=().