46 DummyToolManager::DummyToolManager() :
57 mReferenceTool = tool1;
59 mDummyTools.insert(std::pair<QString, DummyToolPtr>(tool1->getUid(), tool1));
75 this->startTracking();
83 void DummyToolManager::startTracking()
85 DummyToolMapConstIter it = mDummyTools.begin();
86 while(it != mDummyTools.end())
88 ((*it).second)->startTracking();
94 void DummyToolManager::stopTracking()
96 DummyToolMapConstIter it = mDummyTools.begin();
97 while(it != mDummyTools.end())
99 ((*it).second)->stopTracking();
111 DummyToolMapConstIter it = mDummyTools.find(uid);
121 DummyToolMapConstIter it = mDummyTools.find(uid);
122 mActiveTool = (*it).second;
138 return mReferenceTool;
143 mDummyTools.insert(std::make_pair(tool->getUid(), tool));
170 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
boost::shared_ptr< class Tool > ToolPtr
boost::shared_ptr< class TrackingSystemService > TrackingSystemServicePtr