Remove SSIHUB-related classes.

This commit is contained in:
Kristian Bendiksen
2024-07-29 11:30:28 +02:00
parent 4aadf6e801
commit 1d7b40fbdd
14 changed files with 17 additions and 757 deletions

View File

@@ -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;
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -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;