CogTrevistaResult ClassCognex VisionPro 9.23
This class holds a single Trevista result. This result consists of up to nine separate images. Only images that were enabled by the RunParams are included in the result. The type of these images will be either CogImage8Grey or CogImage16Grey, as specified in the RunParams. The result properties corresponding to images that were not requested will be null.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.Trevista CogTrevistaResult

Namespace: Cognex.VisionPro.Trevista
Assembly: Cognex.VisionPro.Trevista (in Cognex.VisionPro.Trevista.dll) Version: 91.0.0.0
Syntax

[SerializableAttribute]
public class CogTrevistaResult : CogSerializableObjectBase

The CogTrevistaResult type exposes the following members.

Constructors

  NameDescription
Public methodCogTrevistaResult(CogTrevistaResult)
Construct a deep copy of the supplied CogTrevistaResult object.
Protected methodCogTrevistaResult(SerializationInfo, StreamingContext)
Serialization constructor for the CogTrevistaResult object.
Top
Methods

  NameDescription
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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
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 methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetObjectData
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
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 )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
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 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.)
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.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyContourImage

Gets the computed contour image for this result.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyDepthImage

Gets the computed depth image for this result.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyGreyscaleImage

Gets the computed greyscale image for this result.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyShadingImage1

Gets the first input shading image for this result.

This image has been "unpacked" from the single input CogImage8Interlaced.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyShadingImage2

Gets the second input shading image for this result.

This image has been "unpacked" from the single input CogImage8Interlaced.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyShadingImage3

Gets the third input shading image for this result.

This image has been "unpacked" from the single input CogImage8Interlaced.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyShadingImage4

Gets the fourth input shading image for this result.

This image has been "unpacked" from the single input CogImage8Interlaced.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyShapeHorizontalImage

Gets the computed ShapeHorizontalImage for this result.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Public propertyShapeVerticalImage

Gets the computed ShapeVerticalImage for this result.

The concrete type of this property will be either CogImage8Grey or CogImage16Grey as requested at run time.

This property will be null if this output image was not requested.

Top
See Also