Exemple #1
0
Xform3D::~Xform3D()
{
  if (this->m_handle != 0 && this->ownedByMe == TRUE)
   {
     Xform3D_Free(this->m_handle);
     this->m_handle = NULL;
  }
}
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;
  }
}
Exemple #3
0
Xform3D::~Xform3D()
{
    if (this->m_handle != 0 && this->ownedByMe == TRUE)
        Xform3D_Free(this->m_handle);
}