mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Renames of WelLLogTrack::Widths in create WBS feature
This commit is contained in:
@@ -191,7 +191,7 @@ void RicNewWellBoreStabilityPlotFeature::createFormationTrack( RimWellBoreStabil
|
|||||||
formationTrack->setFormationCase( geoMechCase );
|
formationTrack->setFormationCase( geoMechCase );
|
||||||
formationTrack->setAnnotationType( RiuPlotAnnotationTool::FORMATION_ANNOTATIONS );
|
formationTrack->setAnnotationType( RiuPlotAnnotationTool::FORMATION_ANNOTATIONS );
|
||||||
formationTrack->setVisibleXRange( 0.0, 0.0 );
|
formationTrack->setVisibleXRange( 0.0, 0.0 );
|
||||||
formationTrack->setWidthScaleFactor( RimWellLogTrack::NARROW );
|
formationTrack->setWidthScaleFactor( RimPlotInterface::NARROW );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -202,7 +202,7 @@ void RicNewWellBoreStabilityPlotFeature::createCasingShoeTrack( RimWellBoreStabi
|
|||||||
RimGeoMechCase* geoMechCase )
|
RimGeoMechCase* geoMechCase )
|
||||||
{
|
{
|
||||||
RimWellLogTrack* casingShoeTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, "Well Design", plot );
|
RimWellLogTrack* casingShoeTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, "Well Design", plot );
|
||||||
casingShoeTrack->setWidthScaleFactor( RimWellLogTrack::NARROW );
|
casingShoeTrack->setWidthScaleFactor( RimPlotInterface::NARROW );
|
||||||
casingShoeTrack->setFormationWellPath( wellPath );
|
casingShoeTrack->setFormationWellPath( wellPath );
|
||||||
casingShoeTrack->setFormationCase( geoMechCase );
|
casingShoeTrack->setFormationCase( geoMechCase );
|
||||||
casingShoeTrack->setAnnotationType( RiuPlotAnnotationTool::FORMATION_ANNOTATIONS );
|
casingShoeTrack->setAnnotationType( RiuPlotAnnotationTool::FORMATION_ANNOTATIONS );
|
||||||
@@ -226,7 +226,7 @@ void RicNewWellBoreStabilityPlotFeature::createParametersTrack( RimWellBoreStabi
|
|||||||
RimWellLogTrack* paramCurvesTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false,
|
RimWellLogTrack* paramCurvesTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false,
|
||||||
"WBS Parameters",
|
"WBS Parameters",
|
||||||
plot );
|
plot );
|
||||||
paramCurvesTrack->setWidthScaleFactor( RimWellLogTrack::WIDE );
|
paramCurvesTrack->setWidthScaleFactor( RimPlotInterface::WIDE );
|
||||||
paramCurvesTrack->setAutoScaleXEnabled( true );
|
paramCurvesTrack->setAutoScaleXEnabled( true );
|
||||||
paramCurvesTrack->setTickIntervals( 0.5, 0.05 );
|
paramCurvesTrack->setTickIntervals( 0.5, 0.05 );
|
||||||
paramCurvesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
paramCurvesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
||||||
@@ -237,7 +237,7 @@ void RicNewWellBoreStabilityPlotFeature::createParametersTrack( RimWellBoreStabi
|
|||||||
paramCurvesTrack->setChecked( false );
|
paramCurvesTrack->setChecked( false );
|
||||||
std::vector<QString> resultNames = RiaDefines::wellPathStabilityParameterNames();
|
std::vector<QString> resultNames = RiaDefines::wellPathStabilityParameterNames();
|
||||||
|
|
||||||
std::vector<cvf::Color3f> colors = {cvf::Color3f::CRIMSON, cvf::Color3f::DARK_YELLOW};
|
std::vector<cvf::Color3f> colors = { cvf::Color3f::CRIMSON, cvf::Color3f::DARK_YELLOW };
|
||||||
|
|
||||||
for ( size_t i = 0; i < resultNames.size(); ++i )
|
for ( size_t i = 0; i < resultNames.size(); ++i )
|
||||||
{
|
{
|
||||||
@@ -272,7 +272,7 @@ void RicNewWellBoreStabilityPlotFeature::createStabilityCurvesTrack( RimWellBore
|
|||||||
RimWellLogTrack* stabilityCurvesTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false,
|
RimWellLogTrack* stabilityCurvesTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false,
|
||||||
"Stability Curves",
|
"Stability Curves",
|
||||||
plot );
|
plot );
|
||||||
stabilityCurvesTrack->setWidthScaleFactor( RimWellLogTrack::EXTRA_WIDE );
|
stabilityCurvesTrack->setWidthScaleFactor( RimPlotInterface::EXTRA_WIDE );
|
||||||
stabilityCurvesTrack->setAutoScaleXEnabled( true );
|
stabilityCurvesTrack->setAutoScaleXEnabled( true );
|
||||||
stabilityCurvesTrack->setTickIntervals( 0.5, 0.05 );
|
stabilityCurvesTrack->setTickIntervals( 0.5, 0.05 );
|
||||||
stabilityCurvesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
stabilityCurvesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
||||||
@@ -283,11 +283,11 @@ void RicNewWellBoreStabilityPlotFeature::createStabilityCurvesTrack( RimWellBore
|
|||||||
|
|
||||||
std::vector<QString> resultNames = RiaDefines::wellPathStabilityResultNames();
|
std::vector<QString> resultNames = RiaDefines::wellPathStabilityResultNames();
|
||||||
|
|
||||||
std::vector<cvf::Color3f> colors = {cvf::Color3f::BLUE,
|
std::vector<cvf::Color3f> colors = { cvf::Color3f::BLUE,
|
||||||
cvf::Color3f::BROWN,
|
cvf::Color3f::BROWN,
|
||||||
cvf::Color3f::RED,
|
cvf::Color3f::RED,
|
||||||
cvf::Color3f::PURPLE,
|
cvf::Color3f::PURPLE,
|
||||||
cvf::Color3f::DARK_GREEN};
|
cvf::Color3f::DARK_GREEN };
|
||||||
|
|
||||||
for ( size_t i = 0; i < resultNames.size(); ++i )
|
for ( size_t i = 0; i < resultNames.size(); ++i )
|
||||||
{
|
{
|
||||||
@@ -327,9 +327,9 @@ void RicNewWellBoreStabilityPlotFeature::createAnglesTrack( RimWellBoreStability
|
|||||||
const double angleIncrement = 90.0;
|
const double angleIncrement = 90.0;
|
||||||
std::vector<QString> resultNames = RiaDefines::wellPathAngleResultNames();
|
std::vector<QString> resultNames = RiaDefines::wellPathAngleResultNames();
|
||||||
|
|
||||||
std::vector<cvf::Color3f> colors = {cvf::Color3f::GREEN, cvf::Color3f::ORANGE};
|
std::vector<cvf::Color3f> colors = { cvf::Color3f::GREEN, cvf::Color3f::ORANGE };
|
||||||
|
|
||||||
std::vector<RiuQwtPlotCurve::LineStyleEnum> lineStyles = {RiuQwtPlotCurve::STYLE_SOLID, RiuQwtPlotCurve::STYLE_DASH};
|
std::vector<RiuQwtPlotCurve::LineStyleEnum> lineStyles = { RiuQwtPlotCurve::STYLE_SOLID, RiuQwtPlotCurve::STYLE_DASH };
|
||||||
|
|
||||||
for ( size_t i = 0; i < resultNames.size(); ++i )
|
for ( size_t i = 0; i < resultNames.size(); ++i )
|
||||||
{
|
{
|
||||||
@@ -366,7 +366,7 @@ void RicNewWellBoreStabilityPlotFeature::createAnglesTrack( RimWellBoreStability
|
|||||||
maxValue = cvf::Math::clamp( maxValue, angleIncrement, 360.0 );
|
maxValue = cvf::Math::clamp( maxValue, angleIncrement, 360.0 );
|
||||||
minValue = cvf::Math::clamp( minValue, 0.0, maxValue - 90.0 );
|
minValue = cvf::Math::clamp( minValue, 0.0, maxValue - 90.0 );
|
||||||
}
|
}
|
||||||
wellPathAnglesTrack->setWidthScaleFactor( RimWellLogTrack::NORMAL );
|
wellPathAnglesTrack->setWidthScaleFactor( RimPlotInterface::NORMAL );
|
||||||
wellPathAnglesTrack->setVisibleXRange( minValue, maxValue );
|
wellPathAnglesTrack->setVisibleXRange( minValue, maxValue );
|
||||||
wellPathAnglesTrack->setTickIntervals( 90.0, 30.0 );
|
wellPathAnglesTrack->setTickIntervals( 90.0, 30.0 );
|
||||||
wellPathAnglesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
wellPathAnglesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
||||||
|
|||||||
Reference in New Issue
Block a user