X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSurfaceTexture.h;fp=packages%2Fvtk%2Fsrc%2FbbvtkSurfaceTexture.h;h=c8108c0dd3ec8a8a21df7932044a42147021aa19;hb=360978002d02369e42cb4ab8008828613e3b8bf4;hp=2ad306296c4d0c773080140cfaa3492bd2d39d09;hpb=9ca9c2a92d7d7f653ce424f477960e5a00ac0e8a;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSurfaceTexture.h b/packages/vtk/src/bbvtkSurfaceTexture.h index 2ad3062..c8108c0 100644 --- a/packages/vtk/src/bbvtkSurfaceTexture.h +++ b/packages/vtk/src/bbvtkSurfaceTexture.h @@ -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,"");