]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuShowNPoints.h
#3485 ShowNPionts for Multiple Groups
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuShowNPoints.h
index 4dfa0ed44d85b0d7146bfbfe065829b601a4a3aa..2312b2e5871216b738df82c6388df2f9950c78a6 100644 (file)
@@ -70,17 +70,19 @@ class /*BBTK_EXPORT*/ ShowNPoints
   BBTK_DECLARE_INPUT(Colour, std::vector<double> );
   BBTK_DECLARE_INPUT(Opacity, double );
   BBTK_DECLARE_INPUT(Radio, double );
-  BBTK_DECLARE_INPUT(InitLstPointsX, std::vector<int> );
-  BBTK_DECLARE_INPUT(InitLstPointsY, std::vector<int> );
-  BBTK_DECLARE_INPUT(InitLstPointsZ, std::vector<int> );
-  BBTK_DECLARE_INPUT(InitLstLabels, std::vector<std::string> );
+  BBTK_DECLARE_INPUT(InitLstPointsX , std::vector<int> );
+  BBTK_DECLARE_INPUT(InitLstPointsY , std::vector<int> );
+  BBTK_DECLARE_INPUT(InitLstPointsZ , std::vector<int> );
+  BBTK_DECLARE_INPUT(InitLstLabels  , std::vector<std::string> );
+  BBTK_DECLARE_INPUT(InitLstIndexs  , std::vector<int> );
   BBTK_DECLARE_INPUT(Type, int );
 
-  BBTK_DECLARE_OUTPUT( lstPointsX, std::vector<int> );
-  BBTK_DECLARE_OUTPUT( lstPointsY, std::vector<int> );
-  BBTK_DECLARE_OUTPUT( lstPointsZ, std::vector<int> );
-  BBTK_DECLARE_OUTPUT( lstLabels,  std::vector<std::string> );
+  BBTK_DECLARE_OUTPUT( lstPointsX   , std::vector<int> );
+  BBTK_DECLARE_OUTPUT( lstPointsY   , std::vector<int> );
+  BBTK_DECLARE_OUTPUT( lstPointsZ   , std::vector<int> );
+  BBTK_DECLARE_OUTPUT( lstLabels    ,  std::vector<std::string> );
   BBTK_DECLARE_OUTPUT( WidgetShowNPoints,  WidgetShowNPoints*);
+  BBTK_DECLARE_OUTPUT( lstIndexs    , std::vector<int> );
   BBTK_PROCESS(Process);
   void Process();
   BBTK_CREATE_WIDGET(CreateWidget);
@@ -106,12 +108,14 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ShowNPoints,bbtk::WxBlackBox);
   BBTK_INPUT(ShowNPoints,InitLstPointsY,"Initial lst of points Y",std::vector<int>,"");
   BBTK_INPUT(ShowNPoints,InitLstPointsZ,"Initial lst of points Z",std::vector<int>,"");
   BBTK_INPUT(ShowNPoints,InitLstLabels,"Initial lst of labels",std::vector<std::string>,"");
+  BBTK_INPUT(ShowNPoints,InitLstIndexs,"Initial lst of indexs sizes",std::vector<int>,"");
   BBTK_INPUT(ShowNPoints,Type,"Type of the widget. 0(default): N-points, 1:Just one point, 2:Add/DeleteAll points, 3:As 0 with out save/load option, 4 Multiple NPoints",int,"");
 
   BBTK_OUTPUT(ShowNPoints , lstPointsX , " list of points X ", std::vector<int> ,"");
   BBTK_OUTPUT(ShowNPoints , lstPointsY , " list of points Y ", std::vector<int> ,"");
   BBTK_OUTPUT(ShowNPoints , lstPointsZ , " list of points Z ", std::vector<int> ,"");
   BBTK_OUTPUT(ShowNPoints , lstLabels , " list of labels ", std::vector<std::string> ,"");
+  BBTK_OUTPUT(ShowNPoints , lstIndexs , " list of index sizes ", std::vector<int> ,"");
   BBTK_OUTPUT(ShowNPoints , WidgetShowNPoints , " WidgetShowNPoints ", WidgetShowNPoints* ,"");
 
 BBTK_END_DESCRIBE_BLACK_BOX(ShowNPoints);