]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkSurfaceTexture.h
Merge branch 'vtk8itk5wx3-mingw64' of ssh://git.creatis.insa-lyon.fr/bbtk into vtk8it...
[bbtk.git] / packages / vtk / src / bbvtkSurfaceTexture.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 __bbvtkSurfaceTexture_h_INCLUDED__
5 #define __bbvtkSurfaceTexture_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkPolyData.h"
11 #include "vtkImageData.h"
12 #include <vtkLookupTable.h>
13 #include <vtkWindowLevelLookupTable.h>
14 #include <vtkLinearTransform.h>
15
16 namespace bbvtk
17 {
18
19 class bbvtk_EXPORT SurfaceTexture
20  : 
21    public bbtk::AtomicBlackBox
22 {
23   BBTK_BLACK_BOX_INTERFACE(SurfaceTexture,bbtk::AtomicBlackBox);
24 //===== 
25 // 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)
26 //===== 
27         BBTK_DECLARE_INPUT(Mesh,vtkPolyData*);
28         BBTK_DECLARE_INPUT(Image,vtkImageData*);
29         BBTK_DECLARE_INPUT(ColorType,int);
30         BBTK_DECLARE_INPUT(ColorLevel,double);
31         BBTK_DECLARE_INPUT(ColorWindow,double);
32         BBTK_DECLARE_INPUT(ExternalLookupTable,vtkScalarsToColors*);
33         BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*);
34 //  BBTK_DECLARE_OUTPUT(Out,double);
35   BBTK_PROCESS(Process);
36   void Process();
37
38
39         int                                             backColorType;
40         vtkUnsignedCharArray            *colors;
41         vtkScalarsToColors                      *generalLookupTable;
42         vtkLookupTable                          *colorLookupTable;
43         vtkWindowLevelLookupTable       *colorLookupTableWL;
44
45 //===== 
46 // 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)
47 //===== 
48 };
49
50 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SurfaceTexture,bbtk::AtomicBlackBox);
51 BBTK_NAME("SurfaceTexture");
52 BBTK_AUTHOR("Info-Dev");
53 BBTK_DESCRIPTION("Surface texture");
54 BBTK_CATEGORY("");
55         BBTK_INPUT(SurfaceTexture,Mesh,"Mesh topology",vtkPolyData*,"");
56         BBTK_INPUT(SurfaceTexture,Image,"Image Reference",vtkImageData*,"");
57         BBTK_INPUT(SurfaceTexture,ColorType,"Color Type (default 0) 0 Colors(JET-simple), 1 ColorWindowLevel, 2 Random Color, 3 Eleven colors",int,"");
58         BBTK_INPUT(SurfaceTexture,ColorLevel,"Color Level (default 500)",double,"");
59         BBTK_INPUT(SurfaceTexture,ColorWindow,"ColorWindow (default 500)",double,"");
60         BBTK_INPUT(SurfaceTexture,ExternalLookupTable,"External vtkScalarsToColors ",vtkScalarsToColors*,"");
61         BBTK_INPUT(SurfaceTexture,Transform,"vtk Linear Transform (default NULL)",vtkLinearTransform*,"");
62 //  BBTK_OUTPUT(SurfaceTexture,Out,"First output",double,"");
63
64 BBTK_END_DESCRIBE_BLACK_BOX(SurfaceTexture);
65 //===== 
66 // 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 //===== 
68 }
69 // EO namespace bbvtk
70
71 #endif // __bbvtkSurfaceTexture_h_INCLUDED__
72