This class holds a collection of Cog3DVect3.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.Implementation CogSerializableChangedEventBase
Cognex.VisionPro3D Cog3DCollectionEventsBase
Cognex.VisionPro3D Cog3DVect3Collection
Cognex.VisionPro3D Cog3DVect3ShapeCollection
Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 75.0.0.0
Syntax
The Cog3DVect3Collection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Cog3DVect3Collection |
Construct this default (empty) Cog3DVect3Collection.
| |
| Cog3DVect3Collection(Int32) |
Construct this default (empty) Cog3DVect3Collection
with the specified capacity.
| |
| Cog3DVect3Collection(Cog3DVect3Collection) |
Construct a deep copy of the supplied Cog3DVect3Collection.
| |
| Cog3DVect3Collection(SerializationInfo, StreamingContext) |
Serialization constructor.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Appends the supplied item to the end of the collection.
| |
| Clear |
Delete any elements contained in this collection.
| |
| Contains |
Determine if this collection contains an element whose value
matches that of the specified value.
| |
| CopyTo |
Copies the contained set of Cog3DVect3's into the supplied, previously allocated
array of Cog3DVect3's starting at the specified index.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose |
Dispose this object.
| |
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| Finalize |
Finalize this object.
(Overrides Object Finalize .) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEnumerator |
Gets an enumerator for this collection.
| |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData |
Serializer for this object.
(Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Find the first collection element that matches the supplied value,
returning the index.
| |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| Insert |
Insert the supplied item at the specified index.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| OnChanged(Int64) |
This method should be called internally whenever the object's state may
have changed.
(Inherited from CogSerializableChangedEventBase.) | |
| OnChanged(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.) | |
| OnCleared |
Raises the Cleared event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnClearing |
Raises the Clearing event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnInsertedItem |
Raises the InsertedItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnInsertingItem |
Raises the InsertingItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnMovedItem |
Raises the MovedItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnMovingItem |
Raises the MovingItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnRemovedItem |
Raises the RemovedItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnRemovingItem |
Raises the RemovingItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnReplacedItem |
Raises the ReplacedItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| OnReplacingItem |
Raises the ReplacingItem event.
(Inherited from Cog3DCollectionEventsBase.) | |
| Remove |
Remove the matching value. If no match is found, do nothing.
| |
| RemoveAt |
Remove the value at the specified index.
| |
| Reserve |
If Capacity is less than the supplied value, set it.
| |
| ResumeAndRaiseChangedEvent |
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.) | |
| SuspendChangedEvent |
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.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Capacity |
Gets the largest number of elements that this collection
can store without reallocation.
| |
| ChangedEventSuspended |
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.) | |
| Count |
Gets the number of items in this collection.
| |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| IsReadOnly |
Gets a value that indicates if this collection is read only.
| |
| Item | ||
| StateFlags |
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.) |
Events
| Name | Description | |
|---|---|---|
| Changed |
This event is raised when one or more parts of the object's state may
have changed.
(Inherited from CogSerializableChangedEventBase.) | |
| Cleared |
Raised after the collection is cleared.
(Inherited from Cog3DCollectionEventsBase.) | |
| Clearing |
Raised before the collection is cleared.
(Inherited from Cog3DCollectionEventsBase.) | |
| InsertedItem |
Raised after an item is inserted.
(Inherited from Cog3DCollectionEventsBase.) | |
| InsertingItem |
Raised before an item is inserted.
(Inherited from Cog3DCollectionEventsBase.) | |
| MovedItem |
Raised after an item is moved to a new index.
(Inherited from Cog3DCollectionEventsBase.) | |
| MovingItem |
Raised before an item is moved to a new index.
(Inherited from Cog3DCollectionEventsBase.) | |
| RemovedItem |
Raised after an item is removed.
(Inherited from Cog3DCollectionEventsBase.) | |
| RemovingItem |
Raised before an item is removed.
(Inherited from Cog3DCollectionEventsBase.) | |
| ReplacedItem |
Raised after an item is replaced.
(Inherited from Cog3DCollectionEventsBase.) | |
| ReplacingItem |
Raised before an item is replaced.
(Inherited from Cog3DCollectionEventsBase.) |
See Also