|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
43 ToolImpl(base->getUid(),
"Bronchoscopy Navigation "+base->getName()),
45 mProjectionCenterline(projectionCenterline)
62 return mBase->getTypes();
65 void BronchoscopyTool::onToolTransformAndTimestamp(
Transform3D prMt,
double timestamp)
67 double maxDistanceToCenterline = mProjectionCenterline->getMaxDistanceToCenterlineValue();
68 double maxSearchDistance = mProjectionCenterline->getMaxSearchDistanceValue();
70 if (mProjectionCenterline->isAdvancedCenterlineProjectionSelected())
71 m_prMt = mProjectionCenterline->findProjectedPoint(prMt, maxDistanceToCenterline, maxSearchDistance);
73 m_prMt = mProjectionCenterline->findClosestPointInBranches(prMt,maxDistanceToCenterline);
80 return mBase->getGraphicsPolyData();
90 return mBase->getVisible();
105 return mBase->isCalibrated();
110 return mBase->getTimestamp();
116 return mBase->getTooltipOffset();
122 mBase->setTooltipOffset(val);
127 return mBase->getCalibration_sMt();
132 return mBase->getReferencePoints();
137 return mBase->isInitialized();
142 mBase->set_prMt(prMt, timestamp);
148 mBase->setVisible(vis);
Namespace for all CustusX production code.
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
boost::shared_ptr< class BronchoscopePositionProjection > BronchoscopePositionProjectionPtr
boost::shared_ptr< class Tool > ToolPtr