]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdVectorFilterString.h
#3492 SaveLstPoints
[bbtk.git] / packages / std / src / bbstdVectorFilterString.h
index dd61882010a94acdb3a89589ed1c654197d84f0b..87514f6f7756e14bd7444a0a2ad20d91567e6388 100644 (file)
@@ -30,6 +30,8 @@ class bbstd_EXPORT VectorFilterString
   BBTK_DECLARE_INPUT(In8,std::vector<std::string>);
   BBTK_DECLARE_INPUT(In9,std::vector<std::string>);
   BBTK_DECLARE_INPUT(Type,int);
+  BBTK_DECLARE_INPUT(sk1,std::string);
+  BBTK_DECLARE_INPUT(sk2,std::string);
 
   BBTK_DECLARE_OUTPUT(Out0,std::vector<std::string>);
   BBTK_DECLARE_OUTPUT(Out1,std::vector<std::string>);
@@ -42,10 +44,11 @@ class bbstd_EXPORT VectorFilterString
   BBTK_DECLARE_OUTPUT(Out8,std::vector<std::string>);
   BBTK_DECLARE_OUTPUT(Out9,std::vector<std::string>);
   BBTK_PROCESS(Process);
-  void Process();
-
-void ConnectionRepetitions( std::vector<std::string> vIn,std::vector<std::string> *vOut );
-
+    void Process();
+    void ConnectionRepetitions( std::vector<std::string> vIn,std::vector<std::string> *vOut );
+    void FilterByFindinIn0();
+    void InsertStringPos();
+    void InvertLists();
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
@@ -67,7 +70,9 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(VectorFilterString,bbtk::AtomicBlackBox);
   BBTK_INPUT(VectorFilterString,In7,"Input vector",std::vector<std::string>,"");
   BBTK_INPUT(VectorFilterString,In8,"Input vector",std::vector<std::string>,"");
   BBTK_INPUT(VectorFilterString,In9,"Input vector",std::vector<std::string>,"");
-  BBTK_INPUT(VectorFilterString,Type,"(Default 0)  0:count connected repetitions",int,"");
+  BBTK_INPUT(VectorFilterString,Type,"(Default 0)  0:count connected repetitions, 1:CleaningPointsConnectTwoMesh sk1 criterium, 2: Select lines contain sk1 in In0  (the other intputs In1..In9 are afected, 3: insert string:sk1 in position:sk2 for all elements ),  4: Invert input lists",int,"");
+  BBTK_INPUT(VectorFilterString,sk1,"constant 1",std::string,"");
+  BBTK_INPUT(VectorFilterString,sk2,"constant 2",std::string,"");
 
   BBTK_OUTPUT(VectorFilterString,Out0,"First output",std::vector<std::string>,"");
   BBTK_OUTPUT(VectorFilterString,Out1,"First output",std::vector<std::string>,"");