Files
TestEGr/TestEGrUtils.cpp
T
Dario Sassi 578cbb2b55 TestEgr 1.5j1 :
- aggiornamento per selezione con mouse
- aggiornamento per distanza con punti notevoli.
2014-10-10 06:43:42 +00:00

63 lines
1.8 KiB
C++

//----------------------------------------------------------------------------
// EgalTech 2014-2014
//----------------------------------------------------------------------------
// File : TestEGrUtils.cpp Data : 17.02.14 Versione : 1.5b3
// Contenuto : Implementazione funzioni di utilità
//
//
//
// Modifiche : 17.02.14 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
//--------------------------- Include ----------------------------------------
#include "stdafx.h"
#include "TestEGrUtils.h"
#include "TestEGrDlg.h"
using namespace std ;
//----------------------------------------------------------------------------
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
//----------------------------------------------------------------------------
void
OutInfo( const string& sOut, bool bLog)
{
((CTestEGrDlg*)AfxGetMainWnd())->OutInfo( sOut, bLog) ;
}
//----------------------------------------------------------------------------
bool
GetSceneInfo( string& sInfo)
{
return ((CTestEGrDlg*)AfxGetMainWnd())->GetSceneInfo( sInfo) ;
}
//----------------------------------------------------------------------------
bool
LineExec( const string& sLine)
{
return ((CTestEGrDlg*)AfxGetMainWnd())->LineExec( sLine) ;
}
//----------------------------------------------------------------------------
void
UpdateButtons( void)
{
((CTestEGrDlg*)AfxGetMainWnd())->UpdateShowModeButtons() ;
((CTestEGrDlg*)AfxGetMainWnd())->UpdateShowCurveDir() ;
((CTestEGrDlg*)AfxGetMainWnd())->UpdateViewButtons() ;
}
//----------------------------------------------------------------------------
bool
SelectIdInGeomDbTree( int nId)
{
return ((CTestEGrDlg*)AfxGetMainWnd())->SelectIdInTree( nId) ;
}