#3827 Fishbone Laterals : Whole well is exported instead of lateral only

This commit is contained in:
Magne Sjaastad
2018-12-05 12:47:07 +01:00
parent 2e8c2e28a8
commit 33a8f773ae
3 changed files with 44 additions and 19 deletions

View File

@@ -51,12 +51,21 @@ class RicExportSelectedWellPathsFeature : public caf::CmdFeature
static RicExportWellPathsUi* openDialog();
static QFilePtr openFileForExport(const QString& folderName, const QString& fileName);
static QTextStreamPtr createOutputFileStream(QFile& file);
static void writeWellPathGeometryToStream(QTextStream& stream,
const RimWellPath* wellPath,
const QString& exportName,
double mdStepSize,
bool writeProjectInfo = true);
static void writeWellPathGeometryToStream(QTextStream& stream,
const RigWellPath* wellPath,
const QString& exportName,
double mdStepSize,
bool useMdRkb,
double rkbOffset,
bool writeProjectInfo);
private:
bool isCommandEnabled() override;
void onActionTriggered( bool isChecked ) override;