Click or drag to resize

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
Syntax
VB
Public Enumeration mcAutoTraceTraceState
Members
  Member nameValueDescription
mcattsNotEnabled0Tracing is disabled. The termination statewill be mcattsNoResults.
mcattsStopped1Tracing is enabled, but in a stopped state.InitiateTrace must be called. The termination state will be mcattsNoResults or mcattsTermErrXxxxxx. No results are available.
mcattsAwaitingStep2McAutoTrace is awaiting the first StepTracecall. The termination state will be mcattsNoResults.
mcattsTracing3Tracing 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
mcattsStepCompleted4a 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.
mcattsStepTerminated5a 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.
mcattsBaseStateMask15--- Termination state ----
mcattsNoResults0The trace has not been initialized, iscurrently tracing or has been shut down. No results are available
mcattsStepDoneWaitingForNext16The trace state is mcattsStepCompleted.Results are available.
mcattsTerminatedInterrupt32The trace was interrupted into themcattsStepTerminated state. Results are available.
mcattsTerminatedBackHome48The trace reached its starting point.This is usually a normal and satisfactory completion of a trace. Results are available.
mcattsTerminatedNearStart64The trace intersected itself somewherenear the starting point. This is usually a normal and acceptable completion of a trace. Results are available.
mcattsTerminatedDeadEnd80The trace reached a dead end where nopath is available with the required edge quality. Results are available.
mcattsTerminatedBoundary96The trace hit a boundary. Results areavailable.
mcattsTerminatedOutOfAoi112The trace moved outside of theAoi while the TraceControl mcatctHonorAoiBounds bit was set. Results are available.
mcattsTerminatedLoopback128The trace intersected itself somewherefar from the starting point, indicating that the trace encountered a poor edge or pinched-off shape. Results are available.
mcattsTermErrNoStartingDirection528The trace could notbe initialized because the starting point was the same as the last base point. No results are available.
mcattsTermErrTooCloseToEdge544The trace could not beinitialized because the starting point was too close to a bounds edge. No results are available.
mcattsTermErrOutOfAoi560The trace could not beinitialized because the starting point was outside of the Aoi while the TraceControl mcatctHonorAoiBounds bit was set. No results are available.
mcattsTermErrNoStartingEdge576The trace could not beinitialized because no adequate starting edge was found. No results are available.
mcattsTermErrBoundsTooSmall592The 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.
mcattsTerminationStateMask4080--- Overall state ----
mcattsNoPropertyAssignmentsNow4096When 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.
Remarks
A PropertyChanged notify is sent only when the mcattsNoPropertyAssignmentsNow bit changes state, but not for other TraceState transitions.
See Also