CogModelFeatureIteratorGC PropertiesCognex VisionPro 9.7

The CogModelFeatureIteratorGC type exposes the following members.

Properties

  NameDescription
Public propertyAttributes
Returns property bits describing which iterator methods can be called at the current position of the iterator.
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyContainer
Returns a reference to the container object being iterated. This can be used for identifying the iterator's container.
Public propertyIsEnd
Returns True if this iterator is positioned past the last item of the sequence. If True, calling MoveToNext will return an error, and attempting to read item properties will produce an error. Moving the iterator to a valid item will validate it.
Public propertyIsFirst
Returns True if this is the first item. If True, a call to MoveToPrevious would return an error.
Public propertyIsInvalid
Returns True if this iterator is not positioned at a valid item. If True, reading or writing any item properties will produce errors.
Public propertyParentFeature
If this feature has a ParentFeature, then Weight and Polarity are defined with respect to the parent. The effective weight (or polarity) of this feature is its Weight (or Polarity) times the parent's effective weight (or polarity).
Public propertyPolarity
Returns/sets the polarity of this feature. The polarity of a given feature may be -1, 0(undefined), or +1. Polarities of +1 or -1 define where to find brighter pixels relative to the feature geometry, and 0 means undefined.
Public propertyPosition
Returns the position of the iterator in the container.
Public propertyWeight
Returns/sets the weight of this feature. The weight of a feature determines its relative importance compared to other features of the model. The weight defaults to 1.0.
Top
See Also