mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add polygon classes
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
#include "RicfCommandObject.h"
|
||||
|
||||
#include "PlotTemplates/RimPlotTemplateFolderItem.h"
|
||||
#include "Polygons/RimPolygonCollection.h"
|
||||
|
||||
#include "Rim2dIntersectionViewCollection.h"
|
||||
#include "RimAnnotationCollection.h"
|
||||
#include "RimAnnotationInViewCollection.h"
|
||||
@@ -544,6 +546,8 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
|
||||
{
|
||||
seismicData->ensureFileReaderIsInitialized();
|
||||
}
|
||||
|
||||
oilField->polygonCollection()->loadData();
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@@ -243,8 +243,17 @@ enum class View3dContent
|
||||
ALL = 0b00011111
|
||||
};
|
||||
|
||||
enum class ItemIn3dView
|
||||
{
|
||||
NONE = 0b00000000,
|
||||
SURFACE = 0b00000001,
|
||||
POLYGON = 0b00000010,
|
||||
ALL = 0b00000011
|
||||
};
|
||||
|
||||
}; // namespace RiaDefines
|
||||
|
||||
// Activate bit mask operators at global scope
|
||||
ENABLE_BITMASK_OPERATORS( RiaDefines::MultiPlotPageUpdateType )
|
||||
ENABLE_BITMASK_OPERATORS( RiaDefines::View3dContent )
|
||||
ENABLE_BITMASK_OPERATORS( RiaDefines::ItemIn3dView )
|
||||
|
||||
Reference in New Issue
Block a user