]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuShowNPoints.h
#3525 ShowNPoints Actual Visu collection option
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuShowNPoints.h
index 71eb59ab37a53371098d2f1b9aef926fe27a4f60..96068ea614216cf6d27633915581930d0cc5b63d 100644 (file)
@@ -64,35 +64,35 @@ class /*BBTK_EXPORT*/ ShowNPoints
    public bbtk::WxBlackBox
 {
   BBTK_BLACK_BOX_INTERFACE(ShowNPoints,bbtk::WxBlackBox);
-  BBTK_DECLARE_INPUT(In, std::vector<double> );
-  BBTK_DECLARE_INPUT(Renderer, vtkRenderer* );
-  BBTK_DECLARE_INPUT(Image, vtkImageData* );
-  BBTK_DECLARE_INPUT(Colour, std::vector<double> );
-  BBTK_DECLARE_INPUT(Opacity, double );
-  BBTK_DECLARE_INPUT(Radio, double );
-  BBTK_DECLARE_INPUT(InitLstPointsX , std::vector<double> );
-  BBTK_DECLARE_INPUT(InitLstPointsY , std::vector<double> );
-  BBTK_DECLARE_INPUT(InitLstPointsZ , std::vector<double> );
-  BBTK_DECLARE_INPUT(InitLstLabels  , std::vector<std::string> );
-  BBTK_DECLARE_INPUT(InitLstIndexs  , std::vector<int> );
+  BBTK_DECLARE_INPUT(In                 , std::vector<double>       );
+  BBTK_DECLARE_INPUT(Renderer           , vtkRenderer*              );
+  BBTK_DECLARE_INPUT(Image              , vtkImageData*             );
+  BBTK_DECLARE_INPUT(Colour             , std::vector<double>       );
+  BBTK_DECLARE_INPUT(Opacity            , double                    );
+  BBTK_DECLARE_INPUT(Radio              , double                    );
+  BBTK_DECLARE_INPUT(InitLstPointsX     , std::vector<double>       );
+  BBTK_DECLARE_INPUT(InitLstPointsY     , std::vector<double>       );
+  BBTK_DECLARE_INPUT(InitLstPointsZ     , std::vector<double>       );
+  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<double> );
-  BBTK_DECLARE_OUTPUT( lstPointsY   , std::vector<double> );
-  BBTK_DECLARE_OUTPUT( lstPointsZ   , std::vector<double> );
-  BBTK_DECLARE_OUTPUT( lstLabels    ,  std::vector<std::string> );
-  BBTK_DECLARE_OUTPUT( WidgetShowNPoints,  WidgetShowNPoints*);
-  BBTK_DECLARE_OUTPUT( lstIndexs    , std::vector<int> );
+  BBTK_DECLARE_OUTPUT( lstPointsX       , std::vector<double>       );
+  BBTK_DECLARE_OUTPUT( lstPointsY       , std::vector<double>       );
+  BBTK_DECLARE_OUTPUT( lstPointsZ       , std::vector<double>       );
+  BBTK_DECLARE_OUTPUT( lstLabels        , std::vector<std::string>  );
+  BBTK_DECLARE_OUTPUT( lstIndexs        , std::vector<int>          );
+  BBTK_DECLARE_OUTPUT( lstSelectedIndexs, std::vector<int>          );
+  BBTK_DECLARE_OUTPUT( WidgetShowNPoints, WidgetShowNPoints*        );
   BBTK_PROCESS(Process);
   void Process();
   BBTK_CREATE_WIDGET(CreateWidget);
   void CreateWidget(wxWindow*);
-
-    double backOpacity;
+  double backOpacity;
     
 private:
-    bool                        firsttime;
-       WidgetShowNPointsBox *mwxwidget; 
+    bool                    firsttime;
+       WidgetShowNPointsBox    *mwxwidget;
 };
 
 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ShowNPoints,bbtk::WxBlackBox);
@@ -114,12 +114,13 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ShowNPoints,bbtk::WxBlackBox);
   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<double> ,"");
-  BBTK_OUTPUT(ShowNPoints , lstPointsY , " list of points Y ", std::vector<double> ,"");
-  BBTK_OUTPUT(ShowNPoints , lstPointsZ , " list of points Z ", std::vector<double> ,"");
-  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_OUTPUT(ShowNPoints , lstPointsX          , " list of points X "      , std::vector<double> ,""       );
+  BBTK_OUTPUT(ShowNPoints , lstPointsY          , " list of points Y "      , std::vector<double> ,""       );
+  BBTK_OUTPUT(ShowNPoints , lstPointsZ          , " list of points Z "      , std::vector<double> ,""       );
+  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 , lstSelectedIndexs   , " list of points Z "      , std::vector<int> ,""          );
+  BBTK_OUTPUT(ShowNPoints , WidgetShowNPoints   , " WidgetShowNPoints "     , WidgetShowNPoints* ,""        );
 
 BBTK_END_DESCRIBE_BLACK_BOX(ShowNPoints);
 }