Cog3DMatrix3x3 ClassCognex VisionPro 9.5
This class describes a 3X3 matrix representation and associated operations. Note that although 3x3 matrices are useful in calculation involving 3D rotations, users should use Cog3DTransformRotation for general 3D rotation operations.
Inheritance Hierarchy

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

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

[SerializableAttribute]
public class Cog3DMatrix3x3 : CogSerializableChangedEventBase, 
	IDisposable

The Cog3DMatrix3x3 type exposes the following members.

Constructors

  NameDescription
Public methodCog3DMatrix3x3 
Construct a default (representing an identity transform) Cog3DMatrix3x3.
Public methodCog3DMatrix3x3(Cog3DMatrix3x3)
Construct this object by making a deep copy of the supplied object.
Protected methodCog3DMatrix3x3(SerializationInfo, StreamingContext)
Serialization constructor.
Public methodCog3DMatrix3x3(Double, Double, Double, Double, Double, Double, Double, Double, Double)
Construct this Cog3DMatrix3x3 using the given element values.
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 methodDispose 
Dispose this object.
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalize this object.
(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.)
Public methodGetElement
Gets one element of the matrix.
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
Serializer for this object.
(Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).)
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.)
Public methodInverse
Compute the inverse matrix of this matrix.
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 methodStatic memberRealEqual
Compares the internal state of the specified instances and returns true if the internal state is within epsilon.
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 methodSetElement
Sets one element of the matrix.
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
Override of ToString method to get a string for describing this object.
(Overrides Object ToString .)
Public methodTranspose
Compute the transpose matrix of this matrix.
Top
Operators

  NameDescription
Public operatorStatic memberAddition
Addition operator for one matrix and another matrix, defined as matrix + rhs
Public operatorStatic memberDivision(Double, Cog3DMatrix3x3)
Division operator for a scalar and a matrix. Note that scale / matrix = scale * matrix.Inverse().
Public operatorStatic memberDivision(Cog3DMatrix3x3, Cog3DMatrix3x3)
Division operator for one matrix and another matrix. This operator is defined as matrix / rhs = matrix * rhs.Inverse()
Public operatorStatic memberDivision(Cog3DMatrix3x3, Double)
Division operator for a matrix and a scalar.

Note that matrix / scale = matrix * 1/scale.

Public operatorStatic memberDivision(Cog3DVect3, Cog3DMatrix3x3)
Division operator for a 3D point and a 3D matrix. The definition of this operator is point3D / matrix = point3D * matrix.Inverse().
Public operatorStatic memberMultiply(Double, Cog3DMatrix3x3)
Multiplication operator for a scalar and a matrix.

Note that the definition of this operator is: scale * matrix = matrix * scale.

Public operatorStatic memberMultiply(Cog3DMatrix3x3, Cog3DMatrix3x3)
Operator for composing one matrix and another matrix. Note that the definition of this operation is matrix * rhs.
Public operatorStatic memberMultiply(Cog3DMatrix3x3, Cog3DVect3)
Multiplication operator for a 3D matrix and a 3D point. Note that the definition of this operation is matrix * point3D.
Public operatorStatic memberMultiply(Cog3DMatrix3x3, Double)
Multiplication operator for a matrix and a scalar. Note that the definition of this operation is matrix * scale.
Public operatorStatic memberMultiply(Cog3DVect3, Cog3DMatrix3x3)
Multiplication operator for a 3D point and a 3D matrix. The definition of this operator is point3D * matrix = matrix.Transpose() * point3D.
Public operatorStatic memberSubtraction
Subtraction operator for one matrix and another matrix, defined as matrix - rhs
Public operatorStatic memberUnaryNegation
Unary minus Operator, defined as -matrix
Top
Fields

  NameDescription
Public fieldStatic memberSfDeterminant
Public fieldStatic memberSfElement
Public fieldStatic memberSfIsIdentity
Public fieldStatic memberSfIsSingular
Protected fieldStatic memberSfNextSf
Public fieldStatic memberSfScaleX
Public fieldStatic memberSfScaleY
Public fieldStatic memberSfScaleZ
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 propertyDeterminant
Gets the determinant of this matrix.
Public propertyElement
This property is deprecated, please use GetElment and SetElement instead.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyIsIdentity
Gets whether this matrix is identity.
Public propertyIsRotation
Gets whether this matrix is a pure rotation.
Public propertyIsSingular
Gets whether this matrix is singular.
Public propertyScaleX
Gets the x scale value of this matrix. The x scale is defined to be the length of the vector resulting from mapping the x unit vector through this matrix.
Public propertyScaleY
Gets the y scale value of this matrix. The y scale is defined to be the length of the vector resulting from mapping the y unit vector through this matrix.
Public propertyScaleZ
Gets the z scale value of this matrix. The z scale is defined to be the length of the vector resulting from mapping the z unit vector through this matrix.
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