|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
25 DummyToolManager::DummyToolManager() :
36 mReferenceTool = tool1;
38 mDummyTools.insert(std::pair<QString, DummyToolPtr>(tool1->getUid(), tool1));
40 DummyToolManager::~ DummyToolManager()
54 this->startTracking();
62 void DummyToolManager::startTracking()
64 DummyToolMapConstIter it = mDummyTools.begin();
65 while(it != mDummyTools.end())
67 ((*it).second)->startTracking();
73 void DummyToolManager::stopTracking()
75 DummyToolMapConstIter it = mDummyTools.begin();
76 while(it != mDummyTools.end())
78 ((*it).second)->stopTracking();
90 DummyToolMapConstIter it = mDummyTools.find(uid);
100 DummyToolMapConstIter it = mDummyTools.find(uid);
101 mActiveTool = (*it).second;
122 return mReferenceTool;
127 mDummyTools.insert(std::make_pair(tool->getUid(), tool));
154 return std::vector<TrackingSystemServicePtr> ();
163 std::vector<TrackerConfigurationPtr> retval;
Namespace for all CustusX production code.
boost::shared_ptr< class TrackerConfiguration > TrackerConfigurationPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class TrackingSystemService > TrackingSystemServicePtr
void activeToolChanged(const QString &uId)
boost::shared_ptr< class Tool > ToolPtr
boost::shared_ptr< class DummyTool > DummyToolPtr
std::map< QString, ToolPtr > ToolMap