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)
4 #ifndef __bbvtkSurfaceTexture_h_INCLUDED__
5 #define __bbvtkSurfaceTexture_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkPolyData.h"
11 #include "vtkImageData.h"
12 #include <vtkLookupTable.h>
13 #include <vtkWindowLevelLookupTable.h>
14 #include <vtkLinearTransform.h>
19 class bbvtk_EXPORT SurfaceTexture
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(SurfaceTexture,bbtk::AtomicBlackBox);
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)
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(Transform,vtkLinearTransform*);
33 // BBTK_DECLARE_OUTPUT(Out,double);
34 BBTK_PROCESS(Process);
39 vtkUnsignedCharArray *colors;
40 vtkLookupTable *colorLookupTable;
41 vtkWindowLevelLookupTable *colorLookupTableWL;
44 // 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)
48 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SurfaceTexture,bbtk::AtomicBlackBox);
49 BBTK_NAME("SurfaceTexture");
50 BBTK_AUTHOR("Info-Dev");
51 BBTK_DESCRIPTION("Surface texture");
53 BBTK_INPUT(SurfaceTexture,Mesh,"Mesh topology",vtkPolyData*,"");
54 BBTK_INPUT(SurfaceTexture,Image,"Image Reference",vtkImageData*,"");
55 BBTK_INPUT(SurfaceTexture,ColorType,"Color Type (default 0) 0 Colors(JET), 1 ColorWindowLevel",int,"");
56 BBTK_INPUT(SurfaceTexture,ColorLevel,"Color Level (default 500)",double,"");
57 BBTK_INPUT(SurfaceTexture,ColorWindow,"ColorWindow (default 500)",double,"");
58 BBTK_INPUT(SurfaceTexture,Transform,"vtk Linear Transform (default NULL)",vtkLinearTransform*,"");
59 // BBTK_OUTPUT(SurfaceTexture,Out,"First output",double,"");
61 BBTK_END_DESCRIBE_BLACK_BOX(SurfaceTexture);
63 // 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)
68 #endif // __bbvtkSurfaceTexture_h_INCLUDED__