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 =========================================================================*/
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:
42  static vtkBlankStructuredGrid *New();
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:
95  ~vtkBlankStructuredGrid() override;
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:159
vtkStructuredGridAlgorithm.h
vtkBlankStructuredGrid::Component
int Component
Definition: vtkBlankStructuredGrid.h:103
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition: vtkStructuredGridAlgorithm.h:41
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkBlankStructuredGrid::ArrayName
char * ArrayName
Definition: vtkBlankStructuredGrid.h:101
vtkStructuredGridAlgorithm::New
static vtkStructuredGridAlgorithm * New()
vtkStructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkBlankStructuredGrid::ArrayId
int ArrayId
Definition: vtkBlankStructuredGrid.h:102
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkBlankStructuredGrid::MinBlankingValue
double MinBlankingValue
Definition: vtkBlankStructuredGrid.h:99
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkBlankStructuredGrid::MaxBlankingValue
double MaxBlankingValue
Definition: vtkBlankStructuredGrid.h:100
vtkBlankStructuredGrid
translate point attribute data into a blanking field
Definition: vtkBlankStructuredGrid.h:39