ExtrinsicData is a wrapper for an ExtrinsicData object. ExtrinsicData objects represent the extrinsic camera parameters (position and orientation).
More...
Inherits IDisposable.
ExtrinsicData is a wrapper for an ExtrinsicData object. ExtrinsicData objects represent the extrinsic camera parameters (position and orientation).
◆ ExtrinsicData()
Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.ExtrinsicData |
( |
IntPtr |
handle, |
|
|
bool |
owner |
|
) |
| |
|
inline |
Internal constructor of ExtrinsicData.
This constructor is used internally by the VisionLib.
- Parameters
-
handle | Handle to the native object. |
owner | true , if the ExtrinsicData is the owner of the native object; false , otherwise. |
◆ Clone()
ExtrinsicData Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.Clone |
( |
| ) |
|
|
inline |
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.ExtrinsicData.Dispose |
( |
| ) |
|
|
inline |
Explicitly releases references to unmanaged resources.
Call Dispose when you are finished using the ExtrinsicData. The Dispose method leaves the ExtrinsicData in an unusable state. After calling Dispose, you must release all references to the ExtrinsicData so the garbage collector can reclaim the memory that the ExtrinsicData was occupying.
◆ GetCamPosWorld()
Vector3 Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.GetCamPosWorld |
( |
| ) |
|
|
inline |
◆ GetModelViewMatrix()
Matrix4x4 Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.GetModelViewMatrix |
( |
| ) |
|
|
inline |
Returns the current camera pose as model-view matrix.
The returned matrix assumes a right-handed coordinate system. Throws an InvalidOperationExcception, if the ModelViewMatrix is invalid or can not be retrieved.
◆ GetR()
Quaternion Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.GetR |
( |
| ) |
|
|
inline |
◆ GetT()
Vector3 Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.GetT |
( |
| ) |
|
|
inline |
◆ GetValid()
bool Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.GetValid |
( |
| ) |
|
|
inline |
Returns whether the current tracking pose is valid (the tracking was successful).
- Returns
true
, if the current tracking pose is valid; false
otherwise.
◆ SetCamPosWorld()
void Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.SetCamPosWorld |
( |
Vector3 |
camPos | ) |
|
|
inline |
Sets the position of the camera in world coordinates.
Internally this will be stored as a transformation of a 3D point from world coordinates into camera coordinates ( ). Throws an InvalidOperationExcception, if the operation cannot be processed.
◆ SetR()
void Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.SetR |
( |
Quaternion |
rotation | ) |
|
|
inline |
◆ SetT()
void Visometry.VisionLib.SDK.Core.API.Native.ExtrinsicData.SetT |
( |
Vector3 |
translation | ) |
|
|
inline |