3D well log curves: Code cleanup

This commit is contained in:
Rebecca Cox
2018-03-22 11:45:11 +01:00
parent 3547240fe6
commit ef1cb3468b
9 changed files with 36 additions and 57 deletions

View File

@@ -69,7 +69,7 @@ void Rim3dWellLogCurveCollection::add3dWellLogCurve(Rim3dWellLogCurve* curve)
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool Rim3dWellLogCurveCollection::showGrid() const
bool Rim3dWellLogCurveCollection::isShowingGrid() const
{
return m_showGrid;
}
@@ -77,7 +77,7 @@ bool Rim3dWellLogCurveCollection::showGrid() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool Rim3dWellLogCurveCollection::showPlot() const
bool Rim3dWellLogCurveCollection::isShowingPlot() const
{
return m_showPlot;
}

View File

@@ -39,12 +39,11 @@ public:
bool has3dWellLogCurves() const;
void add3dWellLogCurve(Rim3dWellLogCurve* curve);
bool showGrid() const;
bool showPlot() const;
bool isShowingGrid() const;
bool isShowingPlot() const;
std::vector<Rim3dWellLogCurve*> vectorOf3dWellLogCurves() const;
private:
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
virtual caf::PdmFieldHandle* objectToggleField() override;

View File

@@ -105,7 +105,7 @@ Rim3dWellLogCurve::DrawPlane Rim3dWellLogCurve::drawPlane() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool Rim3dWellLogCurve::toggleState() const
bool Rim3dWellLogCurve::isShowingCurve() const
{
return m_showCurve;
}

View File

@@ -61,7 +61,7 @@ public:
void updateCurveIn3dView();
DrawPlane drawPlane() const;
bool toggleState() const;
bool isShowingCurve() const;
virtual void curveValuesAndMds(std::vector<double>* values, std::vector<double>* measuredDepthValues) const = 0;

View File

@@ -31,7 +31,7 @@ class RimEclipseResultCase;
class QString;
//==================================================================================================
///
/// Not in use yet
///
//==================================================================================================
class Rim3dWellLogRftCurve : public Rim3dWellLogCurve