Change the transform which maps points from the given
child space into its parent space. The new transform is given
by newParentFromChild.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 65.1.0.0
Syntax
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
| Event Type | Reason |
|---|---|
| Cog3DCoordinateSpaceTree TransformChanged | Fires when the transform changes. |
Exceptions
| Exception | Condition |
|---|---|
| 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