EgtGeomKernel :
- modifiche a Zmap per gestione visualizzazione a blocchi.
This commit is contained in:
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user