The SimilarityTransform is a wrapper for a SimilarityTransform object. SimilarityTransform objects represent a transformation (position, orientation and scaling).
More...
Inherits IDisposable.
The SimilarityTransform is a wrapper for a SimilarityTransform object. SimilarityTransform objects represent a transformation (position, orientation and scaling).
◆ SimilarityTransform()
Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.SimilarityTransform |
( |
IntPtr |
handle, |
|
|
bool |
owner |
|
) |
| |
|
inline |
Internal constructor of SimilarityTransform.
This constructor is used internally by the VisionLib.
- Parameters
-
handle | Handle to the native object. |
owner | true , if the SimilarityTransform is the owner of the native object; false , otherwise. |
◆ Clone()
Creates a copy of this object and returns a Wrapper of it.
- Returns
- A wrapper of a copy of this object.
◆ Dispose()
void Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.Dispose |
( |
| ) |
|
|
inline |
◆ GetR()
Quaternion Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.GetR |
( |
| ) |
|
|
inline |
◆ GetS()
float Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.GetS |
( |
| ) |
|
|
inline |
Returns the scale factor of the given SimilarityTransform.
Please notice, that represents the transformation of a 3D point as follows: .
- Returns
- Float which contains the scale factor.
◆ GetT()
Vector3 Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.GetT |
( |
| ) |
|
|
inline |
◆ GetValid()
bool Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.GetValid |
( |
| ) |
|
|
inline |
◆ SetR()
void Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.SetR |
( |
Quaternion |
rotation | ) |
|
|
inline |
Sets the rotation of the given SimilarityTransform.
Please notice, that represents the transformation of a 3D point as follows: .
◆ SetS()
void Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.SetS |
( |
float |
s | ) |
|
|
inline |
Sets the scale factor of the given SimilarityTransform.
Please notice, that represents the transformation of a 3D point as follows: .
- Parameters
-
s | Float which contains the scale factor. |
◆ SetT()
void Visometry.VisionLib.SDK.Core.API.Native.SimilarityTransform.SetT |
( |
Vector3 |
translation | ) |
|
|
inline |
Sets the translation of the given SimilarityTransform.
Please notice, that represents the transformation of a 3D point as follows: .