#2481, #2605, #2486 Use a flattened version of the normal wellpath visualization in 2D intersection view

This commit is contained in:
Jacob Støren
2018-03-20 13:12:20 +01:00
parent 0de43ac938
commit a9daea0938
10 changed files with 360 additions and 200 deletions

View File

@@ -794,7 +794,7 @@ void RivIntersectionPartMgr::appendWellPipePartsToModel(cvf::ModelBasicList* mod
createSourceInfoFunc = [&](size_t brIdx) { return new RivSimWellPipeSourceInfo(simWellInView, brIdx); };
characteristicCellSize = eclView->eclipseCase()->characteristicCellSize();
}
else if (m_rimCrossSection->type() == RimIntersection::CS_WELL_PATH)
else if (false)//m_rimCrossSection->type() == RimIntersection::CS_WELL_PATH)
{
RimWellPath* wellPath = m_rimCrossSection->wellPath();
@@ -816,9 +816,10 @@ void RivIntersectionPartMgr::appendWellPipePartsToModel(cvf::ModelBasicList* mod
// Create pipe geometry
if ( //m_rimCrossSection->type() == RimIntersection::CS_SIMULATION_WELL
if ( false //m_rimCrossSection->type() == RimIntersection::CS_SIMULATION_WELL
//||
m_rimCrossSection->type() == RimIntersection::CS_WELL_PATH )
//m_rimCrossSection->type() == RimIntersection::CS_WELL_PATH
)
{
std::vector<std::vector<cvf::Vec3d> > polyLines = m_crossSectionGenerator->flattenedOrOffsettedPolyLines();