VTK  9.3.20240327
vtkBlankStructuredGrid.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
24 #ifndef vtkBlankStructuredGrid_h
25 #define vtkBlankStructuredGrid_h
26 
27 #include "vtkFiltersGeneralModule.h" // For export macro
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridAlgorithm
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
43  vtkSetMacro(MinBlankingValue, double);
44  vtkGetMacro(MinBlankingValue, double);
46 
48 
52  vtkSetMacro(MaxBlankingValue, double);
53  vtkGetMacro(MaxBlankingValue, double);
55 
57 
62  vtkSetStringMacro(ArrayName);
63  vtkGetStringMacro(ArrayName);
65 
67 
72  vtkSetMacro(ArrayId, int);
73  vtkGetMacro(ArrayId, int);
75 
77 
81  vtkSetClampMacro(Component, int, 0, VTK_INT_MAX);
82  vtkGetMacro(Component, int);
84 
85 protected:
88 
90 
93  char* ArrayName;
94  int ArrayId;
95  int Component;
96 
97 private:
99  void operator=(const vtkBlankStructuredGrid&) = delete;
100 };
101 
102 VTK_ABI_NAMESPACE_END
103 #endif
translate point attribute data into a blanking field
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkBlankStructuredGrid() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkBlankStructuredGrid * New()
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only structured grid as output.
#define VTK_INT_MAX
Definition: vtkType.h:144