VTK  9.6.1
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
32
33#ifndef vtkImageMapToWindowLevelColors_h
34#define vtkImageMapToWindowLevelColors_h
35
36#include "vtkImageMapToColors.h"
37#include "vtkImagingColorModule.h" // For export macro
38#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
39
40VTK_ABI_NAMESPACE_BEGIN
42 : public vtkImageMapToColors
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
55 vtkSetMacro(Window, double);
56 vtkGetMacro(Window, double);
58
60
65 vtkSetMacro(Level, double);
66 vtkGetMacro(Level, double);
68
69protected:
72
75 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
76 int outExt[6], int id) override;
77 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
78 vtkInformationVector* outputVector) override;
79
80 double Window;
81 double Level;
82
83private:
85 void operator=(const vtkImageMapToWindowLevelColors&) = delete;
86};
87
88VTK_ABI_NAMESPACE_END
89#endif
topologically and geometrically regular array of data
~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.
#define VTK_MARSHALAUTO