VTK
vtkIdFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkIdFilter.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 vtkIdFilter_h
36 #define vtkIdFilter_h
37 
38 #include "vtkFiltersCoreModule.h" // For export macro
39 #include "vtkDataSetAlgorithm.h"
40 
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
49  static vtkIdFilter *New();
50 
52 
53  vtkSetMacro(PointIds,int);
54  vtkGetMacro(PointIds,int);
55  vtkBooleanMacro(PointIds,int);
57 
59 
60  vtkSetMacro(CellIds,int);
61  vtkGetMacro(CellIds,int);
62  vtkBooleanMacro(CellIds,int);
64 
66 
69  vtkSetMacro(FieldData,int);
70  vtkGetMacro(FieldData,int);
71  vtkBooleanMacro(FieldData,int);
73 
75 
78  vtkSetStringMacro(IdsArrayName);
79  vtkGetStringMacro(IdsArrayName);
81 
82 protected:
83  vtkIdFilter();
84  ~vtkIdFilter();
85 
87 
88  int PointIds;
89  int CellIds;
90  int FieldData;
91  char *IdsArrayName;
92 
93 private:
94  vtkIdFilter(const vtkIdFilter&); // Not implemented.
95  void operator=(const vtkIdFilter&); // Not implemented.
96 };
97 
98 #endif
99 
100 
Store vtkAlgorithm input/output information.
#define VTKFILTERSCORE_EXPORT
char * IdsArrayName
Definition: vtkIdFilter.h:91
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
generate scalars or field data from point and cell ids
Definition: vtkIdFilter.h:41
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()