CogCoordinateAxes ClassCognex VisionPro
Class that represents a pair of coordinate axes.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro CogCoordinateAxes

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

[SerializableAttribute]
public class CogCoordinateAxes : CogObjectBase, 
	ICogNetInternal, IDisposable, ICloneable, ISerializable, ICogHasChanged, 
	ICogChangedEvent, ICogShape, ICogGraphic, ICogGraphicInteractive, ICogGraphicParentChild

The CogCoordinateAxes type exposes the following members.

Constructors

  NameDescription
Public methodCogCoordinateAxes 
Constructs a new instance of this class.
Public methodCogCoordinateAxes(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogCoordinateAxes(CogCoordinateAxes)
Constructs a new instance of this class as a deep copy of the given instance.
Top
Methods

  NameDescription
Protected methodClone
Returns a deep copy of this class instance. Derived classes that implement Clone should override this method; other clients who wish to clone this instance should call ICloneable.Clone. See also CogSerializer.DeepCopyObject
Public methodCopy
Create a gcnew CogCoordinateAxes that copies specified parameters.
Public methodCopyBase
Copy a graphic and its derived parameters.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose 
Protected methodDispose(Boolean)
Public methodDistanceToPoint
Shortest distance from this shape to the given point.
Public methodEnclosingRectangle
Minimum enclosing rectangle of this shape.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides Object Finalize .)
Public methodFitToBoundingBox
Adjust the shape's geometric properties so that the shape fits inside passed in rectangle.
Public methodFitToImage
Adjust the shape's geometric properties such that its default size is based on the image and its SelectedSpaceName. XScale and YScale are multipliers where 1.0 designates 100% scaling.
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetObjectData
Public methodGetOriginCornerXCornerY
Gets the 3 point parameterization (OriginX, OriginY, CornerX_X, CornerX_Y, CornerY_X and CornerY_Y) of this coordinate axis.
Public methodGetOriginLengthAspectRotationSkew
Gets the geometric properties of this coordinate axis.
Public methodGetParentFromChildTransform
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodMap
Maps this shape through the given transform.
Public methodMapLinear
Creates a gcnew CogCoordinateAxes by mapping this CogCoordinateAxes through a linear transform.
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called. Also raises the Changed event 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.
Public methodSetOriginCornerXCornerY
Sets the 3 point parameterization (OriginX, OriginY, CornerX_X, CornerX_Y, CornerY_X and CornerY_Y) of this coordinate axis.
Public methodSetOriginLengthAspectRotationSkew
Sets the geometric properties of this coordinate axis.
Public methodSuspendChangedEvent
Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberSfAspect
This bit will be set in the EventArgs of a Changed event every time the value returned by Aspect may have changed.
Public fieldStatic memberSfChildren
This bit will be set in the EventArgs of a Changed event every time the value returned by Children may have changed.
Public fieldStatic memberSfColor
This bit will be set in the EventArgs of a Changed event every time the value returned by Color may have changed.
Public fieldStatic memberSfDisplayedAspect
This bit will be set in the EventArgs of a Changed event every time the value returned by DisplayedAspect may have changed.
Public fieldStatic memberSfDisplayedScaleFactorX
This bit will be set in the EventArgs of a Changed event every time the value returned by DisplayedScaleFactorX may have changed.
Public fieldStatic memberSfDisplayedScaleFactorY
This bit will be set in the EventArgs of a Changed event every time the value returned by DisplayedScaleFactorY may have changed.
Public fieldStatic memberSfDisplayedXAxisLength
This bit will be set in the EventArgs of a Changed event every time the value returned by DisplayedXAxisLength may have changed.
Public fieldStatic memberSfDisplayMode
This bit will be set in the EventArgs of a Changed event every time the value returned by DisplayMode may have changed.
Public fieldStatic memberSfDragColor
This bit will be set in the EventArgs of a Changed event every time the value returned by DragColor may have changed.
Public fieldStatic memberSfDragLineStyle
This bit will be set in the EventArgs of a Changed event every time the value returned by DragLineStyle may have changed.
Public fieldStatic memberSfDragLineWidthInScreenPixels
This bit will be set in the EventArgs of a Changed event every time the value returned by DragLineWidthInScreenPixels may have changed.
Public fieldStatic memberSfEnclosingRectangle
This bit will be set in the EventArgs of a Changed event every time the value returned by EnclosingRectangle may have changed.
Public fieldStatic memberSfGraphicDOFEnable
This bit will be set in the EventArgs of a Changed event every time the value returned by GraphicDOFEnable may have changed.
Public fieldStatic memberSfGraphicDOFEnableBase
This bit will be set in the EventArgs of a Changed event every time the value returned by GraphicDOFEnableBase may have changed.
Public fieldStatic memberSfInteractive
This bit will be set in the EventArgs of a Changed event every time the value returned by Interactive may have changed.
Public fieldStatic memberSfLineStyle
This bit will be set in the EventArgs of a Changed event every time the value returned by LineStyle may have changed.
Public fieldStatic memberSfLineWidthInScreenPixels
This bit will be set in the EventArgs of a Changed event every time the value returned by LineWidthInScreenPixels may have changed.
Public fieldStatic memberSfMouseCursor
This bit will be set in the EventArgs of a Changed event every time the value returned by MouseCursor may have changed.
Public fieldStatic memberSfOriginX
This bit will be set in the EventArgs of a Changed event every time the value returned by OriginX may have changed.
Public fieldStatic memberSfOriginY
This bit will be set in the EventArgs of a Changed event every time the value returned by OriginY may have changed.
Public fieldStatic memberSfParent
This bit will be set in the EventArgs of a Changed event every time the value returned by Parent may have changed.
Public fieldStatic memberSfRotation
This bit will be set in the EventArgs of a Changed event every time the value returned by Rotation may have changed.
Public fieldStatic memberSfSelected
This bit will be set in the EventArgs of a Changed event every time the value returned by Selected may have changed.
Public fieldStatic memberSfSelectedColor
This bit will be set in the EventArgs of a Changed event every time the value returned by SelectedColor may have changed.
Public fieldStatic memberSfSelectedLineStyle
This bit will be set in the EventArgs of a Changed event every time the value returned by SelectedLineStyle may have changed.
Public fieldStatic memberSfSelectedLineWidthInScreenPixels
This bit will be set in the EventArgs of a Changed event every time the value returned by SelectedLineWidthInScreenPixels may have changed.
Public fieldStatic memberSfSelectedSpaceName
This bit will be set in the EventArgs of a Changed event every time the value returned by SelectedSpaceName may have changed.
Public fieldStatic memberSfSkew
This bit will be set in the EventArgs of a Changed event every time the value returned by Skew may have changed.
Public fieldStatic memberSfTipText
This bit will be set in the EventArgs of a Changed event every time the value returned by TipText may have changed.
Public fieldStatic memberSfTransform
This bit will be set in the EventArgs of a Changed event every time the value returned by Transform may have changed.
Public fieldStatic memberSfVisible
This bit will be set in the EventArgs of a Changed event every time the value returned by Visible may have changed.
Public fieldStatic memberSfXAxisEndPointAdornment
This bit will be set in the EventArgs of a Changed event every time the value returned by XAxisEndPointAdornment may have changed.
Public fieldStatic memberSfXAxisLabel
This bit will be set in the EventArgs of a Changed event every time the value returned by XAxisLabel may have changed.
Public fieldStatic memberSfXAxisLength
This bit will be set in the EventArgs of a Changed event every time the value returned by XAxisLength may have changed.
Public fieldStatic memberSfYAxisEndPointAdornment
This bit will be set in the EventArgs of a Changed event every time the value returned by YAxisEndPointAdornment may have changed.
Public fieldStatic memberSfYAxisLabel
This bit will be set in the EventArgs of a Changed event every time the value returned by YAxisLabel may have changed.
Top
Properties

  NameDescription
