1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00

0021189: Clean up KAS:dev:ros and Products

Removal of VoxelClient
VoxelDemo sample is redesigned so that it doesn't require compilation of OpenGl classes. It refers to TKOpenGl.dll as to an external library.
Some minor bugs are fixed in OCAF and Viewer 3d standard MFC samples
This commit is contained in:
vro
2012-10-05 14:17:17 +04:00
parent 64e2d3bd71
commit cc1d74e225
27 changed files with 383 additions and 1211 deletions

View File

@@ -0,0 +1,33 @@
// Timer.h: interface for the Timer class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TIMER_H__528FB454_797E_11D7_9B1B_000103C0F1F9__INCLUDED_)
#define AFX_TIMER_H__528FB454_797E_11D7_9B1B_000103C0F1F9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <OSD_Timer.hxx>
class Timer
{
public:
Standard_EXPORT Timer();
Standard_EXPORT Timer(const char* filename);
Standard_EXPORT ~Timer();
Standard_EXPORT void Start();
Standard_EXPORT void Stop();
Standard_EXPORT void Continue();
Standard_EXPORT void Reset();
Standard_EXPORT float Seconds();
Standard_EXPORT int Minutes();
Standard_EXPORT void Print(char* label);
private:
OSD_Timer myTimer;
FILE* myWriter;
};
#endif // !defined(AFX_TIMER_H__528FB454_797E_11D7_9B1B_000103C0F1F9__INCLUDED_)