MtTrkGid Class Reference Library » 运动追踪器

#include <lib_motiontracker.h>

详细描述

Represents a persistent unique ID number for a track.

For any specific Motion Tracker Object this ID always represents the same track, even if other tracks are added or deleted.

注意
In contrast, track indices are not guaranteed to always refer to the same tracks between sessions.

公共成员函数

Bool   operator== (const MtTrkGid &rhs)
Int32   ToInt () const

静态公共成员函数

static MtTrkGid Alloc ()
static void  Free ( MtTrkGid *&p)

私有成员函数

  MtTrkGid ()
  ~MtTrkGid ()

构造函数 & 析构函数文档编制

◆  MtTrkGid()

MtTrkGid () private

◆  ~MtTrkGid()

~ MtTrkGid () private

成员函数文档编制

◆  Alloc()

static MtTrkGid * Alloc ( )
static

Internal .

◆  Free()

static void Free ( MtTrkGid *&  p )
static

Destructs MtTrkGids allocated with Alloc() 。使用 AutoAlloc to automate the allocation and destruction based on scope.

参数
[in,out] p The MtTrkGid to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards.

◆  operator==()

Bool operator== ( const MtTrkGid rhs )

Tests whether this and rhs have the same value.

参数
[in] rhs The object with which to compare.
返回
true if values match, otherwise false .

◆  ToInt()

Int32 ToInt ( ) const

Returns the ID number as a raw integer.

返回
The raw integer.