#2552 Simulation well heads for branches in 2d intersection view

This commit is contained in:
Jacob Støren
2018-03-15 14:46:57 +01:00
parent a41ca4688e
commit 4ac0a6354c
5 changed files with 34 additions and 12 deletions
@@ -482,9 +482,14 @@ void Rim2dIntersectionView::updateCurrentTimeStep()
m_intersection->extentLength(),
m_intersection->branchIndex());
m_flatWellHeadPartMgr->appendFlattenedDynamicGeometryPartsToModel(simWellModelBasicList.p(),
m_currentTimeStep,
this->displayCoordTransform().p());
for ( double offset : m_flatSimWellPipePartMgr->flattenedBranchWellHeadOffsets() )
{
m_flatWellHeadPartMgr->appendFlattenedDynamicGeometryPartsToModel(simWellModelBasicList.p(),
m_currentTimeStep,
this->displayCoordTransform().p(),
offset);
}
simWellModelBasicList->updateBoundingBoxesRecursive();
frameScene->addModel(simWellModelBasicList.p());
m_flatSimWellPipePartMgr->updatePipeResultColor(m_currentTimeStep);