#3401 HoloLens : Add detection of mesh line parts

This commit is contained in:
Magne Sjaastad
2018-09-21 11:36:32 +02:00
parent b028c36116
commit 32237b6c7c
11 changed files with 212 additions and 64 deletions

View File

@@ -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;
}
}