#1194 Use larger geometry for open wells for spheres and well head

This commit is contained in:
Magne Sjaastad
2017-02-08 14:26:28 +01:00
parent c197f22013
commit 9753e8b242
3 changed files with 17 additions and 3 deletions

View File

@@ -198,6 +198,13 @@ void RivWellHeadPartMgr::buildWellHeadParts(size_t frameIndex)
}
double arrowLength = characteristicCellSize * m_rimReservoirView->wellCollection()->wellHeadScaleFactor() * m_rimWell->wellHeadScaleFactor();
if (wellResultFrame.m_isOpen)
{
// Use slightly larger well head arrow when well is open
arrowLength = 1.1 * arrowLength;
}
cvf::Vec3d textPosition = arrowPosition;
textPosition.z() += 1.2 * arrowLength;