39 #include <QApplication>
50 mBase(trackingService->getTrackingSystems().back()),
51 mTrackingService(trackingService),
52 mProjectionCenterline(projectionCenterline),
57 mTool = mTrackingService->getActiveTool();
58 this->onStateChanged();
67 std::vector<TrackingSystemServicePtr> trackingSystems = mTrackingService->getTrackingSystems();
68 for (
int i=0; i<trackingSystems.size(); i++)
69 if (trackingSystems[i]->
getUid() == trackingSystemName)
71 mBase = trackingSystems[i];
72 this->onStateChanged();
83 void TrackingSystemBronchoscopyService::onStateChanged()
85 std::vector<ToolPtr> tools = mBase->getTools();
87 for (
unsigned i=0; i<tools.size(); ++i)
89 if (tools[i] == mTool)
92 mTools.push_back(current);
95 mTools.push_back(tools[i]);
102 return mBase->getReference();
113 return mBase->getState();
118 mBase->setState(val);
123 mBase->setLoggingFolder(loggingFolder);
128 return mBase->getConfiguration();