mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5418 Add picking on reservoir surfaces.
Added sorting of pick items based on tolerance and polygon offset unit.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "RivFemPickSourceInfo.h"
|
||||
#include "RivGeoMechVizLogic.h"
|
||||
#include "RivMeshLinesSourceInfo.h"
|
||||
#include "RivReservoirSurfaceIntersectionSourceInfo.h"
|
||||
#include "RivSimWellPipeSourceInfo.h"
|
||||
#include "RivSourceInfo.h"
|
||||
#include "RivTextLabelSourceInfo.h"
|
||||
@@ -350,6 +351,14 @@ bool RicHoloLensExportImpl::isGrid( const cvf::Part* part )
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
auto sourceInfoOfType = dynamic_cast<const RivReservoirSurfaceIntersectionSourceInfo*>( sourceInfo );
|
||||
if ( sourceInfoOfType )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
auto sourceInfoOfType = dynamic_cast<const RivExtrudedCurveIntersectionSourceInfo*>( sourceInfo );
|
||||
if ( sourceInfoOfType )
|
||||
|
||||
Reference in New Issue
Block a user