mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Minor WBS plot layout work
This commit is contained in:
parent
a7cb58d0c5
commit
4cf427ce69
@ -215,7 +215,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->setColSpan( RimPlot::TWO );
|
formationTrack->setColSpan( RimPlot::ONE );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@ -251,7 +251,7 @@ void RicNewWellBoreStabilityPlotFeature::createParametersTrack( RimWellBoreStabi
|
|||||||
{
|
{
|
||||||
RimWellLogTrack* paramCurvesTrack =
|
RimWellLogTrack* paramCurvesTrack =
|
||||||
RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, "WBS Parameters", plot );
|
RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, "WBS Parameters", plot );
|
||||||
paramCurvesTrack->setColSpan( RimPlot::THREE );
|
paramCurvesTrack->setColSpan( RimPlot::TWO );
|
||||||
paramCurvesTrack->setVisibleXRange( 0.0, 1.0 );
|
paramCurvesTrack->setVisibleXRange( 0.0, 1.0 );
|
||||||
paramCurvesTrack->setAutoScaleXEnabled( true );
|
paramCurvesTrack->setAutoScaleXEnabled( true );
|
||||||
paramCurvesTrack->setTickIntervals( 0.5, 0.1 );
|
paramCurvesTrack->setTickIntervals( 0.5, 0.1 );
|
||||||
@ -299,7 +299,7 @@ void RicNewWellBoreStabilityPlotFeature::createStabilityCurvesTrack( RimWellBore
|
|||||||
|
|
||||||
plot );
|
plot );
|
||||||
stabilityCurvesTrack->setVisibleXRange( 0.0, 2.5 );
|
stabilityCurvesTrack->setVisibleXRange( 0.0, 2.5 );
|
||||||
stabilityCurvesTrack->setColSpan( RimPlot::SIX );
|
stabilityCurvesTrack->setColSpan( RimPlot::THREE );
|
||||||
stabilityCurvesTrack->setAutoScaleXEnabled( true );
|
stabilityCurvesTrack->setAutoScaleXEnabled( true );
|
||||||
stabilityCurvesTrack->setTickIntervals( 1.0, 0.2 );
|
stabilityCurvesTrack->setTickIntervals( 1.0, 0.2 );
|
||||||
stabilityCurvesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
stabilityCurvesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
||||||
@ -412,7 +412,7 @@ void RicNewWellBoreStabilityPlotFeature::createAnglesTrack( RimWellBoreStability
|
|||||||
maxValue = cvf::Math::clamp( maxValue, angleIncrement, 720.0 );
|
maxValue = cvf::Math::clamp( maxValue, angleIncrement, 720.0 );
|
||||||
minValue = cvf::Math::clamp( minValue, 0.0, maxValue - 90.0 );
|
minValue = cvf::Math::clamp( minValue, 0.0, maxValue - 90.0 );
|
||||||
}
|
}
|
||||||
wellPathAnglesTrack->setColSpan( RimPlot::THREE );
|
wellPathAnglesTrack->setColSpan( RimPlot::TWO );
|
||||||
wellPathAnglesTrack->setVisibleXRange( minValue, maxValue );
|
wellPathAnglesTrack->setVisibleXRange( minValue, maxValue );
|
||||||
wellPathAnglesTrack->setTickIntervals( 180.0, 45.0 );
|
wellPathAnglesTrack->setTickIntervals( 180.0, 45.0 );
|
||||||
wellPathAnglesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
wellPathAnglesTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR_AND_MINOR );
|
||||||
|
@ -235,9 +235,9 @@ RimWellLogTrack::RimWellLogTrack()
|
|||||||
CAF_PDM_InitField( &m_showformationFluids, "ShowFormationFluids", false, "Show Fluids", "", "", "" );
|
CAF_PDM_InitField( &m_showformationFluids, "ShowFormationFluids", false, "Show Fluids", "", "", "" );
|
||||||
|
|
||||||
CAF_PDM_InitField( &m_showWellPathAttributes, "ShowWellPathAttributes", false, "Show Well Attributes", "", "", "" );
|
CAF_PDM_InitField( &m_showWellPathAttributes, "ShowWellPathAttributes", false, "Show Well Attributes", "", "", "" );
|
||||||
CAF_PDM_InitField( &m_wellPathAttributesInLegend, "WellPathAttributesInLegend", false, "Attributes in Legend", "", "", "" );
|
CAF_PDM_InitField( &m_wellPathAttributesInLegend, "WellPathAttributesInLegend", true, "Attributes in Legend", "", "", "" );
|
||||||
CAF_PDM_InitField( &m_showWellPathCompletions, "ShowWellPathCompletions", true, "Show Well Completions", "", "", "" );
|
CAF_PDM_InitField( &m_showWellPathCompletions, "ShowWellPathCompletions", true, "Show Well Completions", "", "", "" );
|
||||||
CAF_PDM_InitField( &m_wellPathCompletionsInLegend, "WellPathCompletionsInLegend", false, "Completions in Legend", "", "", "" );
|
CAF_PDM_InitField( &m_wellPathCompletionsInLegend, "WellPathCompletionsInLegend", true, "Completions in Legend", "", "", "" );
|
||||||
CAF_PDM_InitField( &m_showWellPathComponentsBothSides, "ShowWellPathAttrBothSides", true, "Show Both Sides", "", "", "" );
|
CAF_PDM_InitField( &m_showWellPathComponentsBothSides, "ShowWellPathAttrBothSides", true, "Show Both Sides", "", "", "" );
|
||||||
CAF_PDM_InitField( &m_showWellPathComponentLabels, "ShowWellPathAttrLabels", false, "Show Labels", "", "", "" );
|
CAF_PDM_InitField( &m_showWellPathComponentLabels, "ShowWellPathAttrLabels", false, "Show Labels", "", "", "" );
|
||||||
CAF_PDM_InitFieldNoDefault( &m_wellPathComponentSource, "AttributesWellPathSource", "Well Path", "", "", "" );
|
CAF_PDM_InitFieldNoDefault( &m_wellPathComponentSource, "AttributesWellPathSource", "Well Path", "", "", "" );
|
||||||
@ -1535,6 +1535,22 @@ void RimWellLogTrack::setShowWellPathAttributes( bool on )
|
|||||||
m_showWellPathAttributes = on;
|
m_showWellPathAttributes = on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RimWellLogTrack::setShowWellPathAttributesInLegend( bool on )
|
||||||
|
{
|
||||||
|
m_wellPathAttributesInLegend = on;
|
||||||
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RimWellLogTrack::setShowWellPathCompletionsInLegend( bool on )
|
||||||
|
{
|
||||||
|
m_wellPathCompletionsInLegend = on;
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -172,6 +172,8 @@ public:
|
|||||||
|
|
||||||
bool showWellPathAttributes() const;
|
bool showWellPathAttributes() const;
|
||||||
void setShowWellPathAttributes( bool on );
|
void setShowWellPathAttributes( bool on );
|
||||||
|
void setShowWellPathAttributesInLegend( bool on );
|
||||||
|
void setShowWellPathCompletionsInLegend( bool on );
|
||||||
void setShowBothSidesOfWell( bool on );
|
void setShowBothSidesOfWell( bool on );
|
||||||
void setWellPathAttributesSource( RimWellPath* wellPath );
|
void setWellPathAttributesSource( RimWellPath* wellPath );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user