OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimHlzTool.h>
Public Member Functions | |
PatchProcessorJob (ossimHlzTool *hlzUtil, const ossimIpt &origin, ossim_uint32 chip_id=0) | |
virtual bool | level1Test ()=0 |
bool | level2Test () |
bool | maskTest () |
![]() | |
ossimJob () | |
virtual void | start () |
Main entry point to the job. More... | |
std::shared_ptr< ossimJob > | getSharedFromThis () |
This is a convenience method to get the shared representation of this pointer. More... | |
std::shared_ptr< const ossimJob > | getSharedFromThis () const |
This is a convenience method to get the shared representation of this pointer. More... | |
void | setPercentComplete (double value) |
When the pernet complete is set for the job it will call any callbacks and nofity percentCompleteChanged. More... | |
void | setPriority (double value) |
sets the priority of the job More... | |
double | priority () const |
virtual void | release () |
If derived interfaces implement a block this will allow one to release. More... | |
State | state () const |
virtual void | resetState (int value) |
Will clear out the state and the call setState. More... | |
virtual void | setState (int value, bool on=true) |
Will allow you to set the state of the job. More... | |
bool | isCanceled () const |
virtual void | cancel () |
Sets the state if the object as cancelled. More... | |
virtual void | ready () |
Sets the state if the object as ready. More... | |
virtual void | running () |
Sets the state if the object as running. More... | |
virtual void | finished () |
Sets the state if the object as finished. More... | |
bool | isReady () const |
bool | isStopped () const |
bool | isFinished () const |
bool | isRunning () const |
void | setCallback (std::shared_ptr< ossimJobCallback > callback) |
void | setName (const ossimString &value) |
Sets the name of a job. More... | |
const ossimString & | name () const |
void | setId (const ossimString &value) |
const ossimString & | id () const |
void | setDescription (const ossimString &value) |
const ossimString & | description () const |
std::shared_ptr< ossimJobCallback > | callback () |
Public Attributes | |
ossimHlzTool * | m_hlzUtil |
ossimIpt | m_demPatchUL |
ossimIpt | m_demPatchLR |
ossim_uint8 | m_status |
float | m_nullValue |
Static Public Attributes | |
static std::mutex | m_bufMutex |
Protected Member Functions | |
virtual void | run () |
Abstract method and must be overriden by the base class. More... | |
Additional Inherited Members | |
![]() | |
enum | State { ossimJob_NONE = 0, ossimJob_READY = 1, ossimJob_RUNNING = 2, ossimJob_CANCEL = 4, ossimJob_FINISHED = 8, ossimJob_ALL = (ossimJob_READY|ossimJob_RUNNING|ossimJob_CANCEL|ossimJob_FINISHED) } |
This is a Bit vector. More... | |
typedef std::list< std::shared_ptr< ossimJob > > | List |
![]() | |
std::mutex | m_jobMutex |
ossimString | m_name |
ossimString | m_description |
ossimString | m_id |
State | m_state |
double | m_priority |
std::shared_ptr< ossimJobCallback > | m_callback |
Definition at line 98 of file ossimHlzTool.h.
ossimHlzTool::PatchProcessorJob::PatchProcessorJob | ( | ossimHlzTool * | hlzUtil, |
const ossimIpt & | origin, | ||
ossim_uint32 | chip_id = 0 |
||
) |
Definition at line 550 of file ossimHlzTool.cpp.
References ossimHlzTool::m_demFilterSize, m_demPatchLR, m_demPatchUL, m_hlzUtil, ossimIpt::x, and ossimIpt::y.
|
pure virtual |
Implemented in ossimHlzTool::NormPatchProcessorJob, and ossimHlzTool::LsFitPatchProcessorJob.
bool ossimHlzTool::PatchProcessorJob::level2Test | ( | ) |
Definition at line 647 of file ossimHlzTool.cpp.
References ossimPointBlock::empty(), ossimPointCloudHandler::getBlock(), ossimPointCloudHandler::getBounds(), ossimGpt::hgt, ossimGrect::intersects(), ossim::nan(), ossimPointRecord::NumberOfReturns, ossimPointRecord::ReturnNumber, and ossimPointBlock::size().
bool ossimHlzTool::PatchProcessorJob::maskTest | ( | ) |
Definition at line 703 of file ossimHlzTool.cpp.
References ossimImageData::getPix(), ossimIpt::x, and ossimIpt::y.
|
protectedvirtual |
Abstract method and must be overriden by the base class.
The base ossimJob will call run from the start method after setting some variables.
Implements ossimJob.
Definition at line 561 of file ossimHlzTool.cpp.
References ossimIpt::x, and ossimIpt::y.
|
static |
Definition at line 114 of file ossimHlzTool.h.
ossimIpt ossimHlzTool::PatchProcessorJob::m_demPatchLR |
Definition at line 109 of file ossimHlzTool.h.
Referenced by PatchProcessorJob().
ossimIpt ossimHlzTool::PatchProcessorJob::m_demPatchUL |
Definition at line 108 of file ossimHlzTool.h.
Referenced by PatchProcessorJob().
ossimHlzTool* ossimHlzTool::PatchProcessorJob::m_hlzUtil |
Definition at line 107 of file ossimHlzTool.h.
Referenced by PatchProcessorJob().
float ossimHlzTool::PatchProcessorJob::m_nullValue |
Definition at line 111 of file ossimHlzTool.h.
ossim_uint8 ossimHlzTool::PatchProcessorJob::m_status |
Definition at line 110 of file ossimHlzTool.h.