TrainData ClassCognex VisionPro 9.22 SR1

Holds the information needed to train a segmenter.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision.ELCore TrainData
        Cognex.Vision.SmartLine SmartLineTrainData

Namespace: Cognex.Vision.ELCore
Assembly: Cognex.Vision.ELCore.Net (in Cognex.Vision.ELCore.Net.dll) Version: 9.22.2.0
Syntax

public class TrainData : ChangedEventShareableBase, IObject

The TrainData type exposes the following members.

Constructors

  NameDescription
Protected methodTrainData 
Public methodTrainData(IImage, IRegion, RegionModeConstants, ClassItemToShapeAssignmentCollection, Boolean)

Constructs a new instance of this class.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase 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 .)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 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 TrainData objects.
Public operatorStatic memberInequality
Compares the inequality of two TrainData objects.
Top
Fields

  NameDescription
Protected field_interopHandle
Public fieldStatic memberSfIsTraining
Public fieldStatic memberSfLastRunVerificationResult
Top
Properties

  NameDescription
Public propertyAssignments

Gets the class item to shape assignment collection.

Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides ChangedEventShareableBase ChangedEventSuspended.)
Public propertyHandle (Overrides ChangedEventShareableBase Handle.)
Public propertyIdentifier
Get

Gets the unique identifier of the train data.

Public propertyImage

Gets the source image.

Public propertyIsTraining
Get

Gets whether this train data should be taken into account during the training process.

Public propertyLastRunVerificationResult
Get

Gets the result of the last run verification process.

Public propertyRegion

Gets the region of interest.

Public propertyRegionMode

Gets the mode for the region of interest.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides ChangedEventShareableBase Changed.)
Top
See Also