mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
#3401 HoloLens : Add detection of mesh line parts
This commit is contained in:
1 parent
b028c36116
commit
32237b6c7c
11 files changed
+212
-64
No files matched your search
@@ -38,6 +38,7 @@
|
||||
|
||||
#include "RivCellEdgeEffectGenerator.h"
|
||||
#include "RivCompletionTypeResultToTextureMapper.h"
|
||||
#include "RivMeshLinesSourceInfo.h"
|
||||
#include "RivPartPriority.h"
|
||||
#include "RivResultToTextureMapper.h"
|
||||
#include "RivScalarMapperUtils.h"
|
||||
@@ -184,6 +185,9 @@ void RivGridPartMgr::generatePartGeometry(cvf::StructGridGeometryGenerator& geoB
|
||||
|
||||
part->setEnableMask(meshSurfaceBit);
|
||||
part->setEffect(eff.p());
|
||||
|
||||
part->setSourceInfo(new RivMeshLinesSourceInfo(m_eclipseCase));
|
||||
|
||||
m_surfaceGridLines = part;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user