#6314 Rename to RifSurfaceImporter

Co-authored-by: Ruben Manuel Thoms <ruben.thoms@ceetronsolutions.com>
This commit is contained in:
Magne Sjaastad
2020-08-24 14:12:51 +02:00
parent 4f68f2b11a
commit 1f2f1bf14e
7 changed files with 27 additions and 27 deletions

View File

@@ -18,7 +18,7 @@
#include "RimFileSurface.h"
#include "RifSurfaceReader.h"
#include "RifSurfaceImporter.h"
#include "RigGocadData.h"
#include "RigSurface.h"
#include "RimSurfaceCollection.h"
@@ -172,13 +172,13 @@ bool RimFileSurface::loadDataFromFile()
QString filePath = this->surfaceFilePath();
if ( filePath.endsWith( "ptl", Qt::CaseInsensitive ) )
{
surface = RifSurfaceReader::readPetrelFile( filePath );
surface = RifSurfaceImporter::readPetrelFile( filePath );
}
else if ( filePath.endsWith( "ts", Qt::CaseInsensitive ) )
{
m_gocadData.reset( new RigGocadData );
RifSurfaceReader::readGocadFile( filePath, m_gocadData.get() );
RifSurfaceImporter::readGocadFile( filePath, m_gocadData.get() );
surface = m_gocadData->gocadGeometry();
}

View File

@@ -22,7 +22,7 @@
#include "RigSurface.h"
#include "RifSurfaceReader.h"
#include "RifSurfaceImporter.h"
#include "cafPdmUiDoubleSliderEditor.h"