Cog3DRangeImageCrossSectionAreaLineSegments ClassCognex VisionPro
The class to do difference measurements between a CrossSection and line segments.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.Implementation CogSerializableChangedEventBase
          Cognex.VisionPro3D Cog3DRangeImageCrossSectionOperatorBase
            Cognex.VisionPro3D Cog3DRangeImageCrossSectionAreaOperatorBase
              Cognex.VisionPro3D Cog3DRangeImageCrossSectionAreaLineSegments

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

[SerializableAttribute]
public class Cog3DRangeImageCrossSectionAreaLineSegments : Cog3DRangeImageCrossSectionAreaOperatorBase

The Cog3DRangeImageCrossSectionAreaLineSegments type exposes the following members.

Constructors

  NameDescription
Public methodCog3DRangeImageCrossSectionAreaLineSegments 
Construct a default Cog3DRangeImageCrossSectionAreaLineSegments object.
Public methodCog3DRangeImageCrossSectionAreaLineSegments(Cog3DRangeImageCrossSectionAreaLineSegments)
Construct a deep copy of the supplied Cog3DRangeImageCrossSectionAreaLineSegments object.
Protected methodCog3DRangeImageCrossSectionAreaLineSegments(SerializationInfo, StreamingContext)
Serialization constructor for Cog3DRangeImageCrossSectionAreaLineSegments object.
Top
Methods

  NameDescription
