VTK
vtkBlankStructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBlankStructuredGrid.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 =========================================================================*/
36 #ifndef vtkBlankStructuredGrid_h
37 #define vtkBlankStructuredGrid_h
38 
39 #include "vtkFiltersGeneralModule.h" // For export macro
41 
42 class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridAlgorithm
43 {
44 public:
45  static vtkBlankStructuredGrid *New();
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
54  vtkSetMacro(MinBlankingValue,double);
55  vtkGetMacro(MinBlankingValue,double);
57 
59 
63  vtkSetMacro(MaxBlankingValue,double);
64  vtkGetMacro(MaxBlankingValue,double);
66 
68 
73  vtkSetStringMacro(ArrayName);
74  vtkGetStringMacro(ArrayName);
76 
78 
83  vtkSetMacro(ArrayId,int);
84  vtkGetMacro(ArrayId,int);
86 
88 
92  vtkSetClampMacro(Component,int,0,VTK_INT_MAX);
93  vtkGetMacro(Component,int);
95 
96 protected:
98  ~vtkBlankStructuredGrid() override;
99 
101 
104  char *ArrayName;
105  int ArrayId;
107 
108 private:
110  void operator=(const vtkBlankStructuredGrid&) = delete;
111 };
112 
113 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
#define VTK_INT_MAX
Definition: vtkType.h:159
static vtkStructuredGridAlgorithm * New()
translate point attribute data into a blanking field
a simple class to control print indentation
Definition: vtkIndent.h:39
Superclass for algorithms that produce only structured grid as output.
Store zero or more vtkInformation instances.