VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageCheckerboard.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageCheckerboard.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
=========================================================================*/
28
#ifndef __vtkImageCheckerboard_h
29
#define __vtkImageCheckerboard_h
30
31
#include "
vtkThreadedImageAlgorithm.h
"
32
33
34
class
VTK_IMAGING_EXPORT
vtkImageCheckerboard
:
public
vtkThreadedImageAlgorithm
35
{
36
public
:
37
static
vtkImageCheckerboard
*
New
();
38
vtkTypeMacro(
vtkImageCheckerboard
,
vtkThreadedImageAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
43
vtkSetVector3Macro(NumberOfDivisions,
int
);
44
vtkGetVectorMacro(NumberOfDivisions,
int
,3);
46
48
49
virtual
void
SetInput1
(
vtkDataObject
*in) { this->
SetInput
(0,in); }
50
virtual
void
SetInput2
(
vtkDataObject
*in) { this->
SetInput
(1,in); }
52
53
protected
:
54
vtkImageCheckerboard
();
55
~vtkImageCheckerboard
() {};
56
57
virtual
void
ThreadedRequestData
(
vtkInformation
*request,
58
vtkInformationVector
**inputVector,
59
vtkInformationVector
*outputVector,
60
vtkImageData
***inData,
61
vtkImageData
**outData,
62
int
extent
[6],
int
threadId);
63
int
NumberOfDivisions[3];
64
private
:
65
vtkImageCheckerboard
(
const
vtkImageCheckerboard
&);
// Not implemented.
66
void
operator=(
const
vtkImageCheckerboard
&);
// Not implemented.
67
};
68
69
#endif
70
71
72
73
74
75
76
77
78
79
80
81
82
Generated on Thu Mar 13 2014 08:10:15 for VTK by
1.8.1.2