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 =========================================================================*/
35 #ifndef vtkBlankStructuredGrid_h
36 #define vtkBlankStructuredGrid_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
40 
42 {
43 public:
44  static vtkBlankStructuredGrid *New();
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
51  vtkSetMacro(MinBlankingValue,double);
52  vtkGetMacro(MinBlankingValue,double);
54 
56 
58  vtkSetMacro(MaxBlankingValue,double);
59  vtkGetMacro(MaxBlankingValue,double);
61 
63 
66  vtkSetStringMacro(ArrayName);
67  vtkGetStringMacro(ArrayName);
69 
71 
74  vtkSetMacro(ArrayId,int);
75  vtkGetMacro(ArrayId,int);
77 
79 
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:
98  vtkBlankStructuredGrid(const vtkBlankStructuredGrid&); // Not implemented.
99  void operator=(const vtkBlankStructuredGrid&); // Not implemented.
100 };
101 
102 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
#define VTK_INT_MAX
Definition: vtkType.h:132
static vtkStructuredGridAlgorithm * New()
translate point attribute data into a blanking field
a simple class to control print indentation
Definition: vtkIndent.h:38
Superclass for algorithms that produce only structured grid as output.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKFILTERSGENERAL_EXPORT
Store zero or more vtkInformation instances.