EgtGraphics 2.1b3 :

- modifiche per cambio interfaccia Zmap e SurfTm.
This commit is contained in:
Dario Sassi
2019-02-13 08:34:00 +00:00
parent 35235036ab
commit 9811263f40
5 changed files with 85 additions and 78 deletions
+20
View File
@@ -188,6 +188,25 @@ ObjMultiGraphics::GetLocalBBox( BBox3d& b3Loc) const
return ! m_b3Loc.IsEmpty() ;
}
//----------------------------------------------------------------------------
bool
ObjMultiGraphics::SetCounter( int nCnt)
{
if ( m_nCurr < 0 || m_nCurr >= int( m_vOEGR.size()))
return false ;
m_Counter[m_nCurr] = nCnt ;
return true ;
}
//----------------------------------------------------------------------------
int
ObjMultiGraphics::GetCounter( void) const
{
if ( m_nCurr < 0 || m_nCurr >= int( m_vOEGR.size()))
return -1 ;
return m_Counter[m_nCurr] ;
}
//----------------------------------------------------------------------------
ObjMultiGraphics::ObjMultiGraphics( int nCount, bool bNewWay)
{
@@ -200,5 +219,6 @@ ObjMultiGraphics::ObjMultiGraphics( int nCount, bool bNewWay)
else
m_vOEGR.emplace_back( new( nothrow) ObjOldGraphics) ;
}
m_Counter.resize( nCount, 0) ;
m_nCurr = - 1 ;
}