mcAutoTraceTraceState Enumeration
|
|
Values for the McAutoTrace.TraceState property.
Namespace:
MediaCy.IQL.Display.Overlays
Assembly:
MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
SyntaxPublic Enumeration mcAutoTraceTraceState
Members
| Member name | Value | Description |
---|
| mcattsNotEnabled | 0 | Tracing is disabled. The termination statewill be mcattsNoResults. |
| mcattsStopped | 1 | Tracing is enabled, but in a stopped state.InitiateTrace must be called. The termination state will be mcattsNoResults
or mcattsTermErrXxxxxx. No results are available. |
| mcattsAwaitingStep | 2 | McAutoTrace is awaiting the first StepTracecall. The termination state will be mcattsNoResults. |
| mcattsTracing | 3 | Tracing is in process. The terminationstate will be mcattsNoResults. This state exists only during the computation of a
step, so it will never be visible from the thread which calls the
McAutoTrace.StepTrace method to initiate the step. At the completion of a
step the state transitions to either mcattsStepCompleted or mcattsStepTerminated |
| mcattsStepCompleted | 4 | a McAutoTrace.StepTrace request has beencompleted without a terminal condition being reached, and the McAutoTrace is
awaiting another StepTrace call. The termination state will be
mcattsStepDoneWaitingForNext. |
| mcattsStepTerminated | 5 | a McAutoTrace.StepTrace request has beencompleted because a terminal condition has been reached or mcatctInterrupt has been
assigned to the McAutoTrace.TraceControl property. One of the
mcattsTerminatedXxxxx states will be set. InitiateTrace must be called before
tracing can be resumed. |
| mcattsBaseStateMask | 15 | --- Termination state ---- |
| mcattsNoResults | 0 | The trace has not been initialized, iscurrently tracing or has been shut down. No results are available |
| mcattsStepDoneWaitingForNext | 16 | The trace state is mcattsStepCompleted.Results are available. |
| mcattsTerminatedInterrupt | 32 | The trace was interrupted into themcattsStepTerminated state. Results are available. |
| mcattsTerminatedBackHome | 48 | The trace reached its starting point.This is usually a normal and satisfactory completion of a trace. Results are
available. |
| mcattsTerminatedNearStart | 64 | The trace intersected itself somewherenear the starting point. This is usually a normal and acceptable completion of a
trace. Results are available. |
| mcattsTerminatedDeadEnd | 80 | The trace reached a dead end where nopath is available with the required edge quality. Results are available. |
| mcattsTerminatedBoundary | 96 | The trace hit a boundary. Results areavailable. |
| mcattsTerminatedOutOfAoi | 112 | The trace moved outside of theAoi while the TraceControl mcatctHonorAoiBounds bit was set. Results are
available. |
| mcattsTerminatedLoopback | 128 | The trace intersected itself somewherefar from the starting point, indicating that the trace encountered a poor edge or
pinched-off shape. Results are available. |
| mcattsTermErrNoStartingDirection | 528 | The trace could notbe initialized because the starting point was the same as the last base
point. No results are available. |
| mcattsTermErrTooCloseToEdge | 544 | The trace could not beinitialized because the starting point was too close to a bounds edge. No results
are available. |
| mcattsTermErrOutOfAoi | 560 | The trace could not beinitialized because the starting point was outside of the Aoi while the
TraceControl mcatctHonorAoiBounds bit was set. No results are available. |
| mcattsTermErrNoStartingEdge | 576 | The trace could not beinitialized because no adequate starting edge was found. No results are available. |
| mcattsTermErrBoundsTooSmall | 592 | The trace could not beinitialized because the bounds (of the image, Aoi or assigned), scaled by the
SizeRatio, are too small to establish a boundary to track. Use a larger bounds or
smaller SizeRatio. No results are available. |
| mcattsTerminationStateMask | 4080 | --- Overall state ---- |
| mcattsNoPropertyAssignmentsNow | 4096 | When this bit is set, assignmentsto most properties are illegal and will result in an error. The
TraceDelayInterval and action assignments to the TraceControl property are always
allowed. Other property assignments are legal only when the mcattsBaseStateMask
is mcattsNotEnabled, mcattsStopped or mcattsStepTerminated. A PropertyChanged
notify is sent when this bit changes state, but not for other TraceState
transitions. |
RemarksA PropertyChanged notify is sent only when the mcattsNoPropertyAssignmentsNow
bit changes state, but not for other TraceState transitions.
See Also