]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkStreamLineSegmentationByScalar.h
#2453 creaVtk Feature New Normal - Stream Lines segmentation by Scalars
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkStreamLineSegmentationByScalar.h
1 //===== 
2 // 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)
3 //===== 
4 #ifndef __bbcreaVtkStreamLineSegmentationByScalar_h_INCLUDED__
5 #define __bbcreaVtkStreamLineSegmentationByScalar_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <string>
11 #include <vtkPolyData.h>
12
13 #include "creaVtkStreamLineScalarSeg.h"
14
15 namespace bbcreaVtk
16 {
17
18 class bbcreaVtk_EXPORT StreamLineSegmentationByScalar
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(StreamLineSegmentationByScalar,bbtk::AtomicBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT(StreamLinesIn,vtkPolyData*);
27   BBTK_DECLARE_INPUT(ScalarArrayName,std::string);
28   BBTK_DECLARE_INPUT(ThresholdLower,double);
29   BBTK_DECLARE_INPUT(ThresholdUpper,double);
30   BBTK_DECLARE_OUTPUT(StreamLinesOut,vtkPolyData*);
31   BBTK_PROCESS(Process);
32   void Process();
33
34         creaVtkStreamLineScalarSeg streamlinescalarssegmentation;
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StreamLineSegmentationByScalar,bbtk::AtomicBlackBox);
41         BBTK_NAME("StreamLineSegmentationByScalar");
42         BBTK_AUTHOR("Info-Dev");
43         BBTK_DESCRIPTION("No Description.");
44         BBTK_CATEGORY("Filter_vtkPolyData");
45         BBTK_INPUT(StreamLineSegmentationByScalar,StreamLinesIn,"Stream Lines",vtkPolyData*,"");
46         BBTK_INPUT(StreamLineSegmentationByScalar,ScalarArrayName,"Name of the Array vector in vtkPolyData input",std::string,"");
47         BBTK_INPUT(StreamLineSegmentationByScalar,ThresholdLower,"Low threshold",double,"");
48         BBTK_INPUT(StreamLineSegmentationByScalar,ThresholdUpper,"Upper threshold",double,"");
49         BBTK_OUTPUT(StreamLineSegmentationByScalar,StreamLinesOut,"First output",vtkPolyData*,"");
50 BBTK_END_DESCRIBE_BLACK_BOX(StreamLineSegmentationByScalar);
51 //===== 
52 // 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)
53 //===== 
54 }
55 // EO namespace bbcreaVtk
56
57 #endif // __bbcreaVtkStreamLineSegmentationByScalar_h_INCLUDED__
58