mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4683 clang-format on all files in ApplicationCode
This commit is contained in:
@@ -45,18 +45,18 @@ class RiuRelativePermeabilityPlotPanel : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RiuRelativePermeabilityPlotPanel(QDockWidget* parent);
|
||||
RiuRelativePermeabilityPlotPanel( QDockWidget* parent );
|
||||
~RiuRelativePermeabilityPlotPanel() override;
|
||||
|
||||
void setPlotData(RiaEclipseUnitTools::UnitSystem unitSystem,
|
||||
const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& relPermCurves,
|
||||
double swat,
|
||||
double sgas,
|
||||
QString caseName,
|
||||
QString cellReferenceText);
|
||||
void setPlotData( RiaEclipseUnitTools::UnitSystem unitSystem,
|
||||
const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& relPermCurves,
|
||||
double swat,
|
||||
double sgas,
|
||||
QString caseName,
|
||||
QString cellReferenceText );
|
||||
void clearPlot();
|
||||
RiuRelativePermeabilityPlotUpdater* plotUpdater();
|
||||
void applyFontSizes(bool replot);
|
||||
void applyFontSizes( bool replot );
|
||||
|
||||
private:
|
||||
enum WhichYAxis
|
||||
@@ -69,55 +69,56 @@ private:
|
||||
{
|
||||
public:
|
||||
ValueRange();
|
||||
void add(const ValueRange& range);
|
||||
void add( const ValueRange& range );
|
||||
|
||||
public:
|
||||
double min;
|
||||
double max;
|
||||
};
|
||||
|
||||
void plotUiSelectedCurves();
|
||||
static void setPlotDefaults(QwtPlot* plot);
|
||||
static void plotCurvesInQwt(RiaEclipseUnitTools::UnitSystem unitSystem,
|
||||
const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& curveArr,
|
||||
double swat,
|
||||
double sgas,
|
||||
QString cellReferenceText,
|
||||
bool logScaleLeftAxis,
|
||||
bool fixedXAxis,
|
||||
bool fixedLeftYAxis,
|
||||
QwtPlot* plot,
|
||||
std::vector<QwtPlotMarker*>* myPlotMarkers);
|
||||
void plotUiSelectedCurves();
|
||||
static void setPlotDefaults( QwtPlot* plot );
|
||||
static void plotCurvesInQwt( RiaEclipseUnitTools::UnitSystem unitSystem,
|
||||
const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& curveArr,
|
||||
double swat,
|
||||
double sgas,
|
||||
QString cellReferenceText,
|
||||
bool logScaleLeftAxis,
|
||||
bool fixedXAxis,
|
||||
bool fixedLeftYAxis,
|
||||
QwtPlot* plot,
|
||||
std::vector<QwtPlotMarker*>* myPlotMarkers );
|
||||
|
||||
static QString determineXAxisTitleFromCurveCollection(const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& curveArr);
|
||||
static QString
|
||||
determineXAxisTitleFromCurveCollection( const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& curveArr );
|
||||
|
||||
static void addVerticalSaturationMarkerLine(double saturationValue,
|
||||
QString label,
|
||||
QColor color,
|
||||
QwtPlot* plot,
|
||||
std::vector<QwtPlotMarker*>* myPlotMarkers);
|
||||
static void addVerticalSaturationMarkerLine(
|
||||
double saturationValue, QString label, QColor color, QwtPlot* plot, std::vector<QwtPlotMarker*>* myPlotMarkers );
|
||||
|
||||
static void addCurveConstSaturationIntersectionMarker(const RigFlowDiagSolverInterface::RelPermCurve& curve,
|
||||
double saturationValue,
|
||||
QColor markerColor,
|
||||
WhichYAxis whichYAxis,
|
||||
QwtPlot* plot,
|
||||
std::vector<QwtPlotMarker*>* myPlotMarkers,
|
||||
std::vector<QPointF>* points,
|
||||
std::vector<WhichYAxis>* axes);
|
||||
static void addCurveConstSaturationIntersectionMarker( const RigFlowDiagSolverInterface::RelPermCurve& curve,
|
||||
double saturationValue,
|
||||
QColor markerColor,
|
||||
WhichYAxis whichYAxis,
|
||||
QwtPlot* plot,
|
||||
std::vector<QwtPlotMarker*>* myPlotMarkers,
|
||||
std::vector<QPointF>* points,
|
||||
std::vector<WhichYAxis>* axes );
|
||||
|
||||
static double interpolatedCurveYValue(const std::vector<double>& xVals, const std::vector<double>& yVals, double x);
|
||||
static double interpolatedCurveYValue( const std::vector<double>& xVals, const std::vector<double>& yVals, double x );
|
||||
|
||||
static void addTransparentCurve(QwtPlot* plot, const std::vector<QPointF>& points, const std::vector<WhichYAxis>& axes, bool logScaleLeftAxis);
|
||||
static void addTransparentCurve( QwtPlot* plot,
|
||||
const std::vector<QPointF>& points,
|
||||
const std::vector<WhichYAxis>& axes,
|
||||
bool logScaleLeftAxis );
|
||||
|
||||
std::vector<RigFlowDiagSolverInterface::RelPermCurve> gatherUiSelectedCurves() const;
|
||||
QString asciiDataForUiSelectedCurves() const;
|
||||
|
||||
void contextMenuEvent(QContextMenuEvent* event) override;
|
||||
void contextMenuEvent( QContextMenuEvent* event ) override;
|
||||
|
||||
private slots:
|
||||
void slotButtonInButtonGroupClicked(int);
|
||||
void slotSomeCheckBoxStateChanged(int);
|
||||
void slotButtonInButtonGroupClicked( int );
|
||||
void slotSomeCheckBoxStateChanged( int );
|
||||
void slotCurrentPlotDataInTextDialog();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user