CogCoreConverters MethodsCognex VisionPro 9.21 SR1

The CogCoreConverters type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from 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
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMakeCircle
Create a Deep Copy of the provided CogCircle VisionPro object in the form of a Circle Vision object.
Public methodStatic memberMakeCircleDOFConstants
Return a CircleDOFEnable value that corresponds to the supplied CogCircleDOFEnable value.
Public methodStatic memberMakeCircularAnnulusSection
Create a Deep Copy of the provided CogCircularAnnulusSection VisionPro object in the form of a CircularAnnulusSection Vision object.
Public methodStatic memberMakeCircularAnnulusSectionDOFConstants
Return a CircularAnnulusSectionDOFEnable value that corresponds to the supplied CogCircularAnnulusSectionDOFEnable value.
Public methodStatic memberMakeCogCircle
Create a Deep Copy of the provided Circle Vision object in the form of a CogCircle VisionPro object.
Public methodStatic memberMakeCogCircleDOFConstants
Public methodStatic memberMakeCogCircularAnnulusSection
Create a Deep Copy of the provided CircularAnnulusSection Vision object in the form of a CogCircularAnnulusSection VisionPro object.
Public methodStatic memberMakeCogCircularAnnulusSectionDOFConstants
Public methodStatic memberMakeCogColorConstant
Create an equivalent VisionPro CogColorConstants from the RGB portion of a provided Vision Color32.
Public methodStatic memberMakeCogCompositeShape
Create a Deep Copy of the provided CompositeShape Vision object in the form of a CogCompositeShape VisionPro object. Currently this handles copying only the following shapes: Line, LineSegment, Ellipse, GeneralContour and GraphicLabel.
Public methodStatic memberMakeCogCompositeShapeCompositionModeConstants
Return a CogCompositeShapeCompositionModeConstants value that corresponds to the supplied CompositeShapeCompositionModeConstants value.
Public methodStatic memberMakeCogCompositeShapeDOFConstants
Public methodStatic memberMakeCogCoordinateSpaceTree
Create a Deep Copy of the provided CoordinateSpaceTree Vision object in the form of a CogCoordinateSpaceTree VisionPro object, maintaining the same structure (names, parent-child relationships, and transforms).
Public methodStatic memberMakeCogEllipse
Create a Deep Copy of the provided Ellipse Vision object in the form of a CogEllipse VisionPro object.
Public methodStatic memberMakeCogEllipseDOFConstants
Public methodStatic memberMakeCogEllipticalAnnulusSection
Create a Deep Copy of the provided EllipticalAnnulusSection Vision object in the form of a CogEllipticalAnnulusSection VisionPro object.
Public methodStatic memberMakeCogEllipticalAnnulusSectionDOFConstants
Public methodStatic memberMakeCogGeneralContour
Create a Deep Copy of the provided GeneralContour Vision object in the form of a CogGeneralContour VisionPro object. Currently this handles copying only LineSegments.
Public methodStatic memberMakeCogGeneralContourDOFConstants
Public methodStatic memberMakeCogGeneralContourVertexConstants
Public methodStatic memberMakeCogGraphicCollection
Create a Deep Copy of the provided GraphicCollection Vision object in the form of a CogGraphicCollection VisionPro object. Currently this handles copying only CompositeShape and GraphicLabel.
Public methodStatic memberMakeCogGraphicDOFConstants
Public methodStatic memberMakeCogGraphicLabel
Create a Deep Copy of the provided GraphicLabel Vision object in the form of a CogGraphicLabel VisionPro object.
Public methodStatic memberMakeCogGraphicLabelAlignmentConstants
Return a CogGraphicLabelAlignmentConstants value that corresponds to the supplied GraphicLabelAlignmentConstants value.
Public methodStatic memberMakeCogGraphicLineStyleConstants
Return a CogGraphicLineStyleConstants value that corresponds to the supplied GraphicLineStyleConstants value.
Public methodStatic memberMakeCogImage16EncodingConstants
Return a CogImage16EncodingConstants value that corresponds to the supplied Image16EncodingConstants value.
Public methodStatic memberMakeCogImage16Grey
Create a VisionPro CogImage16Grey that is a deep copy of the provided Vision Image16Grey, maintaining both pixel data and coordinate space tree equivalence.
Public methodStatic memberMakeCogImage24PlanarColor
Create a VisionPro CogImage24PlanarColor that is a deep copy of the provided Vision Image24PlanarColor, maintaining both pixel data and coordinate space tree equivalence.
Public methodStatic memberMakeCogImage8Grey
Create a VisionPro CogImage8Grey that is a deep copy of the provided Vision Image8Grey, maintaining both pixel data and coordinate space tree equivalence.
Public methodStatic memberMakeCogImageColorSpaceConstants
Return a CogImageColorSpaceConstants value that corresponds to the supplied ImageColorSpaceConstants value.
Public methodStatic memberMakeCogLine
Create a Deep Copy of the provided Line Vision object in the form of a CogLine VisionPro object.
Public methodStatic memberMakeCogLineAdornmentConstants
Create an equivalent VisionPro CogLineAdornmentConstants from the LineAdornmentConstants option.
Public methodStatic memberMakeCogLineDOFConstants
Public methodStatic memberMakeCogLineSegment
Create a Deep Copy of the provided LineSegment Vision object in the form of a CogLineSegment VisionPro object.
Public methodStatic memberMakeCogLineSegmentAdornmentConstants
Create an equivalent VisionPro CogLineSegmentAdornmentConstants from the LineSegmentAdornmentConstants option.
Public methodStatic memberMakeCogLineSegmentDOFConstants
Public methodStatic memberMakeCogMaskGraphic
Create a Deep Copy of the provided MaskGraphic Vision object in the form of a CogMaskGraphic VisionPro object.
Public methodStatic memberMakeCogMaskGraphicTransparencyConstant
Create an equivalent VisionPro CogMaskGraphicTransparencyConstants from the Alpha portion of a provided Vision Color32.
Public methodStatic memberMakeCogPolygon
Create a Deep Copy of the provided Polygon Vision object in the form of a CogPolygon VisionPro object.
Public methodStatic memberMakeCogPolygonDOFConstants
Public methodStatic memberMakeCogRecord
Create a Deep Copy of the provided Record Vision object in the form of a CogRecord VisionPro object, maintaining the same property values, eg. Content, RecordUsage, etc. and the same SubRecord structure.
Public methodStatic memberMakeCogRecordUsageConstants
Return a CogRecordUsageConstants value that corresponds to the supplied RecordUsageConstants value.
Public methodStatic memberMakeCogRectangle
Create a Deep Copy of the provided Rectangle Vision object in the form of a CogRectangle VisionPro object.
Public methodStatic memberMakeCogRectangleAffine
Create a Deep Copy of the provided RectangleAffine Vision object in the form of a CogRectangleAffine VisionPro object.
Public methodStatic memberMakeCogRectangleAffineDOFConstants
Public methodStatic memberMakeCogRectangleDOFConstants
Public methodStatic memberMakeCogRegion
Create a Deep Copy of the provided IRegion Vision object in the form of an ICogRegion VisionPro object.
Public methodStatic memberMakeCogRunStatus
Create a CogRunStatus object from the supplied RunStatus object.
Public methodStatic memberMakeCogSerializationOptionsConstants
Public methodStatic memberMakeCogStandardCursorConstants
Return a CogStandardCursorConstants value that corresponds to the supplied StandardCursorConstants value.
Public methodStatic memberMakeCogToolResultConstants
Return a CogToolResultConstants value that corresponds to the supplied ToolResultConstants value.
Public methodStatic memberMakeCogTransform2D
Create a Deep Copy of the provided ITransform2D Vision object in the form of an ICogTransform2D VisionPro object, maintaining numeric equivalence.
Public methodStatic memberMakeCogTransform2DLinear
Create a Deep Copy of the provided Transform2DLinear Vision object in the form of a CogTransform2DLinear VisionPro object, maintaining the same values for the transform.
Public methodStatic memberMakeCogTransform2DRigid
Create a Deep Copy of the provided Transform2DRigid Vision object in the form of a CogTransform2DRigid VisionPro object, maintaining the same numeric values for the transform.
Public methodStatic memberMakeColor32
Create an equivalent Vision Color32 from a provided VisionPro CogColorConstants and CogMaskGraphicTransparencyConstants.
Public methodStatic memberMakeCompositeShape
Create a Deep Copy of the provided CogCompositeShape VisionPro object in the form of a CompositeShape Vision object. Currently this handles copying only the following shapes: CogLine, CogLineSegment, CogEllipse, CogGeneralContour and CogGraphicLabel.
Public methodStatic memberMakeCompositeShapeCompositionModeConstants
Return a CompositeShapeCompositionModeConstants value that corresponds to the supplied CogCompositeShapeCompositionModeConstants value.
Public methodStatic memberMakeCompositeShapeDOFConstants
Return a CompositeShapeDOFEnable value that corresponds to the supplied CogCompositeShapeDOFEnable value.
Public methodStatic memberMakeCoordinateSpaceTree
Create a Deep Copy of the provided CogCoordinateSpaceTree VisionPro object in the form of a CoordinateSpaceTree Vision object, maintaining the same structure (names, parent-child relationships, and transforms).
Public methodStatic memberMakeEllipse
Create a Deep Copy of the provided CogEllipse VisionPro object in the form of a Ellipse Vision object.
Public methodStatic memberMakeEllipseDOFConstants
Return a EllipseDOFEnable value that corresponds to the supplied CogEllipseDOFEnable value.
Public methodStatic memberMakeEllipticalAnnulusSection
Create a Deep Copy of the provided CogEllipticalAnnulusSection VisionPro object in the form of a EllipticalAnnulusSection Vision object.
Public methodStatic memberMakeEllipticalAnnulusSectionDOFConstants
Return a EllipticalAnnulusSectionDOFEnable value that corresponds to the supplied CogEllipticalAnnulusSectionDOFEnable value.
Public methodStatic memberMakeGeneralContour
Create a Deep Copy of the provided CogGeneralContour VisionPro object in the form of a GeneralContour Vision object. Currently this handles copying only CogLineSegments.
Public methodStatic memberMakeGeneralContourDOFConstants
Return a GeneralContourDOFEnable value that corresponds to the supplied CogGeneralContourDOFEnable value.
Public methodStatic memberMakeGeneralContourVertexConstants
Return a GeneralContourVertexConstants value that corresponds to the supplied CogGeneralContourVertexConstants value.
Public methodStatic memberMakeGraphicCollection
Create a Deep Copy of the provided CogGraphicCollection VisionPro object in the form of a GraphicCollection Vision object. Currently this handles copying only CogCompositeShape and CogGraphicLabel.
Public methodStatic memberMakeGraphicDOFConstants
Return a GraphicDOFConstants value that corresponds to the supplied CogGraphicDOFConstants value.
Public methodStatic memberMakeGraphicLabel
Create a Deep Copy of the provided CogGraphicLabel VisionPro object in the form of a GraphicLabel Vision object.
Public methodStatic memberMakeGraphicLabelAlignmentConstants
Return a GraphicLabelAlignmentConstants value that corresponds to the supplied CogGraphicLabelAlignmentConstants value.
Public methodStatic memberMakeGraphicLineStyleConstants
Return a GraphicLineStyleConstants value that corresponds to the supplied CogGraphicLineStyleConstants value.
Public methodStatic memberMakeICogVisionData
Convert the supplied IImage to an equivalent VisionPro object if possible.
Public methodStatic memberMakeIImage
Convert the supplied ICogVisionData to an equivalent Vision object if possible.
Public methodStatic memberMakeImage16EncodingConstants
Return an Image16EncodingConstants value that corresponds to the supplied CogImage16EncodingConstants value.
Public methodStatic memberMakeImage16Grey
Create a Vision Image16Grey that is a deep copy of the provided VisionPro CogImage16Grey, maintaining both pixel data and coordinate space tree equivalence.
Public methodStatic memberMakeImage24PlanarColor
Create a Vision Image24PlanarColor that is a deep copy of the provided VisionPro CogImage24PlanarColor, maintaining both pixel data and coordinate space tree equivalence.
Public methodStatic memberMakeImage8Grey
Create a Vision Image8Grey that is a deep copy of the provided VisionPro CogImage8Grey, maintaining both pixel data and coordinate space tree equivalence.
Public methodStatic memberMakeImageColorSpaceConstants
Return an ImageColorSpaceConstants value that corresponds to the supplied CogImageColorSpaceConstants value.
Public methodStatic memberMakeLine
Create a Deep Copy of the provided CogLine VisionPro object in the form of a Line Vision object.
Public methodStatic memberMakeLineAdornmentConstants
Create an equivalent Vision LineAdornmentConstants from the CogLineAdornmentConstants option.
Public methodStatic memberMakeLineDOFConstants
Return a CogLineDOFEnable value that corresponds to the supplied LineDOFEnable value.
Public methodStatic memberMakeLineSegment
Create a Deep Copy of the provided CogLineSegment VisionPro object in the form of a LineSegment Vision object.
Public methodStatic memberMakeLineSegmentAdornmentConstants
Create an equivalent Vision LineSegmentAdornmentConstants from the VisionPro CogLineSegmentAdornmentConstants option.
Public methodStatic memberMakeLineSegmentDOFConstants
Return a CogLineSegmentDOFEnable value that corresponds to the supplied LineSegmentDOFEnable value.
Public methodStatic memberMakeMaskGraphic
Create a Deep Copy of the provided CogMaskGraphic VisionPro object in the form of a MaskGraphic Vision object.
Public methodStatic memberMakePolygon
Create a Deep Copy of the provided CogPolygon VisionPro object in the form of a Polygon Vision object.
Public methodStatic memberMakePolygonDOFConstants
Return a PolygonDOFEnable value that corresponds to the supplied CogPolygonDOFEnable value.
Public methodStatic memberMakeRectangle
Create a Deep Copy of the provided CogRectangle VisionPro object in the form of a Rectangle Vision object.
Public methodStatic memberMakeRectangleAffine
Create a Deep Copy of the provided CogRectangleAffine VisionPro object in the form of a RectangleAffine Vision object.
Public methodStatic memberMakeRectangleAffineDOFConstants
Return a CogRectangleAffineDOFEnable value that corresponds to the supplied RectangleAffineDOFEnable value.
Public methodStatic memberMakeRectangleDOFConstants
Return a CogRectangleDOFEnable value that corresponds to the supplied RectangleDOFEnable value.
Public methodStatic memberMakeRegion
Create a Deep Copy of the provided ICogRegion VisionPro object in the form of an IRegion Vision object.
Public methodStatic memberMakeSerializerOptionsConstants(CogSerializationOptionsConstants)
Return a SerializerOptionsConstants value that corresponds to the supplied CogSerializationOptionsConstants value.
Public methodStatic memberMakeSerializerOptionsConstants(CogSerializationOptionsContext)
Return a SerializerOptionsConstants value that corresponds to the supplied CogSerializationOptionsContext object's OptionBits property. If the input parameter is null, return SerializerOptionsConstants::All.
Public methodStatic memberMakeStandardCursorConstants
Return a StandardCursorConstants value that corresponds to the supplied CogStandardCursorConstants value.
Public methodStatic memberMakeTransform2D
Create a Deep Copy of the provided ICogTransform2D VisionPro object in the form of an ITransform2D Vision object, maintaining numeric equivalence.
Public methodStatic memberMakeTransform2DLinear
Create a Deep Copy of the provided CogTransform2DLinear VisionPro object in the form of a Transform2DLinear Vision object, maintaining the same values for the transform.
Public methodStatic memberMakeTransform2DRigid
Create a Deep Copy of the provided CogTransform2DRigid VisionPro object in the form of a Transform2DRigid Vision object, maintaining the same numeric values for the transform.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also