mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6171 Fracture Model Plot: Use "Step Left" interpolation for stress gradient.
This commit is contained in:
parent
fcb99b1987
commit
56cbf6b5df
@ -478,6 +478,10 @@ void RicNewFractureModelPlotFeature::createStressTrack( RimFractureModelPlot*
|
|||||||
curve->setLineThickness( 2 );
|
curve->setLineThickness( 2 );
|
||||||
curve->setUiName( trackName );
|
curve->setUiName( trackName );
|
||||||
curve->setAutoNameComponents( false, false, false, false, false );
|
curve->setAutoNameComponents( false, false, false, false, false );
|
||||||
|
if ( propertyType == RiaDefines::CurveProperty::STRESS_GRADIENT )
|
||||||
|
{
|
||||||
|
curve->setInterpolation( RiuQwtPlotCurve::INTERPOLATION_STEP_LEFT );
|
||||||
|
}
|
||||||
|
|
||||||
plotTrack->addCurve( curve );
|
plotTrack->addCurve( curve );
|
||||||
plotTrack->setAutoScaleXEnabled( true );
|
plotTrack->setAutoScaleXEnabled( true );
|
||||||
|
@ -890,6 +890,14 @@ void RimPlotCurve::setSymbol( RiuQwtSymbol::PointSymbolEnum symbolStyle )
|
|||||||
m_pointSymbol = symbolStyle;
|
m_pointSymbol = symbolStyle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RimPlotCurve::setInterpolation( RiuQwtPlotCurve::CurveInterpolationEnum curveInterpolation )
|
||||||
|
{
|
||||||
|
m_curveInterpolation = curveInterpolation;
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -69,6 +69,7 @@ public:
|
|||||||
cvf::Color3f color() const { return m_curveColor; }
|
cvf::Color3f color() const { return m_curveColor; }
|
||||||
void setLineStyle( RiuQwtPlotCurve::LineStyleEnum lineStyle );
|
void setLineStyle( RiuQwtPlotCurve::LineStyleEnum lineStyle );
|
||||||
void setSymbol( RiuQwtSymbol::PointSymbolEnum symbolStyle );
|
void setSymbol( RiuQwtSymbol::PointSymbolEnum symbolStyle );
|
||||||
|
void setInterpolation( RiuQwtPlotCurve::CurveInterpolationEnum );
|
||||||
RiuQwtSymbol::PointSymbolEnum symbol();
|
RiuQwtSymbol::PointSymbolEnum symbol();
|
||||||
int symbolSize() const;
|
int symbolSize() const;
|
||||||
cvf::Color3f symbolEdgeColor() const;
|
cvf::Color3f symbolEdgeColor() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user