mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-08 07:15:13 -06:00
Refactor: move common VTK import methods for easier reuse.
This commit is contained in:
1 parent
e492685070
commit
eb27d8a772
7 files changed
+275
-171
No files matched your search
@@ -28,6 +28,7 @@
|
||||
#include "RimSurfaceCollection.h"
|
||||
|
||||
#include "RifSurfaceImporter.h"
|
||||
#include "RifVtkImportUtil.h"
|
||||
#include "RifVtkSurfaceImporter.h"
|
||||
|
||||
#include "cafPdmObjectScriptingCapability.h"
|
||||
@@ -199,7 +200,7 @@ void RimFractureSurface::clearCachedNativeData()
|
||||
bool RimFractureSurface::loadDataFromFile()
|
||||
{
|
||||
std::filesystem::path filepath = m_surfaceDefinitionFilePath().path().toLocal8Bit().constData();
|
||||
auto surfaceInfo = RifVtkSurfaceImporter::parsePvdDatasets( filepath );
|
||||
auto surfaceInfo = RifVtkImportUtil::parsePvdDatasets( filepath );
|
||||
|
||||
for ( const auto& s : surfaceInfo )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user