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:
@@ -2,36 +2,35 @@
|
||||
//
|
||||
// Copyright (C) Statoil ASA
|
||||
// Copyright (C) Ceetron Solutions AS
|
||||
//
|
||||
//
|
||||
// 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>
|
||||
//
|
||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
||||
// for more details.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "cafPdmPointer.h"
|
||||
#include "cvfStructGrid.h"
|
||||
|
||||
|
||||
class RimEclipseView;
|
||||
class RimEclipseCellColors;
|
||||
class Rim2dIntersectionView;
|
||||
class QString;
|
||||
class RigEclipseCaseData;
|
||||
|
||||
namespace cvf {
|
||||
class Part;
|
||||
namespace cvf
|
||||
{
|
||||
class Part;
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
@@ -41,20 +40,20 @@ namespace cvf {
|
||||
class RiuResultTextBuilder
|
||||
{
|
||||
public:
|
||||
RiuResultTextBuilder(RimEclipseView* reservoirView, size_t gridIndex, size_t cellIndex, size_t timeStepIndex);
|
||||
RiuResultTextBuilder(RimEclipseView* reservoirView, size_t reservoirCellIndex, size_t timeStepIndex);
|
||||
RiuResultTextBuilder( RimEclipseView* reservoirView, size_t gridIndex, size_t cellIndex, size_t timeStepIndex );
|
||||
RiuResultTextBuilder( RimEclipseView* reservoirView, size_t reservoirCellIndex, size_t timeStepIndex );
|
||||
|
||||
void setFace(cvf::StructGridInterface::FaceType face);
|
||||
void setNncIndex(size_t nncIndex);
|
||||
void setIntersectionPointInDisplay(cvf::Vec3d intersectionPointInDisplay);
|
||||
void set2dIntersectionView(Rim2dIntersectionView* intersectionView);
|
||||
void setFace( cvf::StructGridInterface::FaceType face );
|
||||
void setNncIndex( size_t nncIndex );
|
||||
void setIntersectionPointInDisplay( cvf::Vec3d intersectionPointInDisplay );
|
||||
void set2dIntersectionView( Rim2dIntersectionView* intersectionView );
|
||||
|
||||
QString mainResultText();
|
||||
|
||||
QString geometrySelectionText(QString itemSeparator);
|
||||
|
||||
QString geometrySelectionText( QString itemSeparator );
|
||||
|
||||
private:
|
||||
void appendDetails(QString& text, const QString& details);
|
||||
void appendDetails( QString& text, const QString& details );
|
||||
|
||||
QString gridResultDetails();
|
||||
QString faultResultDetails();
|
||||
@@ -67,12 +66,17 @@ private:
|
||||
QString nncResultText();
|
||||
QString wellResultText();
|
||||
|
||||
QString cellResultText(RimEclipseCellColors* resultColors);
|
||||
QString cellResultText( RimEclipseCellColors* resultColors );
|
||||
|
||||
void appendTextFromResultColors(RigEclipseCaseData* eclipseCase, size_t gridIndex, size_t cellIndex, size_t timeStepIndex, RimEclipseCellColors* resultColors, QString* resultInfoText);
|
||||
void appendTextFromResultColors( RigEclipseCaseData* eclipseCase,
|
||||
size_t gridIndex,
|
||||
size_t cellIndex,
|
||||
size_t timeStepIndex,
|
||||
RimEclipseCellColors* resultColors,
|
||||
QString* resultInfoText );
|
||||
|
||||
private:
|
||||
caf::PdmPointer<RimEclipseView> m_reservoirView;
|
||||
caf::PdmPointer<RimEclipseView> m_reservoirView;
|
||||
caf::PdmPointer<Rim2dIntersectionView> m_2dIntersectionView;
|
||||
|
||||
size_t m_gridIndex;
|
||||
@@ -81,7 +85,7 @@ private:
|
||||
|
||||
cvf::StructGridInterface::FaceType m_face;
|
||||
|
||||
size_t m_nncIndex;
|
||||
size_t m_nncIndex;
|
||||
|
||||
cvf::Vec3d m_intersectionPointInDisplay;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user