#include <wx/textctrl.h>
#include <wx/slider.h>
#include <wx/stattext.h>
+#include <wx/checkbox.h>
+
class WidgetShowNPoints : public wxPanel
{
void OnAddPoint(wxCommandEvent &event);
void OnInsertPoint(wxCommandEvent& event);//CFT
void OnSetPoint(wxCommandEvent& event);
+ void OnTrackPoint(wxCommandEvent& event);
+ void TrackPoint();
+ void StopTrackPoint();
+ void DetectCollectionActive();
+
void OnRenamePoint(wxCommandEvent& event);
void OnErasePoint(wxCommandEvent& event);
void OnEraseLastPoint(wxCommandEvent &event);
- void OnDeleteAllPoints(wxCommandEvent &event);
+ void OnDeleteAllPoints(wxCommandEvent &event);
+
void OnSavePoints(wxCommandEvent &event);
void OnLoadPoints(wxCommandEvent &event);
//double mopacity;
std::vector<ViewShowNPoints*> lstViewShowNPoints;
+
//NTU: For updating points
wxStaticText * askPointLabel;
wxTextCtrl * textCtrl;
wxStaticText * txtNrPoints;
wxSlider * sdrOpacity;
wxSlider * sdrRadio;
+ wxCheckBox * cbTrackPoint;
std::vector<ModelShowNPoints*> lstModelShowNPoints;
int mtype;
int mActualCollection;
+// bool trackPointFlag;
+ int idTrack;
};