CoordinateSpaceTree MethodsCognex VisionPro 9.24

The CoordinateSpaceTree type exposes the following members.

Methods

  NameDescription
Public methodAddSpace

Add a new coordinate space, with the given name and transform, to this tree. Attach it to the specified pre-existing parent space.

Public methodAddTree

Add a tree of coordinate spaces to the given ParentSpaceName of this tree using the supplied ParentFromTreeRoot transform. The tree is added by reference, so any changes to it will be visible to clients of both trees.

Public methodAllChildNames

Returns a collection of names that recursively includes all the children, grandchildren, great-grandchildren, etc. of the given space. If there are no children, the collection will hold zero items.

Public methodChangeName

Change the given space name to NewSpaceName.

Public methodChangeTransform

Change the transform which maps points from the given child space into its parent space. The new transform is given by NewParentFromChild.

Public methodChildNames

Returns a collection of names containing the given space's immediate children. If there are no children, the collection will hold zero items.

Public methodCopySubtree

Return a copy of the subtree rooted at SpaceName.

Public methodCopyTree

Return a copy of this entire tree.

Public methodDeleteSubtree

Delete the subtree rooted at SpaceName. SpaceName and all of its children will be recursively removed from tree.

Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodFindNames

Find the given SpaceName in this tree and return a collection containing the fully-qualified pathname(s) that are found. The collection may contain zero, one, or more items.

Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetTransform

Return a composed transform which can map points from the 'From' coordinate space to the 'To' space.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodLookUpName

Look up the given SpaceName in this tree and, if found, returns an appropriately formatted copy of the name.

Public methodMoveSubtree

Move the subtree rooted at SpaceName and attach it to the NewParentSpaceName, using SpaceName's existing parent transform.

Public methodParentName

Returns the name of the given space's parent. The parent name for the root space is the empty name ("") because the root space has no parent.

Public methodResolvePartialName

Use the given StartingSpaceName to resolve any ambiguity in NameToResolve, and return a name suitable for lookup in this tree. Note that a partial name, like ".", is ambiguous without a specified starting space.

Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent 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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Public methodVerifyChild

Return true if the given ChildSpaceName is a direct or indirect child of ParentSpaceName. Otherwise, return false. The formatted child name, or "", can be obtained through the optional FoundChildName argument.

Public methodVerifyName

Return true if the given SpaceName is a unique name in this tree. Return false if SpaceName cannot be found. The formatted name, or "", can be obtained through the optional FoundName argument.

Top
See Also