3
* $Id: surface.h 3558 2011-03-20 20:02:22Z carlos $
6
* Copyright 2008-10 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
15
#include "reconstructionviews.h"
16
#include <yasper/yasper.h>
17
#include "../../estudios/visualizatorstudy.h"
18
#include <api/icontroladoreventos.h>
22
class StatusBarProgreso;
29
namespace MedicalViewer {
30
namespace Reconstruction {
37
class SurfacePipeline;
42
namespace MedicalViewer {
44
namespace Reconstruction {
47
class SurfaceTimerDemo;
49
class wxSurfaceRendering : public wxSurfaceRenderingBase, public GNC::GCS::IObservador
52
typedef GNC::GCS::IContextoEstudio TStudy;
53
typedef GNC::GCS::IContextoEstudioReferido TRefStudy;
54
typedef MedicalViewer::Reconstruction::Pipelines::SurfacePipeline TPipeline;
56
wxSurfaceRendering(wxWindow* pParent, const GnkPtr<TStudy>& study);
57
~wxSurfaceRendering();
61
void SetStereo(bool enabled);
62
void SetDemo(bool enabled);
65
void SaveFrameToSerie();
69
virtual void OnWindowSize( wxSizeEvent& event );
70
virtual void OnToolTitleButtonClick( wxCommandEvent& event );
71
virtual void OnTitleLeftUp( wxMouseEvent& event );
72
virtual void OnToolSurface1TextChanged( wxCommandEvent& event );
73
virtual void OnCheckEnable2( wxCommandEvent& event );
74
virtual void OnToolSurface2TextChanged( wxCommandEvent& event );
75
virtual void OnEraseBackground( wxEraseEvent& event );
76
virtual void OnDataSetSliderChanged( wxScrollEvent& event );
77
virtual void OnApplyClick(wxCommandEvent &event);
78
virtual void OnComboFirstValue(wxCommandEvent &event);
79
virtual void OnComboSecondValue(wxCommandEvent &event);
80
virtual void SetValueCombo(int selection, wxTextCtrl* pText);
81
virtual void ProcesarEvento(GNC::GCS::Eventos::IEvento *evt);
85
GnkPtr<TRefStudy> RefStudy;
86
GnkPtr<TPipeline> Pipeline;
87
SurfaceTimerDemo* m_pTimer;
89
GNC::GUI::StatusBarProgreso* m_pProgressBar;