25 DummyToolManager::DummyToolManager() :
26 m_rMpr(Transform3D::Identity()),
36 mReferenceTool = tool1;
38 mDummyTools.insert(std::pair<QString, DummyToolPtr>(tool1->getUid(), tool1));
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;
117 return mReferenceTool;
122 mDummyTools.insert(std::make_pair(tool->getUid(), tool));
149 return std::vector<TrackingSystemServicePtr> ();
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class DummyTool > DummyToolPtr
void activeToolChanged(const QString &uId)
std::map< QString, ToolPtr > ToolMap
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr
boost::shared_ptr< class TrackingSystemService > TrackingSystemServicePtr