Public methodAddDefaultRegion
Adds a new region to the operator with a default location
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public methodAddLineSegment(String)
Adds a line segment as an input by its name
Public methodAddLineSegment(Cog3DRangeImageCrossSectionOperatorBase)
Adds a line segment as an input by its operator
Public methodClearResults
Clear the results' properties of this class.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
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 methodCreateResultGraphics
Create the graphics and add them to the graphicCollection provided.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public methodCreateResultInputGraphics
Create the input graphics and add them to the graphicCollection provided..
(Overrides Cog3DRangeImageCrossSectionAreaOperatorBase CreateResultInputGraphics(CogGraphicCollection, String, String, CogTransform2DLinear).)
Public methodDispose 
Destruct this Cog3DRangeImageCrossSectionOperatorBase.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Protected methodDispose(Boolean) (Overrides Cog3DRangeImageCrossSectionAreaOperatorBase Dispose(Boolean).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Compute the area between the input profile and the reference profile.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public methodExecuteMeasureArea (Overrides Cog3DRangeImageCrossSectionAreaOperatorBase ExecuteMeasureArea(c3img_crossSectionConst*, cmath_shapeRegionSet*, c3ip_crossSectionDiffMeasureResult*).)
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.)
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.)
Public methodGetNamesOfOperatorsByType
Gets the names of the operators by output type from the OperatorsParams collection. It returns only the operators that are listed prior to this operator in the OperatorsParams collection. Returns null if no operator was found.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Protected methodGetObjectData
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
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.)
Protected methodInitializeName (Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Protected methodInitializeRegions (Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Protected methodInitializeToleranceCollection (Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public methodInputAvailable
Returns whether all the line segments that are specified as inputs are available or not
(Overrides Cog3DRangeImageCrossSectionAreaOperatorBase InputAvailable .)
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.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnChanged(CogChangedEventArgs)
This method may be called internally whenever a derived object's state may have changed and the derived object expresses this change via a derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventBase.)
Public methodRemoveLineSegment(Int32)
Removes the line segment from the inputs by index
Public methodRemoveLineSegment(String)
Removes the line segment from the inputs by its name
Public methodRemoveLineSegment(Cog3DRangeImageCrossSectionOperatorBase)
Removed a line segment from the inputs by its operator
Public methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called, and 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.
(Inherited from CogSerializableChangedEventBase.)
Public methodSetRegionToDefaultLocation
Sets the region with the given index to the default region location Cognex Internal Use Only.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
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.
(Inherited from CogSerializableChangedEventBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberSfLineSegmentNames
This bit will be set in the EventArgs of a Changed event every time the value returned by LineSegmentNames may have changed.
Protected fieldStatic memberSfNextSf
NextSf state flag.
Public fieldStatic memberSfReferenceProfile
This bit will be set in the EventArgs of a Changed event every time the value returned by ReferenceProfile may have changed.
Top
Properties

  NameDescription
Public propertyArea
Gets or sets what area is being measured: abover or below the reference profile or both of those and if both, how they are combined
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyAreaResult
Gets the result computed by the execute method. Always check the status of the operator to be either Passed or FailedTolerance before calling the getter.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyAreaTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the area.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
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.
(Inherited from CogSerializableChangedEventBase.)
Public propertyClosestPointAboveReferenceProfileXTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's X coordinate that is above the reference profile and closest to it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyClosestPointAboveReferenceProfileYTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's Y coordinate that is above the reference profile and closes to it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyClosestPointBelowReferenceProfileXTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's X coordinate that is below the reference profile and closest to it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyClosestPointBelowReferenceProfileYTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's Y coordinate that is below the reference profile and closest to it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyCombineGraphicsEnabled
Gets or sets the CombineGraphicsEnabled. When true, the combined graphics will be displayed in the last run record. Combined graphics usually are the features or measurements produced by an operator.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyDrawAreaBackgroundGraphics
Gets or sets whether the computed area's background will be painted or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyDrawClosestPointAboveReferenceProfileGraphics
Gets or sets whether the closest point above the reference profile will be drawn or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyDrawClosestPointBelowReferenceProfileGraphics
Gets or sets whether the closest point below the reference profile will be drawn or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyDrawFarthestPointAboveReferenceProfileGraphics
Gets or sets whether the Farthest point Above the reference profile will be drawn or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyDrawFarthestPointBelowReferenceProfileGraphics
Gets or sets whether the Farthest point below the reference profile will be drawn or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyDrawLeftPointGraphics
Gets or sets whether the leftmost point of the computed area will be drawn or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyDrawRightPointGraphics
Gets or sets whether the rightmost point of the computed area will be drawn or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyDrawThresholdGraphics
Gets or sets whether the threshold graphics will be drawn or not
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyFarthestPointAboveReferenceProfileXTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's X coordinate that is above the reference profile and farthest from it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyFarthestPointAboveReferenceProfileYTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's Y coordinate that is above the reference profile and farthest from it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyFarthestPointBelowReferenceProfileXTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's X coordinate that is below the reference profile and farthest from it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyFarthestPointBelowReferenceProfileYTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the point's Y coordinate that is below the reference profile and farthest from it.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyFeatureInImage
If the operator produces a feature, the feature is returned in the range image SelectedSpaceName stored in the profile. The FeatureInImage is available after the operator was run. The FeatureInImage is set to null at the beginning of the tool run.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyFeatureInImage3D
If the operator produces a feature, the feature is returned in the range image SelectedSpaceName3D stored in the profile. The FeatureInImage3D is available after the operator was run. The FeatureInImage3D is set to null at the beginning of the tool run.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyHeightThreshold
Gets or sets the height threshold. Points with heights below this threshold are treated as noise and are thus excluded from the computations. Note that 'height' in this context means the difference in height between the cross section and the lines. The heights are measured in ProfileSelectedSpaceName units along the Image Y axis.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyImageUsedForProfileDisplay
Cognex Internal Use Only.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyInputGraphicsEnabled
Gets or sets the InputGraphicsEnabled. When true, the input graphics will be displayed in the current record. Input graphics usually are the regions.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Protected propertyInputOperatorType
Returns the type of the input operator of this operator
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyLeftPointXTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the left point's X coordinate.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyLeftPointYTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the the left point's Y coordinate.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyLineSegmentNames
Gets the name of the input line segments
Public propertyMaxFillLength
Gets or sets max length of a missing stretch to fill along x-axis in ProfileSelectedSpaceName.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyName
Gets or sets the name of the operator. When the operator is within a collection, the name is checked for uniqueness.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyOutputGraphicsEnabled
Gets or sets the OutputGraphicsEnabled. When true, the output graphics will be displayed in the current record. Output graphics usually are the features or measurements produced by an operator.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyOutputType
Gets the OutputType of the operator.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyReferenceProfile
Gets os sets how to create the reference profile from the line segments. Either use the highest or the lowest linesegment.
Public propertyRegions
Gets the Regions. The regions property is a collection of ICogRegion.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyResultObject
Gets the ResultObject of the operator. The ResultObject is available after the operator was run. The ResultObject is set to null at the beginning of the tool run.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyRightPointXTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the right point's X coordinate.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertyRightPointYTolerance
Gets the Cog3DRangeImageCrossSectionTolerance object to tolerance the right point's Y coordinate.
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Public propertySelectedRegionIndex
Cognex Internal Use Only.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertyStatus
Gets the status.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyToleranceCollection
Gets the ToleranceCollection. The ToleranceCollection is initialiazed by the operator and the user will not be able to delete or add to it. Each operator adds a pre-defined set based on the operator result object. By default, all tolerances are disabled.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Public propertyTolerances
Gets the Tolerance object of an item specified by name. if name is not found, the return is null.
(Inherited from Cog3DRangeImageCrossSectionOperatorBase.)
Protected propertyWeightThreshold
Gets the weight threshold. Always returns 0. In VisionPro if a profile data has a weight higher than 0 it counts
(Inherited from Cog3DRangeImageCrossSectionAreaOperatorBase.)
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Top
See Also