VTK
vtkImageMapToWindowLevelColors.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageMapToWindowLevelColors.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
34#ifndef vtkImageMapToWindowLevelColors_h
35#define vtkImageMapToWindowLevelColors_h
36
37
38#include "vtkImagingColorModule.h" // For export macro
39#include "vtkImageMapToColors.h"
40
41class VTKIMAGINGCOLOR_EXPORT vtkImageMapToWindowLevelColors : public vtkImageMapToColors
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent);
47
49
54 vtkSetMacro( Window, double );
55 vtkGetMacro( Window, double );
57
59
64 vtkSetMacro( Level, double );
65 vtkGetMacro( Level, double );
67
68protected:
71
74 vtkInformationVector **inputVector,
75 vtkInformationVector *outputVector,
76 vtkImageData ***inData, vtkImageData **outData,
77 int extent[6], int id);
78 virtual int RequestData(vtkInformation *request,
79 vtkInformationVector **inputVector,
80 vtkInformationVector *outputVector);
81
82 double Window;
83 double Level;
84
85private:
87 void operator=(const vtkImageMapToWindowLevelColors&) VTK_DELETE_FUNCTION;
88};
89
90#endif
91
92
93
94
95
96
97
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
map the input image through a lookup table
map the input image through a lookup table and window / level it
static vtkImageMapToWindowLevelColors * New()
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id)
If the subclass does not define an Execute method, then the task will be broken up,...
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
@ extent
Definition: vtkX3D.h:345
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.