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
42#ifndef vtkImageMapToWindowLevelColors_h
43#define vtkImageMapToWindowLevelColors_h
44
45#include "vtkImageMapToColors.h"
46#include "vtkImagingColorModule.h" // For export macro
47
48VTK_ABI_NAMESPACE_BEGIN
49class VTKIMAGINGCOLOR_EXPORT vtkImageMapToWindowLevelColors : public vtkImageMapToColors
50{
51public:
54 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
62 vtkSetMacro(Window, double);
63 vtkGetMacro(Window, double);
65
67
72 vtkSetMacro(Level, double);
73 vtkGetMacro(Level, double);
75
76protected:
79
82 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
83 int outExt[6], int id) override;
84 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
85 vtkInformationVector* outputVector) override;
86
87 double Window;
88 double Level;
89
90private:
92 void operator=(const vtkImageMapToWindowLevelColors&) = delete;
93};
94
95VTK_ABI_NAMESPACE_END
96#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:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.