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) VTK_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() VTK_OVERRIDE;
99 
100  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
101 
102  double MinBlankingValue;
103  double MaxBlankingValue;
104  char *ArrayName;
105  int ArrayId;
106  int Component;
107 
108 private:
109  vtkBlankStructuredGrid(const vtkBlankStructuredGrid&) VTK_DELETE_FUNCTION;
110  void operator=(const vtkBlankStructuredGrid&) VTK_DELETE_FUNCTION;
111 };
112 
113 #endif
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:153
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.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.