mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2552 Simulation well heads for branches in 2d intersection view
This commit is contained in:
@@ -132,7 +132,7 @@ void RivSimWellPipesPartMgr::buildWellPipeParts(const caf::DisplayCoordTransform
|
||||
if (!this->viewWithSettings()) return;
|
||||
|
||||
m_wellBranches.clear();
|
||||
|
||||
m_flattenedBranchWellHeadOffsets.clear();
|
||||
m_pipeBranchesCLCoords.clear();
|
||||
std::vector< std::vector <RigWellResultPoint> > pipeBranchesCellIds;
|
||||
|
||||
@@ -177,6 +177,8 @@ void RivSimWellPipesPartMgr::buildWellPipeParts(const caf::DisplayCoordTransform
|
||||
cvfCoords->assign(m_pipeBranchesCLCoords[brIdx]);
|
||||
|
||||
flattenedStartOffset.z() = m_pipeBranchesCLCoords[brIdx][0].z();
|
||||
|
||||
m_flattenedBranchWellHeadOffsets.push_back(flattenedStartOffset.x());
|
||||
|
||||
if (doFlatten)
|
||||
{
|
||||
@@ -398,3 +400,11 @@ void RivSimWellPipesPartMgr::updatePipeResultColor(size_t frameIndex)
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<double> RivSimWellPipesPartMgr::flattenedBranchWellHeadOffsets()
|
||||
{
|
||||
return m_flattenedBranchWellHeadOffsets;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user