VTK
9.0.1
Imaging
Color
vtkImageLuminance.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageLuminance.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
=========================================================================*/
22
#ifndef vtkImageLuminance_h
23
#define vtkImageLuminance_h
24
25
#include "vtkImagingColorModule.h"
// For export macro
26
#include "
vtkThreadedImageAlgorithm.h
"
27
28
class
VTKIMAGINGCOLOR_EXPORT
vtkImageLuminance
:
public
vtkThreadedImageAlgorithm
29
{
30
public
:
31
static
vtkImageLuminance
*
New
();
32
vtkTypeMacro(
vtkImageLuminance
,
vtkThreadedImageAlgorithm
);
33
34
protected
:
35
vtkImageLuminance
();
36
~vtkImageLuminance
()
override
{}
37
38
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
39
40
void
ThreadedExecute
(
vtkImageData
* inData,
vtkImageData
* outData,
int
outExt[6],
int
id
)
override
;
41
42
private
:
43
vtkImageLuminance
(
const
vtkImageLuminance
&) =
delete
;
44
void
operator=(
const
vtkImageLuminance
&) =
delete
;
45
};
46
47
#endif
48
49
// VTK-HeaderTest-Exclude: vtkImageLuminance.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition:
vtkThreadedImageAlgorithm.h:37
vtkThreadedImageAlgorithm.h
vtkImageAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:41
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkImageLuminance::~vtkImageLuminance
~vtkImageLuminance() override
Definition:
vtkImageLuminance.h:36
vtkThreadedImageAlgorithm::ThreadedExecute
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
vtkImageLuminance
Computes the luminance of the input.
Definition:
vtkImageLuminance.h:28
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17