39 return mTool->getUid();
44 return mTool->getName();
49 if (this->
repo()->getMode()==
"flat")
50 return this->
repo()->getNodeForGroup(
"tool");
52 if (mTool->getUid() == this->
getServices()->tracking()->getManualTool()->getUid())
60 return this->
repo()->getNode(ref->getUid());
67 this->
getServices()->tracking()->setActiveTool(mTool->getUid());
78 return QIcon(
":icons/tool_us_probe.png");
80 return QIcon(
":icons/tool_pointer.png");
82 return QIcon(
":icons/tool_reference.png");
84 return QIcon(
":icons/tool_manual.png");
85 return QIcon(
":icons/tool_pointer.png");
90 if (!mTool->isInitialized())
91 return QColor(
"darkgray");
92 if (mTool->getVisible())
93 return QColor(
"green");
100 if (this->
getServices()->tracking()->getActiveTool()==mTool)
112 selector->setValue(mTool->getUid());
boost::shared_ptr< TreeNode > TreeNodePtr
VisServicesPtr getServices() const
boost::shared_ptr< class StringPropertySelectTool > StringPropertySelectToolPtr
boost::weak_ptr< class TreeRepository > TreeRepositoryWeakPtr
csPATIENTREF
the patient/tool reference space (pr)
Identification of a Coordinate system.
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr