コード例 #1
0
ファイル: Xform3D.cpp プロジェクト: HGGM-LIM/PLUS-LIM
Xform3D::~Xform3D()
{
  if (this->m_handle != 0 && this->ownedByMe == TRUE)
   {
     Xform3D_Free(this->m_handle);
     this->m_handle = NULL;
  }
}
コード例 #2
0
bool mitk::ClaronInterface::StopTracking()
{
  if (isTracking)
  {
    //free up the resources
    Collection_Free(IdentifiedMarkers);
    Xform3D_Free(PoseXf);

    //stop the camera
    Cameras_Detach();

    //now tracking is stopped
    isTracking = false;
    return true;
  }
  else
  {
    return false;
  }
}
コード例 #3
0
ファイル: Xform3D.cpp プロジェクト: Beastmaster/AIGS
Xform3D::~Xform3D()
{
    if (this->m_handle != 0 && this->ownedByMe == TRUE)
        Xform3D_Free(this->m_handle);
}