RFT plot. Refactoring. Move several static methods to RimWellPlotTools class

This commit is contained in:
Bjørn Erik Jensen
2017-11-08 10:30:55 +01:00
parent cf069aaf5c
commit a46c5af1f8
6 changed files with 534 additions and 478 deletions

View File

@@ -31,6 +31,7 @@
#include "RimWellPath.h"
#include "RimWellPathCollection.h"
#include "RimWellRftPlot.h"
#include "RimWellPlotTools.h"
#include "RiuLineSegmentQwtPlotCurve.h"
#include "RiuWellLogTrack.h"
@@ -320,7 +321,7 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
for (RimWellLogFile* const wellLogFile : m_wellPath->wellLogFiles())
{
if (!isRftChild || RimWellRftPlot::hasPressureData(wellLogFile))
if (!isRftChild || RimWellPlotTools::hasPressureData(wellLogFile))
{
QFileInfo fileInfo(wellLogFile->fileName());
options.push_back(caf::PdmOptionItemInfo(fileInfo.baseName(), wellLogFile));