VTK  9.0.20210301
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 
39 class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridAlgorithm
40 {
41 public:
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 
93 protected:
96 
98 
101  char* ArrayName;
102  int ArrayId;
104 
105 private:
107  void operator=(const vtkBlankStructuredGrid&) = delete;
108 };
109 
110 #endif
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:155
vtkStructuredGridAlgorithm.h
vtkBlankStructuredGrid::Component
int Component
Definition: vtkBlankStructuredGrid.h:103
vtkBlankStructuredGrid::New
static vtkBlankStructuredGrid * New()
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition: vtkStructuredGridAlgorithm.h:42
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkBlankStructuredGrid::ArrayName
char * ArrayName
Definition: vtkBlankStructuredGrid.h:101
vtkBlankStructuredGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBlankStructuredGrid::ArrayId
int ArrayId
Definition: vtkBlankStructuredGrid.h:102
vtkBlankStructuredGrid::~vtkBlankStructuredGrid
~vtkBlankStructuredGrid() override
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkBlankStructuredGrid::MinBlankingValue
double MinBlankingValue
Definition: vtkBlankStructuredGrid.h:99
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkBlankStructuredGrid::vtkBlankStructuredGrid
vtkBlankStructuredGrid()
vtkBlankStructuredGrid::MaxBlankingValue
double MaxBlankingValue
Definition: vtkBlankStructuredGrid.h:100
vtkBlankStructuredGrid::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkBlankStructuredGrid
translate point attribute data into a blanking field
Definition: vtkBlankStructuredGrid.h:40