Cog3DTransformRotation ClassCognex VisionPro 9.7
This is the class for 3D rotation transform. A 3D rotation can be represented in different ways, such as using 3 Euler angles (Cog3DEulerXYZ). A 3D rotation transform can be constructed by any of the supported representations, and also has getters to return the instances of different rotation representation classes.

Note that this class is immutable - it may not be changed once it has been constructed.

Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro3D Cog3DTransformRotation

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

[SerializableAttribute]
public class Cog3DTransformRotation : CogSerializableObjectBase, 
	ICog3DTransform, IDisposable

The Cog3DTransformRotation type exposes the following members.

Constructors

  NameDescription
Public methodCog3DTransformRotation 
Construct this default (identity transform) Cog3DTransformRotation.
Public methodCog3DTransformRotation(Cog3DAxisAngle)
Construct this Cog3DTransformRotation using a rotation axis and rotation angle.

Note that if the given axis is not a unit vector, a corresponding unit vector is computed and used.

Public methodCog3DTransformRotation(Cog3DEulerXYZ)
Construct this Cog3DTransformRotation using a Cog3DEulerXYZ.
Public methodCog3DTransformRotation(Cog3DEulerXYZMovingAxes)
Construct this Cog3DTransformRotation using a Cog3DEulerXYZMovingAxes.
Public methodCog3DTransformRotation(Cog3DEulerZYX)
Construct this Cog3DTransformRotation using a Cog3DEulerZYX.
Public methodCog3DTransformRotation(Cog3DEulerZYXMovingAxes)
Construct this Cog3DTransformRotation using a Cog3DEulerZYXMovingAxes.
Public methodCog3DTransformRotation(Cog3DEulerZYZMovingAxes)
Construct this Cog3DTransformRotation using a Cog3DEulerZYZMovingAxes.
Public methodCog3DTransformRotation(Cog3DMatrix3x3)
Construct this Cog3DTransformRotation using a matrix representation. Theoretically, matrix must satisfy matrix.Determinant is 1 and matrix * matrix.Transpose() is Identity. If matrix is not exactly a rotation matrix then it attempts to compute a rotation matrix closest to matrix, and use the computed rotation matrix. Such a computation should succeed in practical situations.
Public methodCog3DTransformRotation(Cog3DQuaternion)
Construct this Cog3DTransformRotation using a quaternion representation.

Note that if the given quaternion is not a unit quaternion, a corresponding unit quaternion is computed and used.

Public methodCog3DTransformRotation(Cog3DTransformRotation)
Construct this object by making a deep copy of the supplied object.
Protected methodCog3DTransformRotation(SerializationInfo, StreamingContext)
Serialization constructor.
Top
Methods

  NameDescription
Public methodCompose
Compose this rotation transform and another rotation transform. Note that composing is from left to right: this * rhs
Public methodComposeBase
Creates a new transform which is the composition of the given transform (on the right side) and this one (on the left side).

Note that the return transform is always the canonical representation of the composed transform. Therefore, it might be of type Cog3DTransformComposed or a simpler type.

Public methodCopyBase
Create a deep copy of this transform.
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.)
Public methodGetAxisAngle
Get the axis/angle representation of this rotation transform.
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 methodGetEulerXYZ
Get the EulerXYZ of fixed axes representation of this rotation transform.
Public methodGetEulerXYZMovingAxes
Get the EulerXYZ of moving axes representation of this rotation transform.
Public methodGetEulerZYX
Get the EulerZYX of fixed axes representation of this rotation transform.
Public methodGetEulerZYXMovingAxes
Get the EulerZYX of moving axes for this rotation transform.
Public methodGetEulerZYZMovingAxes
Get the EulerZYZ of moving axes for this rotation transform.
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.)
Public methodGetMatrix
Get the matrix representation of this rotation transform.
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 methodGetQuaternion
Get the quaternion representation of this rotation transform.
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 transform of this transform.
Public methodInverseBase
Compute the inverse of this transform.
Public methodInvMapPoint
Map a 3D point using the inverse transform of this transform.
Public methodInvMapPoints
Map a collection of 3D points using the inverse transform of this transform.
Public methodMapPoint
Map a 3D point.
Public methodMapPoints
Map a collection of 3D points.
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 methodStatic memberRealEqual
Compares the internal state of the specified instances and returns true if the internal state is within epsilon.
Public methodToString
Override of ToString method to get a string for describing this object.
(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberMultiply(Cog3DTransformRotation, Cog3DTransformRotation)
Operator for composing one rotation transform and another rotation transform:

rotation * rhs.

Public operatorStatic memberMultiply(Cog3DTransformRotation, Cog3DVect3)
Operator for mapping a 3D point using the specified 3D rotation transform: rotation * point3D.
Top
Properties

  NameDescription
Public propertyIsIdentity
Gets whether this transform is identity.
Public propertyLinear
Gets whether this transform is linear.
Top
See Also