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;
122 return mReferenceTool;
127 mDummyTools.insert(std::make_pair(tool->getUid(), tool));
154 return std::vector<TrackingSystemServicePtr> ();
163 std::vector<TrackerConfigurationPtr> retval;
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class DummyTool > DummyToolPtr
boost::shared_ptr< class TrackerConfiguration > TrackerConfigurationPtr
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