Cog3DCoordinateSpaceTree ChangeTransform Method Cognex VisionPro
Change the transform which maps points from the given child space into its parent space. The new transform is given by newParentFromChild.

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

public void ChangeTransform(
	string childSpaceName,
	ICog3DTransform newParentFromChild
)

Parameters

childSpaceName
Type: System String

A valid nonqualified or fully-qualified space name that indicates the coordinate space to modify.

newParentFromChild
Type: Cognex.VisionPro3D ICog3DTransform

A 3D transform that maps points from the child space you are changing to its parent coordinate space.

Events

Exceptions

ExceptionCondition
ArgumentNullException

newParentFromChild is null.

ArgumentException

childSpaceName is the root space.

CogSpaceTreeInvalidNameSyntaxException

childSpaceName is not a legal space name.

CogSpaceTreeNameNotUniqueException

childSpaceName is a nonqualified space name and more than one instance of it exists in this tree.

CogSpaceTreeNameNotInTreeException

childSpaceName does not exist in this tree.

Remarks

Changes the transform that maps points from the given child space name into its parent space.

See Also