Cog3DRangeImageCrossSectionPointAreaResult SetAreaResultUsingOperator Method Cognex VisionPro 9.5
Sets the operator producing AreaResult.

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

public void SetAreaResultUsingOperator(
	Cog3DRangeImageCrossSectionOperatorsParams parentCollection,
	Cog3DRangeImageCrossSectionAreaOperatorBase op
)

Parameters

parentCollection
Type: Cognex.VisionPro3D Cog3DRangeImageCrossSectionOperatorsParams
The Cog3DRangeImageCrossSectionOperatorsParams collection that holds the line segment operator.
op
Type: Cognex.VisionPro3D Cog3DRangeImageCrossSectionAreaOperatorBase
The operator object producing AreaResult.
Events

Event TypeReason
Cognex.VisionPro ICogChangedEvent

Fires when this method is called.

The following state flag may be affected:

  • SfArea
Exceptions

ExceptionCondition
ArgumentException If operator is not found in the parentCollection provided.
ArgumentNullException If the parentCollection in null.
Remarks

This is a convenience setter for programmatic users to specify the AreaResult using the operator's object. The operator is not held internally, it is used to extract the internal unique id of the operator. The id is used by this operator at run time.
Remarks

The method can be called before the operator is added to the collection.
See Also