#include <ILineProjectionProcessor.h>
Public Member Functions | |
virtual bool | DoProjection (const iimg::IBitmap &bitmap, const i2d::CLine2d &projectionLine, const IProjectionParams *paramsPtr, imeas::IDataSequence &results)=0 |
Do line projection with explicite projection parameters. More... | |
![]() | |
virtual int | GetProcessorState (const iprm::IParamsSet *paramsPtr) const =0 |
Get state of this processor for processing of specified parameters. More... | |
virtual bool | AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const =0 |
Check if specified parameter set is accepted for this processor. More... | |
virtual int | DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)=0 |
Do synchronized processing. More... | |
virtual int | BeginTask (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)=0 |
Begin new task for this processor and add them to queue. More... | |
virtual int | WaitTaskFinished (int taskId=-1, double timeoutTime=-1, bool killOnTimeout=true)=0 |
Wait for task is finished. More... | |
virtual void | CancelTask (int taskId=-1)=0 |
Remove task from queue. More... | |
virtual int | GetReadyTask ()=0 |
Get the ID of any ready task. More... | |
virtual int | GetTaskState (int taskId=-1) const =0 |
Get actual task state. More... | |
virtual void | InitProcessor (const iprm::IParamsSet *paramsPtr)=0 |
Init processor to optimal process with specified params. More... | |
Additional Inherited Members | |
![]() | |
enum | MessageId { MI_BAD_PARAMS = 0x16372620, MI_PROCESSING_ERROR } |
enum | ProcessorState { PS_UNKNOWN, PS_INITIALIZATION, PS_READY, PS_INVALID } |
State of processing. More... | |
enum | TaskState { TS_NONE, TS_WAIT, TS_OK, TS_CANCELED, TS_INVALID } |
Describe state of task. More... | |
Definition at line 21 of file ILineProjectionProcessor.h.
|
pure virtual |
Do line projection with explicite projection parameters.
© 2007-2017 Witold Gantzke and Kirill Lepskiy