]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkSurfaceTexture.h
#3273 BBTK Bug New Normal - Bug MaskPoint Box
[bbtk.git] / packages / vtk / src / bbvtkSurfaceTexture.h
index 2ad306296c4d0c773080140cfaa3492bd2d39d09..c8108c0dd3ec8a8a21df7932044a42147021aa19 100644 (file)
@@ -29,15 +29,17 @@ class bbvtk_EXPORT SurfaceTexture
        BBTK_DECLARE_INPUT(ColorType,int);
        BBTK_DECLARE_INPUT(ColorLevel,double);
        BBTK_DECLARE_INPUT(ColorWindow,double);
+       BBTK_DECLARE_INPUT(ExternalLookupTable,vtkScalarsToColors*);
        BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*);
 //  BBTK_DECLARE_OUTPUT(Out,double);
   BBTK_PROCESS(Process);
   void Process();
 
 
-       bool                            firsttime;
+       bool                                            firsttime;
        vtkUnsignedCharArray            *colors;
-       vtkLookupTable                  *colorLookupTable;
+       vtkScalarsToColors                      *generalLookupTable;
+       vtkLookupTable                          *colorLookupTable;
        vtkWindowLevelLookupTable       *colorLookupTableWL;
 
 //===== 
@@ -52,9 +54,10 @@ BBTK_DESCRIPTION("Surface texture");
 BBTK_CATEGORY("");
        BBTK_INPUT(SurfaceTexture,Mesh,"Mesh topology",vtkPolyData*,"");
        BBTK_INPUT(SurfaceTexture,Image,"Image Reference",vtkImageData*,"");
-       BBTK_INPUT(SurfaceTexture,ColorType,"Color Type (default 0) 0 Colors(JET), 1 ColorWindowLevel",int,"");
+       BBTK_INPUT(SurfaceTexture,ColorType,"Color Type (default 0) 0 Colors(JET-simple), 1 ColorWindowLevel, 2 Random Color, 3 Eleven colors",int,"");
        BBTK_INPUT(SurfaceTexture,ColorLevel,"Color Level (default 500)",double,"");
        BBTK_INPUT(SurfaceTexture,ColorWindow,"ColorWindow (default 500)",double,"");
+       BBTK_INPUT(SurfaceTexture,ExternalLookupTable,"External vtkScalarsToColors ",vtkScalarsToColors*,"");
        BBTK_INPUT(SurfaceTexture,Transform,"vtk Linear Transform (default NULL)",vtkLinearTransform*,"");
 //  BBTK_OUTPUT(SurfaceTexture,Out,"First output",double,"");