The VLExtrinsicDataWrapper is a wrapper for an ExtrinsicData object. ExtrinsicData objects represent the extrinsic camera parameters (position and orientation).
More...
Inherits IDisposable.
|
| | VLExtrinsicDataWrapper (IntPtr handle, bool owner) |
| | Constructor of VLExtrinsicDataWrapper. More...
|
| |
|
| VLExtrinsicDataWrapper (Quaternion q, Vector3 t) |
| |
| VLExtrinsicDataWrapper | Clone () |
| | Creates a copy of this object and returns a Wrapper of it. More...
|
| |
| void | Dispose () |
| | Explicitly releases references to unmanaged resources. More...
|
| |
| bool | GetCamPosWorld (float[] pos) |
| | Returns the position of the camera in world coordinates. More...
|
| |
|
IntPtr | getHandle () |
| |
| Matrix4x4 | GetModelViewMatrix () |
| | Returns the current camera pose as model-view matrix. More...
|
| |
| bool | GetR (float[] q) |
| | Returns the rotation from the world coordinate system to the camera coordinate system. More...
|
| |
| bool | GetT (float[] t) |
| | Returns the translation from the world coordinate system to the camera coordinate system. More...
|
| |
| bool | GetValid () |
| | Returns whether the current tracking pose is valid (the tracking was successful). More...
|
| |
| bool | SetCamPosWorld (float[] pos) |
| | Sets the position of the camera in world coordinates. More...
|
| |
|
bool | SetFromCamera (Camera camera) |
| |
| bool | SetR (float[] q) |
| | Sets the rotation from the world coordinate system to the camera coordinate system. More...
|
| |
| bool | SetT (float[] t) |
| | Sets the translation from the world coordinate system to the camera coordinate system. More...
|
| |
|
bool | SetValid (bool value) |
| |
The VLExtrinsicDataWrapper is a wrapper for an ExtrinsicData object. ExtrinsicData objects represent the extrinsic camera parameters (position and orientation).
- See also
- VLDataSetWrapper.GetExtrinsicData
◆ VLExtrinsicDataWrapper()
| VLExtrinsicDataWrapper.VLExtrinsicDataWrapper |
( |
IntPtr |
handle, |
|
|
bool |
owner |
|
) |
| |
|
inline |
Constructor of VLExtrinsicDataWrapper.
Don't call this constructor directly. Use the VLAbstractApplicationWrapper.GetDataSet and VLDataSetWrapper.GetIntrinsicData methods instead.
- Parameters
-
| handle | Handle to the native object. |
| owner | true, if the VLExtrinsicDataWrapper 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 VLExtrinsicDataWrapper.Dispose |
( |
| ) |
|
|
inline |
◆ GetCamPosWorld()
| bool VLExtrinsicDataWrapper.GetCamPosWorld |
( |
float [] |
pos | ) |
|
|
inline |
◆ GetModelViewMatrix()
| Matrix4x4 VLExtrinsicDataWrapper.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()
| bool VLExtrinsicDataWrapper.GetR |
( |
float [] |
q | ) |
|
|
inline |
◆ GetT()
| bool VLExtrinsicDataWrapper.GetT |
( |
float [] |
t | ) |
|
|
inline |
◆ GetValid()
| bool VLExtrinsicDataWrapper.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()
| bool VLExtrinsicDataWrapper.SetCamPosWorld |
( |
float [] |
pos | ) |
|
|
inline |
◆ SetR()
| bool VLExtrinsicDataWrapper.SetR |
( |
float [] |
q | ) |
|
|
inline |
◆ SetT()
| bool VLExtrinsicDataWrapper.SetT |
( |
float [] |
t | ) |
|
|
inline |