10 #ifndef __vtkFSLookupTable_h 11 #define __vtkFSLookupTable_h 13 #include <FreeSurferConfigure.h> 14 #include "vtkFreeSurferExport.h" 17 #include <vtkLookupTable.h> 27 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
31 void DeepCopy(vtkScalarsToColors *lut) VTK_OVERRIDE;
33 vtkGetMacro(LowThresh,
float);
34 vtkSetMacro(LowThresh,
float);
36 vtkGetMacro(HiThresh,
float);
37 vtkSetMacro(HiThresh,
float);
39 vtkGetMacro(LutType,
int);
42 const char *GetLutTypeString();
46 void SetLutTypeToLabels();
47 void SetLutTypeToHeat();
48 void SetLutTypeToBlueRed();
49 void SetLutTypeToRedBlue();
50 void SetLutTypeToRedGreen();
51 void SetLutTypeToGreenRed();
53 vtkGetMacro(Reverse,
int);
54 vtkSetMacro(Reverse,
int);
55 vtkBooleanMacro(Reverse,
int);
57 vtkGetMacro(Truncate,
int);
58 vtkSetMacro(Truncate,
int);
59 vtkBooleanMacro(Truncate,
int);
61 vtkGetMacro(Offset,
float);
62 vtkSetMacro(Offset,
float);
64 vtkGetMacro(Slope,
float);
65 vtkSetMacro(Slope,
float);
67 vtkGetMacro(Blufact,
float);
68 vtkSetMacro(Blufact,
float);
70 vtkGetMacro(FMid,
float);
71 vtkSetMacro(FMid,
float);
75 double *GetRange() VTK_OVERRIDE;
79 using vtkLookupTable::SetRange;
80 void SetRange(
double,
double) VTK_OVERRIDE;
84 const
unsigned char *MapValue(
double val) VTK_OVERRIDE;
87 void GetColor(
double,
double[3]) VTK_OVERRIDE;
91 void MapScalarsThroughTable2(
void* input,
unsigned char* outupt,
int inputDataType,
int numberOfValues,
int inputIncrement,
int outputIncrement) VTK_OVERRIDE;
107 virtual vtkIdType GetNumberOfAvailableColors() VTK_OVERRIDE;
157 unsigned char RGBA[4];
A look up table for FreeSurfer colour scales.