#include "bbtkWxBlackBox.h"
#include "wxVtkBaseView.h"
+#include <vtkScalarsToColors.h>
namespace bbcreaMaracasVisu
{
BBTK_DECLARE_INPUT(FittingMode,int);
BBTK_DECLARE_INPUT(ColorBarPosition,std::vector<int>);
BBTK_DECLARE_OUTPUT(NewImage,vtkImageData*);
+ BBTK_DECLARE_OUTPUT(LookupTable,vtkScalarsToColors*);
BBTK_PROCESS(Process);
void Process();
BBTK_CREATE_WIDGET(CreateWidget);
BBTK_INPUT(ColorLayerImageView,ColorBarPosition,"default (10,105)",std::vector<int>,"");
BBTK_OUTPUT(ColorLayerImageView,NewImage,"Image with correct Spacing",vtkImageData*,"");
+ BBTK_OUTPUT(ColorLayerImageView,LookupTable,"LookupTable",vtkScalarsToColors*,"");
BBTK_END_DESCRIBE_BLACK_BOX(ColorLayerImageView);
} // if
}
-//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void ColorLayerImageViewManager::SetNewSpacingLayer(double *spc)
{
} // for
}
-
+//----------------------------------------------------------------------------
+vtkScalarsToColors* ColorLayerImageViewManager::GetLookupTable(int id)
+{
+ vtkScalarsToColors* lookuptable;
+ if (_colorLayerImageViewLst[id]!=NULL)
+ {
+ lookuptable = _colorLayerImageViewLst[id]->GetLookupTable( );
+ } // if
+ return lookuptable;
+}
// EOF