diff --git a/ApplicationLibCode/Application/RiaDefines.h b/ApplicationLibCode/Application/RiaDefines.h index 95a64fe8bb..f31b82a355 100644 --- a/ApplicationLibCode/Application/RiaDefines.h +++ b/ApplicationLibCode/Application/RiaDefines.h @@ -76,6 +76,8 @@ enum class WellPathComponentType CASING, LINER, PACKER, + // MSW segments from WELSEGS + MSW_SEGMENT, UNDEFINED_COMPONENT }; diff --git a/ApplicationLibCode/Application/Tools/RiaColorTables.cpp b/ApplicationLibCode/Application/Tools/RiaColorTables.cpp index b55c0a0df5..5e99aa47ca 100644 --- a/ApplicationLibCode/Application/Tools/RiaColorTables.cpp +++ b/ApplicationLibCode/Application/Tools/RiaColorTables.cpp @@ -591,6 +591,7 @@ RiaColorTables::WellPathComponentColors RiaColorTables::wellPathComponentColors( { RiaDefines::WellPathComponentType::CASING, cvf::Color3::SEA_GREEN }, { RiaDefines::WellPathComponentType::LINER, cvf::Color3::OLIVE }, { RiaDefines::WellPathComponentType::PACKER, cvf::Color3::GRAY }, + { RiaDefines::WellPathComponentType::MSW_SEGMENT, cvf::Color3::DARK_CYAN }, { RiaDefines::WellPathComponentType::UNDEFINED_COMPONENT, cvf::Color3::MAGENTA } }; } diff --git a/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogTrack.cpp b/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogTrack.cpp index 2be5fd1122..b9791b22b5 100644 --- a/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogTrack.cpp +++ b/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogTrack.cpp @@ -3308,7 +3308,8 @@ void RimWellLogTrack::updateWellPathAttributesOnPlot() { RiaDefines::WellPathComponentType::PACKER, 6 }, { RiaDefines::WellPathComponentType::ICD, 7 }, { RiaDefines::WellPathComponentType::AICD, 8 }, - { RiaDefines::WellPathComponentType::ICV, 9 } }; + { RiaDefines::WellPathComponentType::ICV, 9 }, + { RiaDefines::WellPathComponentType::MSW_SEGMENT, 10 } }; std::stable_sort( allWellPathComponents.begin(), allWellPathComponents.end(), diff --git a/ApplicationLibCode/UserInterface/RiuWellPathComponentPlotItem.cpp b/ApplicationLibCode/UserInterface/RiuWellPathComponentPlotItem.cpp index 3ca0d7678f..6e554f7ddf 100644 --- a/ApplicationLibCode/UserInterface/RiuWellPathComponentPlotItem.cpp +++ b/ApplicationLibCode/UserInterface/RiuWellPathComponentPlotItem.cpp @@ -295,6 +295,12 @@ void RiuWellPathComponentPlotItem::onLoadDataAndUpdate( bool updateParentPlot ) addColumnFeature( 0.25, 1.1 * casingTrackEnd, startDepth, endDepth, componentColor(), Qt::DiagCrossPattern ); addMarker( casingTrackEnd, midDepth, 10, RiuPlotCurveSymbol::SYMBOL_RIGHT_ANGLED_TRIANGLE, componentColor( 0.0 ), label() ); } + else if ( m_componentType == RiaDefines::WellPathComponentType::MSW_SEGMENT ) + { + addColumnFeature( -0.4, -0.25, startDepth, endDepth, componentColor() ); + addColumnFeature( 0.25, 0.4, startDepth, endDepth, componentColor() ); + addMarker( casingTrackEnd, midDepth, 8, RiuPlotCurveSymbol::SYMBOL_RECT, componentColor( 0.0 ), label() ); + } m_combinedComponentGroup.setTitle( legendTitle() ); m_combinedComponentGroup.setLegendIconSize( QSize( 20, 16 ) ); }