]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/WidgetShowNPoints.h
#3485 ShowNPionts for Multiple Groups
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / WidgetShowNPoints.h
index e1308c3f6ad135f38f4434c877ea46733f7f7aa7..a0b664a48ea85ebc5a1b94e80c5c08fced16afcf 100644 (file)
@@ -1,11 +1,7 @@
 
-
 #ifndef __WidgetShowNPoints_h_INCLUDED__
 #define __WidgetShowNPoints_h_INCLUDED__
 
-
-
-
 #include "ModelShowNPoints.h"
 #include "ViewShowNPoints.h"
 
@@ -14,7 +10,6 @@
 #include <wx/slider.h>
 #include <wx/stattext.h>
 
-
 class WidgetShowNPoints : public wxPanel
 {
   public:
@@ -31,7 +26,17 @@ class WidgetShowNPoints : public wxPanel
          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();
@@ -70,21 +75,21 @@ class WidgetShowNPoints : public wxPanel
          //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;
 };