TrainDataDatabase ClassCognex VisionPro 9.24

Represents a database which provides data for training a segmenter.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision.ELCore TrainDataDatabase

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

public sealed class TrainDataDatabase : ChangedEventShareableBase, 
	IObject

The TrainDataDatabase type exposes the following members.

Constructors

  NameDescription
Public methodTrainDataDatabase

Constructs a new instance of this class.

Top
Methods

  NameDescription
Public methodAdd

Adds the specified item to the database.

Public methodClear

Clears all training data items from the database.

Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(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 .)
Public methodRemove

Removes the specified item from the database.

Public methodReplace

Replaces the specified item in the database.

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 .)
Public methodVerify

Runs verification on each train data in this database if the Verifier has been set.

Top
Operators

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

  NameDescription
Public fieldStatic memberSfVerifier
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides ChangedEventShareableBase ChangedEventSuspended.)
Public propertyHandle (Overrides ChangedEventShareableBase Handle.)
Public propertyHasDataForTraining

Returns whether this database is ready for training. A database is ready for training when there is at least one TrainData with property IsTraining set to true and with at least one ClassItemToShapeAssignment in its Assignments.

Public propertyTrainingData

Gets the readonly-collection of training items in the database.

Public propertyVerifier
Get

Gets the Verifier object to be used when running verification on this database.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides ChangedEventShareableBase Changed.)
Public eventItemAdded

Occurs after an item is added to this database.

Public eventItemAdding

Occurs before an item is added to this database.

Public eventItemRemoved

Occurs after an item is removed from this database.

Top
See Also