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(ExternalLookupTable,vtkScalarsToColors*);
33 BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*);
34 // BBTK_DECLARE_OUTPUT(Out,double);
35 BBTK_PROCESS(Process);
40 vtkUnsignedCharArray *colors;
41 vtkScalarsToColors *generalLookupTable;
42 vtkLookupTable *colorLookupTable;
43 vtkWindowLevelLookupTable *colorLookupTableWL;
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)
50 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SurfaceTexture,bbtk::AtomicBlackBox);
51 BBTK_NAME("SurfaceTexture");
52 BBTK_AUTHOR("Info-Dev");
53 BBTK_DESCRIPTION("Surface texture");
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,"");
64 BBTK_END_DESCRIBE_BLACK_BOX(SurfaceTexture);
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)
71 #endif // __bbvtkSurfaceTexture_h_INCLUDED__