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;
+ int backColorType;
vtkUnsignedCharArray *colors;
- vtkLookupTable *colorLookupTable;
+ vtkScalarsToColors *generalLookupTable;
+ vtkLookupTable *colorLookupTable;
vtkWindowLevelLookupTable *colorLookupTableWL;
//=====
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, 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,"");