Public propertyAspect
The aspect ratio of the length of Y-axis to X-axis.
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 propertyChildren
Children of this graphic.
Public propertyColor
Color of this graphic. Can be any OLE_COLOR.
Public propertyDisplayedAspect
When DisplayMode is cogCoordinateAxesModeScreen, this is the ratio of the displayed length of Y-axis to DisplayedXAxisLength.
Public propertyDisplayedScaleFactorX
Multiplier applied to the X axis length when the DisplayMode property is either cogCoordinateAxesModeMathematical or cogCoordinateAxesModeScale.
Public propertyDisplayedScaleFactorY
Multiplier applied to the Y axis length when the DisplayMode property is either cogCoordinateAxesModeMathematical or cogCoordinateAxesModeScale.
Public propertyDisplayedXAxisLength
The is the length of the X axis (in screen pixels) when DisplayMode is cogCoordinateAxesModeScreen.
Public propertyDisplayMode
Controls which properties are used to draw the CogCoordinateAxes and how those properties are modified when the user modifies the graphic interactively.
Public propertyDragColor
Color of this graphic when dragged.
Public propertyDragLineStyle
Line style of this graphic when dragged.
Public propertyDragLineWidthInScreenPixels
Line width of this graphic when dragged.
Public propertyGraphicDOFEnable
Interactive Degree of freedom for this graphic object. Provides the ability to govern interactive manipulation of an object; for example could be used to prevent an object from being resized.
Public propertyGraphicDOFEnableBase
Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
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 propertyMouseCursor
Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive.
Public propertyOriginX
X coordinate of the origin.
Public propertyOriginY
Y coordinate of the origin.
Public propertyParent
Parent of this graphic.
Public propertyRotation
The rotation of the X-axis in radian units. Setting Rotation does not change Skew.
Public propertySelected
True when the shape is selected in a display.
Public propertySelectedColor
Color of this graphic when selected.
Public propertySelectedLineStyle
Line style of this graphic when selected.
Public propertySelectedLineWidthInScreenPixels
Line width of this graphic when selected.
Public propertySelectedSpaceName
Coordinate space in which this shape is to be interpreted.
Public propertySkew
The skew of this coordinate axis in radian units. Skew=0 means a right angle between the X and Y axes.
Public propertyTipText
Text to describe this graphic in a tool tip.
Public propertyTransform
The CogCoordinateAxes will modify this transform to reflect its internal properties.
Public propertyVisible
Visible property of this graphic.
Public propertyXAxisEndPointAdornment
The end point adornment for the X axis.
Public propertyXAxisLabel
The text label for the X-axis.
Public propertyXAxisLength
The length in the selected coordinate space of the x-axis of this shape.
Public propertyYAxisEndPointAdornment
The end point adornment for the Y axis.
Public propertyYAxisLabel
The text label for the Y-axis.
Top
Events

  NameDescription
Public eventChanged
Occurs when one or more parts of the object's state may have changed.
Public eventDragging
Occurs when an interactive graphic is being dragged.
Public eventDraggingStopped
Occurs after the drag operation of an interactive graphic is complete.
Top
Remarks

The interface describing a coordinate axis.

See Also