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 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: 75.0.0.0
Syntax
The Cog3DTransformRotation type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Cog3DTransformRotation |
Construct this default (identity transform) Cog3DTransformRotation.
| |
| Cog3DTransformRotation(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. | |
| Cog3DTransformRotation(Cog3DEulerXYZ) |
Construct this Cog3DTransformRotation using a Cog3DEulerXYZ.
| |
| Cog3DTransformRotation(Cog3DEulerXYZMovingAxes) |
Construct this Cog3DTransformRotation using a Cog3DEulerXYZMovingAxes.
| |
| Cog3DTransformRotation(Cog3DEulerZYX) |
Construct this Cog3DTransformRotation using a Cog3DEulerZYX.
| |
| Cog3DTransformRotation(Cog3DEulerZYXMovingAxes) |
Construct this Cog3DTransformRotation using a Cog3DEulerZYXMovingAxes.
| |
| Cog3DTransformRotation(Cog3DEulerZYZMovingAxes) |
Construct this Cog3DTransformRotation using a Cog3DEulerZYZMovingAxes.
| |
| Cog3DTransformRotation(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.
| |
| Cog3DTransformRotation(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. | |
| Cog3DTransformRotation(Cog3DTransformRotation) |
Construct this object by making a deep copy of the supplied
object.
| |
| Cog3DTransformRotation(SerializationInfo, StreamingContext) |
Serialization constructor.
|
Methods
| Name | Description | |
|---|---|---|
| Compose |
Compose this rotation transform and another rotation transform.
Note that composing is from left to right: this * rhs | |
| ComposeBase |
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. | |
| CopyBase |
Create a deep copy of this transform.
| |
| 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.) | |
| GetAxisAngle |
Get the axis/angle representation of this rotation transform.
| |
| 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.) | |
| GetEulerXYZ |
Get the EulerXYZ of fixed axes representation of this rotation transform.
| |
| GetEulerXYZMovingAxes |
Get the EulerXYZ of moving axes representation of this rotation transform.
| |
| GetEulerZYX |
Get the EulerZYX of fixed axes representation of this rotation transform.
| |
| GetEulerZYXMovingAxes |
Get the EulerZYX of moving axes for this rotation transform.
| |
| GetEulerZYZMovingAxes |
Get the EulerZYZ of moving axes for this rotation transform.
| |
| 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.) | |
| GetMatrix |
Get the matrix representation of this rotation transform.
| |
| 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.) | |
| GetQuaternion |
Get the quaternion representation of this rotation transform.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| Inverse |
Compute the inverse transform of this transform.
| |
| InverseBase |
Compute the inverse of this transform.
| |
| InvMapPoint |
Map a 3D point using the inverse transform of this transform.
| |
| InvMapPoints |
Map a collection of 3D points using the inverse transform of this transform.
| |
| MapPoint |
Map a 3D point.
| |
| MapPoints |
Map a collection of 3D points.
| |
| 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.) | |
| RealEqual |
Compares the internal state of the specified instances and returns
true if the internal state is within epsilon.
| |
| ToString |
Override of ToString method to get a string for describing this object.
(Overrides Object ToString .) |
Operators
| Name | Description | |
|---|---|---|
| Multiply(Cog3DTransformRotation, Cog3DTransformRotation) |
Operator for composing one rotation transform and another rotation
transform:
rotation * rhs. | |
| Multiply(Cog3DTransformRotation, Cog3DVect3) |
Operator for mapping a 3D point using the specified 3D rotation transform:
rotation * point3D.
|
Properties
| Name | Description | |
|---|---|---|
| IsIdentity |
Gets whether this transform is identity.
| |
| Linear |
Gets whether this transform is linear.
|
See Also