mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove SSIHUB-related classes.
This commit is contained in:
@@ -113,8 +113,6 @@
|
||||
#include "RimGridStatisticsPlotCollection.h"
|
||||
#endif
|
||||
|
||||
#include "OsduImportCommands/RimWellPathImport.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
#include "RiuPlotMainWindow.h"
|
||||
|
||||
@@ -161,10 +159,6 @@ RimProject::RimProject()
|
||||
CAF_PDM_InitFieldNoDefault( &scriptCollection, "ScriptCollection", "Octave Scripts", ":/octave.png" );
|
||||
scriptCollection.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &wellPathImport, "WellPathImport", "WellPathImport" );
|
||||
wellPathImport = new RimWellPathImport();
|
||||
wellPathImport.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_mainPlotCollection, "MainPlotCollection", "Plots" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &viewLinkerCollection, "LinkedViews", "Linked Views", ":/LinkView.svg" );
|
||||
@@ -914,46 +908,6 @@ const RimOilField* RimProject::activeOilField() const
|
||||
return oilFields[0];
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimProject::computeUtmAreaOfInterest()
|
||||
{
|
||||
cvf::BoundingBox projectBB;
|
||||
for ( RimCase* rimCase : allGridCases() )
|
||||
{
|
||||
RimEclipseCase* eclipseCase = dynamic_cast<RimEclipseCase*>( rimCase );
|
||||
if ( eclipseCase && eclipseCase->eclipseCaseData() )
|
||||
{
|
||||
for ( size_t gridIdx = 0; gridIdx < eclipseCase->eclipseCaseData()->gridCount(); gridIdx++ )
|
||||
{
|
||||
RigGridBase* rigGrid = eclipseCase->eclipseCaseData()->grid( gridIdx );
|
||||
projectBB.add( rigGrid->boundingBox() );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Todo : calculate BBox of GeoMechCase
|
||||
}
|
||||
}
|
||||
|
||||
if ( projectBB.isValid() )
|
||||
{
|
||||
double north, south, east, west;
|
||||
|
||||
north = projectBB.max().y();
|
||||
south = projectBB.min().y();
|
||||
|
||||
west = projectBB.min().x();
|
||||
east = projectBB.max().x();
|
||||
|
||||
wellPathImport->north = north;
|
||||
wellPathImport->south = south;
|
||||
wellPathImport->east = east;
|
||||
wellPathImport->west = west;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -66,7 +66,6 @@ class RimViewLinker;
|
||||
class RimViewLinkerCollection;
|
||||
class RimViewWindow;
|
||||
class RimWellPath;
|
||||
class RimWellPathImport;
|
||||
class RimFractureTemplateCollection;
|
||||
class RimFractureTemplate;
|
||||
class RimValveTemplateCollection;
|
||||
@@ -99,7 +98,6 @@ public:
|
||||
caf::PdmChildArrayField<RimOilField*> oilFields;
|
||||
caf::PdmChildField<RimColorLegendCollection*> colorLegendCollection;
|
||||
caf::PdmChildField<RimScriptCollection*> scriptCollection;
|
||||
caf::PdmChildField<RimWellPathImport*> wellPathImport;
|
||||
caf::PdmChildField<RimViewLinkerCollection*> viewLinkerCollection;
|
||||
caf::PdmChildField<RimSummaryCalculationCollection*> calculationCollection;
|
||||
caf::PdmChildField<RimGridCalculationCollection*> gridCalculationCollection;
|
||||
@@ -146,8 +144,6 @@ public:
|
||||
|
||||
void scheduleCreateDisplayModelAndRedrawAllViews();
|
||||
|
||||
void computeUtmAreaOfInterest();
|
||||
|
||||
[[nodiscard]] std::vector<RimOilField*> allOilFields() const;
|
||||
RimOilField* activeOilField();
|
||||
const RimOilField* activeOilField() const;
|
||||
|
||||
Reference in New Issue
Block a user