|
Slicer 5.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Subclass of vtkImageMapToWindowLevelColors that adds the option to compress values within the window logarithmically. More...
#include <Libs/MRML/Core/vtkImageMapToWindowLevelAddon.h>


Public Types | |
| typedef vtkImageMapToWindowLevelColors | Superclass |
| enum | WindowMappingMode { Linear = 0 , Logarithmic , InverseLogarithmic } |
| Window Scalar Mapping Modes. More... | |
Public Member Functions | |
| virtual const char * | GetClassName () |
| WindowMappingMode | GetMappingMode () const |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | SetMappingMode (vtkImageMapToWindowLevelAddon::WindowMappingMode mappingMode) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| template<typename T> | |
| static double | mapScalarToWindow (T inputValue, double rangeMin, double rangeMax, WindowMappingMode mappingMode) noexcept |
| static vtkImageMapToWindowLevelAddon * | New () |
| static vtkImageMapToWindowLevelAddon * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override |
| int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override |
| vtkImageMapToWindowLevelAddon () | |
| ~vtkImageMapToWindowLevelAddon () override | |
Protected Attributes | |
| WindowMappingMode | MappingMode |
Friends | |
| template<class T> | |
| void | vtkImageMapToWindowLevelAddonExecute (vtkImageMapToWindowLevelAddon *, vtkImageData *, T *, vtkImageData *, unsigned char *, int[6], int) |
Subclass of vtkImageMapToWindowLevelColors that adds the option to compress values within the window logarithmically.
This class is a subclass of vtkImageMapToWindowLevelColors that adds optional logarithmic window compression.
In the long term, this class may be removed and the functionality added to vtkImageMapToWindowLevelColors, if it is found to be useful.
Definition at line 39 of file vtkImageMapToWindowLevelAddon.h.
| typedef vtkImageMapToWindowLevelColors vtkImageMapToWindowLevelAddon::Superclass |
Definition at line 42 of file vtkImageMapToWindowLevelAddon.h.
Window Scalar Mapping Modes.
| Enumerator | |
|---|---|
| Linear | |
| Logarithmic | |
| InverseLogarithmic | |
Definition at line 47 of file vtkImageMapToWindowLevelAddon.h.
|
protected |
|
overrideprotected |
|
virtual |
| WindowMappingMode vtkImageMapToWindowLevelAddon::GetMappingMode | ( | ) | const |
Method for mapping/compressing scalar values to the window range
|
virtual |
|
static |
|
inlinestaticnoexcept |
Maps inputValue within [rangeMin, rangeMax] to [0, 1]. A negative window (rangeMin > rangeMax) inverts the output direction.
Definition at line 65 of file vtkImageMapToWindowLevelAddon.h.
|
static |
|
override |
|
overrideprotected |
|
overrideprotected |
|
static |
| void vtkImageMapToWindowLevelAddon::SetMappingMode | ( | vtkImageMapToWindowLevelAddon::WindowMappingMode | mappingMode | ) |
Set the method for mapping/compressing scalar values to the window range
|
overrideprotected |
|
friend |
|
protected |
Definition at line 95 of file vtkImageMapToWindowLevelAddon.h.