35 mDataManager(dataManager)
53 mSliceProxy = sliceProxy;
86 if (!mSliceProxy->getTool())
89 mCalculator->mFollowTooltip =
settings()->
value(
"Navigation/followTooltip").value<
bool>();
90 mCalculator->mFollowTooltipBoundary =
settings()->
value(
"Navigation/followTooltipBoundary").toDouble();
91 mCalculator->mBB_s = mBB_s;
92 mCalculator->mTooltip_s = this->findVirtualTooltip_s();
93 mCalculator->mFollowType = mSliceProxy->getComputer().getFollowType();
94 mCalculator->mROI_s = this->getROI_BB_s();
114 DataPtr data = mDataManager->getData(mRoi);
124 DoubleBoundingBox3D bb_s = roi->getROI().getBox(sMr);
128 Vector3D ViewFollower::findVirtualTooltip_s()
130 ToolPtr tool = mSliceProxy->getTool();
134 Vector3D pt_s = sMr * rMpr * prMt.coord(
Vector3D(0,0,tool->getTooltipOffset()));
142 Vector3D c_s = sMr.coord(mDataManager->getCenter());
144 Vector3D newcenter_s = c_s + shift_s;
146 Vector3D newcenter_r = sMr.inv().coord(newcenter_s);