VTK  9.1.0
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=========================================================================*/
33#ifndef vtkBlankStructuredGrid_h
34#define vtkBlankStructuredGrid_h
35
36#include "vtkFiltersGeneralModule.h" // For export macro
38
39class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridAlgorithm
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
51 vtkSetMacro(MinBlankingValue, double);
52 vtkGetMacro(MinBlankingValue, double);
54
56
60 vtkSetMacro(MaxBlankingValue, double);
61 vtkGetMacro(MaxBlankingValue, double);
63
65
70 vtkSetStringMacro(ArrayName);
71 vtkGetStringMacro(ArrayName);
73
75
80 vtkSetMacro(ArrayId, int);
81 vtkGetMacro(ArrayId, int);
83
85
89 vtkSetClampMacro(Component, int, 0, VTK_INT_MAX);
90 vtkGetMacro(Component, int);
92
93protected:
96
98
104
105private:
107 void operator=(const vtkBlankStructuredGrid&) = delete;
108};
109
110#endif
translate point attribute data into a blanking field
static vtkBlankStructuredGrid * New()
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.
a simple class to control print indentation
Definition: vtkIndent.h:113
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:155