mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
The segment symbol is displayed once per segment. Previous code used segment start as symbol location. Add support for selecting the location for the segment indicator, either start, mid or end. When reading segment property values, always use segment end as the curve is plotted using step left.
61 lines
2.9 KiB
C++
61 lines
2.9 KiB
C++
/////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (C) 2022- Equinor ASA
|
|
//
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
//
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
// for more details.
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#include "RiaRftDefines.h"
|
|
#include "RifEclipseRftAddress.h"
|
|
|
|
#include <QList>
|
|
|
|
namespace caf
|
|
{
|
|
class PdmOptionItemInfo;
|
|
}
|
|
class RifReaderRftInterface;
|
|
|
|
class RimRftTools
|
|
{
|
|
public:
|
|
static QList<caf::PdmOptionItemInfo> wellLogChannelsOptions( RifReaderRftInterface* readerRft, const QString& wellName );
|
|
static QList<caf::PdmOptionItemInfo> wellNameOptions( RifReaderRftInterface* readerRft );
|
|
static QList<caf::PdmOptionItemInfo>
|
|
timeStepOptions( RifReaderRftInterface* readerRft, const QString& wellName, RifEclipseRftAddress::RftWellLogChannelType channelType );
|
|
|
|
static QList<caf::PdmOptionItemInfo> segmentTimeStepOptions( RifReaderRftInterface* readerRft, const QString& wellName );
|
|
|
|
static QList<caf::PdmOptionItemInfo>
|
|
segmentResultNameOptions( RifReaderRftInterface* readerRft, const QString& wellName, const QDateTime& timeStep );
|
|
static QList<caf::PdmOptionItemInfo> segmentBranchIndexOptions( RifReaderRftInterface* readerRft,
|
|
const QString& wellName,
|
|
const QDateTime& timeStep,
|
|
RiaDefines::RftBranchType branchType );
|
|
|
|
static std::vector<double> segmentStartMdValues( RifReaderRftInterface* readerRft,
|
|
const QString& wellName,
|
|
const QDateTime& dateTime,
|
|
int segmentBranchIndex,
|
|
RiaDefines::RftBranchType segmentBranchType );
|
|
|
|
static std::vector<double> segmentEndMdValues( RifReaderRftInterface* readerRft,
|
|
const QString& wellName,
|
|
const QDateTime& dateTime,
|
|
int segmentBranchIndex,
|
|
RiaDefines::RftBranchType segmentBranchType );
|
|
};
|