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=========================================================================*/
36#ifndef vtkBlankStructuredGrid_h
37#define vtkBlankStructuredGrid_h
38
39#include "vtkFiltersGeneralModule.h" // For export macro
41
42class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
48
50
54 vtkSetMacro(MinBlankingValue,double);
55 vtkGetMacro(MinBlankingValue,double);
57
59
63 vtkSetMacro(MaxBlankingValue,double);
64 vtkGetMacro(MaxBlankingValue,double);
66
68
73 vtkSetStringMacro(ArrayName);
76
78
83 vtkSetMacro(ArrayId,int);
84 vtkGetMacro(ArrayId,int);
86
88
92 vtkSetClampMacro(Component,int,0,VTK_INT_MAX);
93 vtkGetMacro(Component,int);
95
96protected:
99
100 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
101
102 double MinBlankingValue;
103 double MaxBlankingValue;
104 char *ArrayName;
105 int ArrayId;
106 int Component;
107
108private:
109 vtkBlankStructuredGrid(const vtkBlankStructuredGrid&) VTK_DELETE_FUNCTION;
110 void operator=(const vtkBlankStructuredGrid&) VTK_DELETE_FUNCTION;
111};
112
113#endif
translate point attribute data into a blanking field
static vtkBlankStructuredGrid * New()
~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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only structured grid as output.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
#define VTK_INT_MAX
Definition: vtkType.h:153