-
#ifndef __WidgetShowNPoints_h_INCLUDED__
#define __WidgetShowNPoints_h_INCLUDED__
-
-
-
#include "ModelShowNPoints.h"
#include "ViewShowNPoints.h"
#include <wx/slider.h>
#include <wx/stattext.h>
-
class WidgetShowNPoints : public wxPanel
{
public:
void OnLoadPoints(wxCommandEvent &event);
virtual void UpdatePoints(wxCommandEvent &event);
-
+
+ void InsertCollection();
+ void OnInsertCollectionBefore(wxCommandEvent &event);
+ void OnInsertCollectionAfter(wxCommandEvent &event);
+ void OnDeleteCollection(wxCommandEvent &event);
+ void OnBackCollection(wxCommandEvent &event);
+ void OnNextCollection(wxCommandEvent &event);
+
+ void RefreshCollectionText();
+
+
// EED 2022-05-19
//void RefreshPoint(int id);
//void RefreshPoints();
//std::vector<vtkTextActor3D*> lstActorsText;
//std::vector<vtkSphereSource*> lstSourceSphere;
//std::vector<double> mcolour;
- //ModelShowNPoints *mmodelShowNPoints;
+ //ModelShowNPoints* mmodelShowNPoints;
//double mopacity;
- std::vector<ViewShowNPoints*> lstViewShowNPoints;
+ std::vector<ViewShowNPoints*> lstViewShowNPoints;
//NTU: For updating points
- wxStaticText *askPointLabel;
- wxTextCtrl *textCtrl;
- wxStaticText *txtNrPoints;
- wxSlider *sdrOpacity;
- wxSlider *sdrRadio;
+ wxStaticText * askPointLabel;
+ wxTextCtrl * textCtrl;
+ wxStaticText * txtNrCollections;
+ wxStaticText * txtNrPoints;
+ wxSlider * sdrOpacity;
+ wxSlider * sdrRadio;
- std::vector<ModelShowNPoints*> lstModelShowNPoints;
- int mActualLstPoints;
-
+ std::vector<ModelShowNPoints*> lstModelShowNPoints;
int mtype;
+ int mActualCollection;
};