|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
26 mTools.push_back(tool);
27 report(
"Running dummy tool " + tool->getUid());
38 std::vector<ToolPtr> retval;
39 std::copy(mTools.begin(), mTools.end(), back_inserter(retval));
56 for (
unsigned i=0; i<mTools.size(); ++i)
58 mTools[i]->setVisible(
true);
59 mTools[i]->startTracking(30);
64 for (
unsigned i=0; i<mTools.size(); ++i)
66 mTools[i]->setVisible(
false);
67 mTools[i]->stopTracking();
virtual void setState(const Tool::State val)
asynchronously request a state. Wait for signal stateChanged()
Namespace for all CustusX production code.
static TrackerConfigurationPtr getNullObject()
boost::shared_ptr< class TrackerConfiguration > TrackerConfigurationPtr
virtual ~TrackingSystemDummyService()
virtual Tool::State getState() const
virtual std::vector< ToolPtr > getTools()
TrackingSystemDummyService(DummyToolPtr tool)
virtual void setLoggingFolder(QString loggingFolder)
void stateChanged()
Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGT...
boost::shared_ptr< class DummyTool > DummyToolPtr
virtual TrackerConfigurationPtr getConfiguration()