A look up table for FreeSurfer colour scales.
More...
#include <Libs/FreeSurfer/vtkFSLookupTable.h>
A look up table for FreeSurfer colour scales.
Reimplements vtkLookupTable to provide custom mapping of scalars to colours.
Definition at line 22 of file vtkFSLookupTable.h.
◆ Superclass
◆ anonymous enum
Type constant, can have different types of colour scales.
Enumerator |
---|
FSLUTLABELS | |
FSLUTHEAT | |
FSLUTBLUERED | |
FSLUTREDBLUE | |
FSLUTREDGREEN | |
FSLUTGREENRED | |
Definition at line 95 of file vtkFSLookupTable.h.
◆ vtkFSLookupTable()
vtkFSLookupTable::vtkFSLookupTable |
( |
| ) |
|
|
protected |
◆ ~vtkFSLookupTable()
vtkFSLookupTable::~vtkFSLookupTable |
( |
| ) |
|
|
protected |
◆ DeepCopy()
void vtkFSLookupTable::DeepCopy |
( |
vtkScalarsToColors * |
lut | ) |
|
◆ GetBlufact()
virtual float vtkFSLookupTable::GetBlufact |
( |
| ) |
|
|
virtual |
◆ GetClassName()
virtual const char* vtkFSLookupTable::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetColor()
void vtkFSLookupTable::GetColor |
( |
double |
, |
|
|
double |
[3] |
|
) |
| |
◆ GetFMid()
virtual float vtkFSLookupTable::GetFMid |
( |
| ) |
|
|
virtual |
◆ GetHiThresh()
virtual float vtkFSLookupTable::GetHiThresh |
( |
| ) |
|
|
virtual |
◆ GetLowThresh()
virtual float vtkFSLookupTable::GetLowThresh |
( |
| ) |
|
|
virtual |
◆ GetLutType()
virtual int vtkFSLookupTable::GetLutType |
( |
| ) |
|
|
virtual |
◆ GetLutTypeString()
const char* vtkFSLookupTable::GetLutTypeString |
( |
| ) |
|
Map from integer type to a string description.
◆ GetNumberOfAvailableColors()
virtual vtkIdType vtkFSLookupTable::GetNumberOfAvailableColors |
( |
| ) |
|
|
virtual |
◆ GetOffset()
virtual float vtkFSLookupTable::GetOffset |
( |
| ) |
|
|
virtual |
◆ GetRange()
double* vtkFSLookupTable::GetRange |
( |
| ) |
|
◆ GetReverse()
virtual int vtkFSLookupTable::GetReverse |
( |
| ) |
|
|
virtual |
◆ GetSlope()
virtual float vtkFSLookupTable::GetSlope |
( |
| ) |
|
|
virtual |
◆ GetTruncate()
virtual int vtkFSLookupTable::GetTruncate |
( |
| ) |
|
|
virtual |
◆ IsA()
virtual int vtkFSLookupTable::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkFSLookupTable::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ MapScalarsThroughTable2()
void vtkFSLookupTable::MapScalarsThroughTable2 |
( |
void * |
input, |
|
|
unsigned char * |
outupt, |
|
|
int |
inputDataType, |
|
|
int |
numberOfValues, |
|
|
int |
inputIncrement, |
|
|
int |
outputIncrement |
|
) |
| |
take input scalars and push them through the calculation to get colours to put int the output array
◆ MapValue()
const unsigned char* vtkFSLookupTable::MapValue |
( |
double |
val | ) |
|
Given a scalar value val, return an rgba color value returns array of length 3, 0-255
◆ New()
◆ PrintSelf()
void vtkFSLookupTable::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ ReverseOff()
virtual void vtkFSLookupTable::ReverseOff |
( |
| ) |
|
|
virtual |
◆ ReverseOn()
virtual void vtkFSLookupTable::ReverseOn |
( |
| ) |
|
|
virtual |
◆ SafeDownCast()
◆ SetBlufact()
virtual void vtkFSLookupTable::SetBlufact |
( |
float |
| ) |
|
|
virtual |
◆ SetFMid()
virtual void vtkFSLookupTable::SetFMid |
( |
float |
| ) |
|
|
virtual |
◆ SetHiThresh()
virtual void vtkFSLookupTable::SetHiThresh |
( |
float |
| ) |
|
|
virtual |
◆ SetLowThresh()
virtual void vtkFSLookupTable::SetLowThresh |
( |
float |
| ) |
|
|
virtual |
◆ SetLutTypeToBlueRed()
void vtkFSLookupTable::SetLutTypeToBlueRed |
( |
| ) |
|
◆ SetLutTypeToGreenRed()
void vtkFSLookupTable::SetLutTypeToGreenRed |
( |
| ) |
|
◆ SetLutTypeToHeat()
void vtkFSLookupTable::SetLutTypeToHeat |
( |
| ) |
|
◆ SetLutTypeToLabels()
void vtkFSLookupTable::SetLutTypeToLabels |
( |
| ) |
|
reset all the values in case one was changed, so the next map of scalars to colours will use the new values
◆ SetLutTypeToRedBlue()
void vtkFSLookupTable::SetLutTypeToRedBlue |
( |
| ) |
|
◆ SetLutTypeToRedGreen()
void vtkFSLookupTable::SetLutTypeToRedGreen |
( |
| ) |
|
◆ SetOffset()
virtual void vtkFSLookupTable::SetOffset |
( |
float |
| ) |
|
|
virtual |
◆ SetRange()
void vtkFSLookupTable::SetRange |
( |
double |
, |
|
|
double |
|
|
) |
| |
◆ SetReverse()
virtual void vtkFSLookupTable::SetReverse |
( |
int |
| ) |
|
|
virtual |
◆ SetSlope()
virtual void vtkFSLookupTable::SetSlope |
( |
float |
| ) |
|
|
virtual |
◆ SetTruncate()
virtual void vtkFSLookupTable::SetTruncate |
( |
int |
| ) |
|
|
virtual |
◆ TruncateOff()
virtual void vtkFSLookupTable::TruncateOff |
( |
| ) |
|
|
virtual |
◆ TruncateOn()
virtual void vtkFSLookupTable::TruncateOn |
( |
| ) |
|
|
virtual |
◆ Blufact
float vtkFSLookupTable::Blufact |
|
protected |
◆ FMid
float vtkFSLookupTable::FMid |
|
protected |
Midpoint of the function that maps from input values to colours FS fmid and cmid
Definition at line 153 of file vtkFSLookupTable.h.
◆ HiThresh
float vtkFSLookupTable::HiThresh |
|
protected |
High cut off, values passed in that are above this value are mapped to high cut off colour FS cmax
Definition at line 121 of file vtkFSLookupTable.h.
◆ LowThresh
float vtkFSLookupTable::LowThresh |
|
protected |
Low cut off, values passed in that are below this level are mapped to low cut off colour FS cmin and fthresh
Definition at line 116 of file vtkFSLookupTable.h.
◆ LutType
int vtkFSLookupTable::LutType |
|
protected |
which type of colour scale this is supposed to model, from defined constants above
Definition at line 126 of file vtkFSLookupTable.h.
◆ Offset
float vtkFSLookupTable::Offset |
|
protected |
offset value added to the input value - a brightening factor
Definition at line 140 of file vtkFSLookupTable.h.
◆ Reverse
int vtkFSLookupTable::Reverse |
|
protected |
◆ RGBA
unsigned char vtkFSLookupTable::RGBA[4] |
|
protected |
◆ Slope
float vtkFSLookupTable::Slope |
|
protected |
slope of the function that maps from input values to colours
Definition at line 144 of file vtkFSLookupTable.h.
◆ Truncate
int vtkFSLookupTable::Truncate |
|
protected |
truncate the values below zero? from FS truncphaseflag
Definition at line 136 of file vtkFSLookupTable.h.
The documentation for this class was generated from the following file: