VTK  9.3.0
vtkImageMapToWindowLevelColors.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
33#ifndef vtkImageMapToWindowLevelColors_h
34#define vtkImageMapToWindowLevelColors_h
35
36#include "vtkImageMapToColors.h"
37#include "vtkImagingColorModule.h" // For export macro
38
39VTK_ABI_NAMESPACE_BEGIN
40class VTKIMAGINGCOLOR_EXPORT vtkImageMapToWindowLevelColors : public vtkImageMapToColors
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
48
53 vtkSetMacro(Window, double);
54 vtkGetMacro(Window, double);
56
58
63 vtkSetMacro(Level, double);
64 vtkGetMacro(Level, double);
66
67protected:
70
73 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
74 int outExt[6], int id) override;
75 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
76 vtkInformationVector* outputVector) override;
77
78 double Window;
79 double Level;
80
81private:
83 void operator=(const vtkImageMapToWindowLevelColors&) = delete;
84};
85
86VTK_ABI_NAMESPACE_END
87#endif
topologically and geometrically regular array of data
map the input image through a lookup table
Map an image through a lookup table and/or a window/level.
~vtkImageMapToWindowLevelColors() override
static vtkImageMapToWindowLevelColors * New()
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.