VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
39 #include "vtkStructuredGridAlgorithm.h"
40 
41 class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridAlgorithm
42 {
43 public:
44  static vtkBlankStructuredGrid *New();
45  vtkTypeMacro(vtkBlankStructuredGrid,vtkStructuredGridAlgorithm);
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 
89  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
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
translate point attribute data into a blanking field