1 /*=========================================================================
4 Module: $RCSfile: wxMaracasApp.h,v $
6 Date: $Date: 2008/10/31 16:32:09 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
18 #ifndef __WX__MARACAS__APP__H__
19 #define __WX__MARACAS__APP__H__
21 // ----------------------------------------------------------------------------
22 // wx headers inclusion.
23 // For compilers that support precompilation, includes <wx/wx.h>.
24 // ----------------------------------------------------------------------------
25 #include <wx/wxprec.h>
32 #include <kernel/marInterface.h>
33 #include "wxMaracasFrame.h"
36 #define SHOW_WINDOW_NORMAL 0
37 #define SHOW_WINDOW_RESTORE 1
38 #define SHOW_WINDOW_MINIMIZED 2
39 #define SHOW_WINDOW_MAXIMIZED 3
44 * \brief Maracas main application.
46 class wxMaracasApp : public wxApp
49 void SetVolumeData(int dimX,int dimY,int dimZ,
50 float spacingX, float spacingY, float spacingZ,
51 float rescaleSlope, float rescaleIntercept,
52 unsigned short * pixels);
53 void ShowFrame(int cmdShow);
59 wxBitmap* GetSnapshot();
63 marSimpleDicom *_marSimpleDicom;
64 wxMaracasFrame* m_pFrame;
69 #endif // __WX__MARACAS__APP__H__