Cog3DPointCloudMesh ClassCognex VisionPro 9.5
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.Implementation CogSerializableChangedEventBase
          Cognex.VisionPro3D Cog3DPointCloudMesh

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

[SerializableAttribute]
public class Cog3DPointCloudMesh : CogSerializableChangedEventBase, 
	ICog3DPointCloud, ICogVisionData, ICogVisionData, ICog3DPointCloudMeshLegacy, ICloneable, 
	IDisposable

The Cog3DPointCloudMesh type exposes the following members.

Constructors

  NameDescription
Public methodCog3DPointCloudMesh 
Default construct a Cog3DPointCloudMesh. This mesh will have an empty coordinate space tree, an empty list of roots, and an empty list of storage from root transforms.
Public methodCog3DPointCloudMesh(IntPtr)
For Cognex internal use only.
Public methodCog3DPointCloudMesh(Cog3DPointCloudMesh)
Copy construct a Cog3DPointCloudMesh from the supplied instance.
Public methodCog3DPointCloudMesh(CogImage16Range)

Construct a Cog3DPointCloudMesh from the supplied range image.

  • The range image height data is mapped into the storage space specified by the SelectedSpaceName3D of the input range image.
  • The SelectedSpaceName3D is set to the SelectedSpaceName3D of the input range image. argument.
  • The CoordinateSpaceTree3D is shared with the input range image.
  • The StorageFromRootTransform is computed so that the mapping between storage space ("#") and the SelectedSpaceName3D is effectively an identity transform.

Protected methodCog3DPointCloudMesh(SerializationInfo, StreamingContext)
Serialization constructor for the Cog3DPointCloudMesh class.
Public methodCog3DPointCloudMesh(CogImage16Range, String)

Construct a Cog3DPointCloudMesh from the supplied range image.

  • The range image height data is mapped into storage space as specified by the desiredStorageSpaceName argument.
  • The SelectedSpaceName3D is set to the desiredStorageSpaceName argument.
  • The CoordinateSpaceTree3D is shared with the input range image.
  • The StorageFromRootTransform is computed so that the mapping between storage space ("#") and the SelectedSpaceName3D (the desiredStorageSpaceName argument) is effectively an identity transform.

Top
Methods

  NameDescription
Public methodAddRootAndTransform
Append the supplied root and storage-from-root transform to this point cloud.
Public methodClearRootsAndTransforms
Remove any and all existing roots and storage-from-root transforms from this point cloud.
Public methodClone
Returns a deep copy of this class instance. Derived classes that implement Clone should override this method. Other clients who wish to clone this instance should call ICloneable::Clone.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose 
Destruct this Cog3DPointCloudMesh.
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalize this Cog3DPointCloudMesh.
(Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetInternal
For Cognex internal use only.
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetNormalEnumerator
Returns an interator that will step through the Normal attributes of every point in this point cloud. If no Normal data is available this method returns a null.
Protected methodGetObjectData
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
Public methodGetPositionEnumerator
Returns an iterator that will step through the positions of every point in this point cloud.
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
For Cognex internal use only.
(Overrides CogObjectBase GetProperties( Attribute ).)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetRoot
Return the reference to the root object at the specified index.
Public methodGetStorageFromRootTransform
Return the reference to the storage-from-root transform at the specified index.
Public methodGetTransform3D
Public methodGetTriangleEnumerator
Gets a triangle enumerator for this point cloud. Note that in the case of multiple roots, this enumerator will step through the contents of each root in order. The number of triangles will not equal the number of points in this point cloud.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodInsertRootAndTransform
Insert the supplied root and storage-from-root transform at the specified index.
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnChanged(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.)
Public methodRemoveRootAndTransform
Remove the existing root and storage-from-root transform at specified index.
Public methodResumeAndRaiseChangedEvent
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.)
Public methodSetRoot
Replace the existing root at the specified index with the supplied value.
Public methodSetStorageFromRootTransform
Replace the existing storage-from-root transform at the specified index with the supplied value.
Public methodSuspendChangedEvent
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.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberSfCoordinateSpaceTree3D
This bit wil be set in the EventArgs of a Changed event ever time the value returned by CoordinateSpaceTree3D may have changed.
Public fieldStatic memberSfGetRoot
This bit wil be set in the EventArgs of a Changed event ever time the value returned by GetRoot may have changed.
Public fieldStatic memberSfGetStorageFromRootTransform
This bit wil be set in the EventArgs of a Changed event ever time the value returned by GetStorageFromRootTransform may have changed.
Protected fieldStatic memberSfNextSf
Public fieldStatic memberSfNumRoots
This bit wil be set in the EventArgs of a Changed event ever time the value returned by NumRoots may have changed.
Public fieldStatic memberSfSelectedSpaceName3D
This bit wil be set in the EventArgs of a Changed event ever time the value returned by SelectedSpaceName3D may have changed.
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
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.)
Public propertyCoordinateSpaceTree3D
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyNumRoots
Get the number of roots in this mesh point cloud. May be zero.
Public propertySelectedSpaceName3D
Gets or sets the name of the three dimensional coordinate space to be used by tools which process this point cloud.
Public propertyStateFlags
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.)
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Top
See Also