VTK  9.5.20250807
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
72#ifndef vtkImageMapToWindowLevelColors_h
73#define vtkImageMapToWindowLevelColors_h
74
75#include "vtkImageMapToColors.h"
76#include "vtkImagingColorModule.h" // For export macro
77#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
78
79VTK_ABI_NAMESPACE_BEGIN
81 : public vtkImageMapToColors
82{
83public:
86 void PrintSelf(ostream& os, vtkIndent indent) override;
87
89
94 vtkSetMacro(Window, double);
95 vtkGetMacro(Window, double);
97
99
104 vtkSetMacro(Level, double);
105 vtkGetMacro(Level, double);
107
108protected:
111
114 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
115 int outExt[6], int id) override;
117 vtkInformationVector* outputVector) override;
118
119 double Window;
120 double Level;
121
122private:
124 void operator=(const vtkImageMapToWindowLevelColors&) = delete;
125};
126
127VTK_ABI_NAMESPACE_END
128#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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_MARSHALAUTO