EgtGeomKernel :

- modifiche a Zmap per gestione visualizzazione a blocchi.
This commit is contained in:
Dario Sassi
2017-02-02 19:59:49 +00:00
parent 0ebaa582c4
commit fccd791ef6
3 changed files with 22 additions and 14 deletions
+9 -2
View File
@@ -223,6 +223,8 @@ VolZmap::GetBlockTriangles( int nBlock, TRIA3DLIST& lstTria) const
//ExtMarchingCubes( nBlock, lstTria, triHold) ;
MarchingCubes( nBlock, lstTria) ;
m_BlockToUpdate[nBlock] = false ;
return true ;
}
@@ -235,6 +237,13 @@ VolZmap::GetBlockInfo( std::vector<bool> & bModified) const
return true ;
}
//----------------------------------------------------------------------------
int
VolZmap::GetBlockCount( void) const
{
return m_nNumBlock ;
}
//----------------------------------------------------------------------------
bool
VolZmap::GetChunkPrisms( int nPos1, int nPos2, int nDim1, int nDim2, int nDimChk, TRIA3DLIST& lstTria) const
@@ -649,8 +658,6 @@ VolZmap::MarchingCubes( int nBlock, TRIA3DLIST& lstTria) const
}
}
}
m_BlockToUpdate[nBlock] = false ;
return true ;
}