ICogShapeModel PropertiesCognex VisionPro 9.5

The ICogShapeModel type exposes the following members.

Properties

  NameDescription
Public propertyColor
Color of this graphic. Can be any OLE_COLOR.
Public propertyInteractive
Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object.
Public propertyLineStyle
Line style of this graphic.
Public propertyLineWidthInScreenPixels
Line width (in screen pixels) of this graphic.
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).
(Inherited from ICogModelFeature.)
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.
(Inherited from ICogModelFeature.)
Public propertyPolarityAdornment
Returns/sets the polarity adornment of this CogShapeModel.
Public propertySelectedSpaceName
Coordinate space in which this shape is to be interpreted.
Public propertyShape
Returns a reference to the shape object associated with this model feature. The Weight and Polarity are applied to this shape when it is used as a synthetic model.
Public propertySubFeatureCount
Returns the number of subfeatures of this CogShapeModel. The subfeatures can be iterated by calling CreateSubFeatureIterator.
Public propertyTipText
Text to describe this graphic in a tool tip.
Public propertyVisible
Visible property of this graphic.
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.
(Inherited from ICogModelFeature.)
Top
See Also