void pcl::ihs::InHandScanner::showModel () { boost::mutex::scoped_lock lock (mutex_); if (destructor_called_) return; std::cerr << "Show the model\n"; Base::setDrawBox (false); running_mode_ = RM_SHOW_MODEL; emit runningModeChanged (running_mode_); }
void pcl::ihs::InHandScanner::registerOnce () { boost::mutex::scoped_lock lock (mutex_); if (destructor_called_) return; std::cerr << "Single registration.\n"; Base::setDrawBox (true); running_mode_ = RM_REGISTRATION_SINGLE; emit runningModeChanged (running_mode_); }
void pcl::ihs::InHandScanner::showProcessedData () { boost::mutex::scoped_lock lock (mutex_); if (destructor_called_) return; std::cerr << "Showing the processed input data.\n"; Base::setDrawBox (true); Base::setColoring (Base::COL_RGB); running_mode_ = RM_PROCESSED; emit runningModeChanged (running_mode_); }
void pcl::ihs::InHandScanner::registerContinuously () { boost::mutex::scoped_lock lock (mutex_); if (destructor_called_) return; std::cerr << "Continuous registration.\n"; Base::setDrawBox (true); Base::setColoring (Base::COL_VISCONF); running_mode_ = RM_REGISTRATION_CONT; emit runningModeChanged (running_mode_); }
void pcl::ihs::InHandScanner::showUnprocessedData () { std::lock_guard<std::mutex> lock (mutex_); if (destructor_called_) return; std::cerr << "Showing the unprocessed input data.\n"; Base::setDrawBox (false); Base::setColoring (Base::COL_RGB); running_mode_ = RM_UNPROCESSED; emit runningModeChanged (running_mode_); }