00001 00002 //---------------------------------------------------------------------------------------------------------------- 00003 // Class definition include 00004 //---------------------------------------------------------------------------------------------------------------- 00005 #include "ContourWrap_ViewControl.h" 00006 00007 //---------------------------------------------------------------------------------------------------------------- 00008 // Class implementation 00009 //---------------------------------------------------------------------------------------------------------------- 00013 //------------------------------------------------------------------------------------------------------------ 00014 // Includes 00015 //------------------------------------------------------------------------------------------------------------ 00016 00017 //------------------------------------------------------------------------------------------------------------ 00018 // Generated events declaration and definition 00019 //------------------------------------------------------------------------------------------------------------ 00020 00021 //DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE ) 00022 00023 00024 //------------------------------------------------------------------------------------------------------------ 00025 // Constructors & Destructors 00026 //------------------------------------------------------------------------------------------------------------ 00027 00028 ContourWrap_ViewControl :: ContourWrap_ViewControl(manualContourBaseControler * contourControl, manualViewBaseContour * manualViewContour) 00029 { 00030 setControler( contourControl ); 00031 setViewer ( manualViewContour ); 00032 } 00033 00034 ContourWrap_ViewControl :: ~ContourWrap_ViewControl() 00035 { 00036 00037 } 00038 00039 00040 //------------------------------------------------------------------------------------------------------------ 00041 // Methods for capturing events 00042 //------------------------------------------------------------------------------------------------------------ 00043 00044 00045 //------------------------------------------------------------------------------------------------------------ 00046 // Methods for sending events 00047 //------------------------------------------------------------------------------------------------------------ 00048 00049 //------------------------------------------------------------------------------------------------------------ 00050 // Attributes getters and setters 00051 //------------------------------------------------------------------------------------------------------------ 00052 00053 manualContourBaseControler * ContourWrap_ViewControl :: getControler() 00054 { 00055 return m_controler; 00056 } 00057 00058 manualViewBaseContour * ContourWrap_ViewControl :: getViewer() 00059 { 00060 return m_viewer; 00061 } 00062 00063 00064 void ContourWrap_ViewControl :: setControler(manualContourBaseControler * contourControl) 00065 { 00066 m_controler = contourControl; 00067 } 00068 00069 void ContourWrap_ViewControl :: setViewer(manualViewBaseContour * viewContour) 00070 { 00071 m_viewer = viewContour; 00072 } 00073 00074 //------------------------------------------------------------------------------------------------------------ 00075 // Other functional methods 00076 //------------------------------------------------------------------------------------------------------------ 00077 00078 //------------------------------------------------------------------------------------------------------------ 00079 // Private methods 00080 //------------------------------------------------------------------------------------------------------------ 00081 00082 //------------------------------------------------------------------------------------------------------------ 00083 // Creational and initialization methods 00084 //------------------------------------------------------------------------------------------------------------ 00085 00086 00087 //------------------------------------------------------------------------------------------------------------ 00088 // Attributtes 00089 //------------------------------------------------------------------------------------------------------------ 00090 00091