LineMaxTool ClassCognex VisionPro 9.21 SR1

This class provides tool level access to LineMaxOperator functionality.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision.Implementation TrackedItemBase
        Cognex.Vision.Implementation ToolBase
          Cognex.Vision.LineMax.Implementation LineMaxToolBase
            Cognex.Vision.LineMax LineMaxTool

Namespace: Cognex.Vision.LineMax
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.21.1.1
Syntax

public sealed class LineMaxTool : LineMaxToolBase, 
	IObject

The LineMaxTool type exposes the following members.

Constructors

  NameDescription
Public methodLineMaxTool

Constructs a new instance of this class.

Top
Methods

  NameDescription
Public methodCheckRunConditionsSelf

Performs RunCondition check by the tool itself.

(Overrides ToolBase CheckRunConditionsSelf .)
Public methodCopyBase

Create a copy of this tool.

(Overrides ToolBase CopyBase(ToolCopyModeConstants).)
Public methodCreateCurrentRecord

Creates a new set of records that represents the tool's current state.

(Overrides ToolBase CreateCurrentRecord .)
Public methodCreateLastRunRecord

Creates a new set of records that represents the tool's last-run state.

(Overrides ToolBase CreateLastRunRecord .)
Public methodEquals
Compares the equality of this object with another.
(Overrides LineMaxToolBase Equals(Object).)
Public methodGetContainerAsILinkManager

Get the container which contains the Tool.

(Overrides ToolBase GetContainerAsILinkManager .)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides LineMaxToolBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodIsCheckRunConditionsDelegateToOwner

Check if tool checks its RunCondition by its owner.

(Overrides ToolBase IsCheckRunConditionsDelegateToOwner .)
Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodRun

Runs the tool. This method is guaranteed to not throw an exception. Any exception generated in the course of running the tool will be caught and a string representation of that exception will be packaged in the Message property of the tool's RunStatus. Should this occur, the Result property of the tool's RunStatus will be set to Error. It is the user's responsibility to examine the tool's RunStatus after calling Run.

(Overrides ToolBase Run .)
Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two LineMaxTool objects.
Public operatorStatic memberInequality
Compares the inequality of two LineMaxTool objects.
Top
Fields

  NameDescription
Public fieldStatic memberSfInputImage
Public fieldStatic memberSfInputImageMask
Public fieldStatic memberSfInputImageMaskOffsetX
Public fieldStatic memberSfInputImageMaskOffsetY
Public fieldStatic memberSfRegion
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides ChangedEventShareableBase ChangedEventSuspended.)
Public propertyCurrentRecordEnable (Overrides LineMaxToolBase CurrentRecordEnable.)
Public propertyEnabled

Whether the tool is enabled to run. If false, calling the tool's Run function will not actually run the tool and will cause no change in the tool's state.

(Overrides ToolBase Enabled.)
Public propertyFailOnInvalidDataBinding

Whether the tool's Run method is to fail if executed while one or more DataBindings (aka Links) are Invalid.

(Overrides ToolBase FailOnInvalidDataBinding.)
Public propertyHandle (Overrides LineMaxToolBase Handle.)
Public propertyID

Gets the ID of the tracked item.

(Overrides TrackedItemBase ID.)
Public propertyInputImage
Get

Gets the image to be inspected.

Public propertyInputImageMask
Get

Gets the pixel mask of the input image.

Public propertyInputImageMaskOffsetX
Get

Gets the x-offset of the pixel mask.

Public propertyInputImageMaskOffsetY
Get

Gets the y-offset of the pixel mask.

Public propertyInputs

A collection of named Input Pin values.

(Overrides ToolBase Inputs.)
Public propertyLastRunRecordDiagEnable (Overrides LineMaxToolBase LastRunRecordDiagEnable.)
Public propertyLastRunRecordEnable (Overrides LineMaxToolBase LastRunRecordEnable.)
Public propertyName

Get the name of the tracked item.

(Overrides TrackedItemBase Name.)
Public propertyOutputs

A collection of named Output Pin values.

(Overrides ToolBase Outputs.)
Public propertyParent

Return a reference to the containing tracking collection. May be null.

(Overrides TrackedItemBase Parent.)
Public propertyRegion
Get

Gets the inspection region of the input image.

Public propertyResults (Overrides LineMaxToolBase Results.)
Public propertyRunParams
Get

Gets the settings used by Run.

Public propertyRunStatus

Gets general information about the last call to the tool's Run method. Note that serious errors that occur within the tool's Run method may only be detected by examining the RunStatus after calling Run. It is the user's responsibility to examine the tool's RunStatus after calling Run.

(Overrides ToolBase RunStatus.)
Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides ChangedEventShareableBase Changed.)
Public eventNameChanging

This event is raised when the Name is about to change. Note that this is a cancellable event.

(Overrides TrackedItemBase NameChanging.)
Public eventRan

Event that is raised at the end of the tool's Run method.

(Overrides ToolBase Ran.)
Public eventRunning

Event that is raised at the start of the tool's Run method.

(Overrides ToolBase Running.)
Top
See Also