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 "vtkDataSetAlgorithm.h"
39 
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
48  static vtkIdFilter *New();
49 
51 
52  vtkSetMacro(PointIds,int);
53  vtkGetMacro(PointIds,int);
54  vtkBooleanMacro(PointIds,int);
56 
58 
59  vtkSetMacro(CellIds,int);
60  vtkGetMacro(CellIds,int);
61  vtkBooleanMacro(CellIds,int);
63 
65 
68  vtkSetMacro(FieldData,int);
69  vtkGetMacro(FieldData,int);
70  vtkBooleanMacro(FieldData,int);
72 
74 
77  vtkSetStringMacro(IdsArrayName);
78  vtkGetStringMacro(IdsArrayName);
80 
81 protected:
82  vtkIdFilter();
83  ~vtkIdFilter();
84 
86 
87  int PointIds;
88  int CellIds;
89  int FieldData;
90  char *IdsArrayName;
91 
92 private:
93  vtkIdFilter(const vtkIdFilter&); // Not implemented.
94  void operator=(const vtkIdFilter&); // Not implemented.
95 };
96 
97 #endif
98 
99 
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
char * IdsArrayName
Definition: vtkIdFilter.h:90
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
generate scalars or field data from point and cell ids
Definition: vtkIdFilter.h:40
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()