#3379 Holo Lens : Add RivCellSetEnum to RivSouceInfo

This commit is contained in:
Magne Sjaastad
2018-09-19 11:01:11 +02:00
parent 56c91c39fd
commit aa3287f615
7 changed files with 61 additions and 15 deletions

View File

@@ -27,6 +27,7 @@
RivSourceInfo::RivSourceInfo(caf::PdmObject* pdmObject, size_t gridIndex)
: RivObjectSourceInfo(pdmObject)
, m_gridIndex(gridIndex)
, m_cellSetType(ALL_CELLS)
{
}
@@ -53,3 +54,19 @@ bool RivSourceInfo::hasNNCIndices() const
{
return m_NNCIndices.notNull();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RivCellSetEnum RivSourceInfo::cellSetType() const
{
return m_cellSetType;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RivSourceInfo::setCellSetType(RivCellSetEnum cellSetEnum)
{
m_cellSetType = cellSetEnum;
}