From c7ad32ef3099d8eb006baa684126db283449d676 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Sat, 11 Oct 2025 12:30:46 +0200 Subject: [PATCH] EgtGeomKernel : - in Dump di TriMesh e Zmap aggiunta info ShowEdges. --- SurfTriMesh.cpp | 2 ++ VolZmap.cpp | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SurfTriMesh.cpp b/SurfTriMesh.cpp index 1ca8a0d..c5eabc2 100644 --- a/SurfTriMesh.cpp +++ b/SurfTriMesh.cpp @@ -1340,6 +1340,8 @@ SurfTriMesh::GetTitle( void) const bool SurfTriMesh::Dump( string& sOut, bool bMM, const char* szNewLine) const { + // visualizzazione spigoli + sOut += "ShowEdges=" + ToString( GetShowEdges()) + szNewLine ; // area double dArea ; GetArea( dArea) ; diff --git a/VolZmap.cpp b/VolZmap.cpp index 5b68000..fdc44d8 100644 --- a/VolZmap.cpp +++ b/VolZmap.cpp @@ -209,6 +209,10 @@ VolZmap::Dump( string& sOut, bool bMM, const char* szNewLine) const { // tipo sOut += "Type=" + string( m_nMapNum == 1 ? "dexel" : "tridexel") + szNewLine ; + // visualizzazione spigoli + sOut += "ShowEdges=" + ToString( GetShowEdges()) + szNewLine ; + // dexel per voxel (DexToVoxRatio) + sOut += "DexVoxRat=" + ToString( m_nDexVoxRatio) + szNewLine ; // forma switch ( m_nShape) { default : sOut += "Shape=generic" ; break ; @@ -230,8 +234,6 @@ VolZmap::Dump( string& sOut, bool bMM, const char* szNewLine) const // numero di blocchi sOut += "Blocks=" + ToString( m_nNumBlock) + " (" + ToString( m_nFracLin[0]) + "x" + ToString( m_nFracLin[1]) + "x" + ToString( m_nFracLin[2]) + ")" + szNewLine ; - // dexel per voxel (DexToVoxRatio) - sOut += "DexVoxRat=" + ToString( m_nDexVoxRatio) + szNewLine ; return true ; }