VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/Core/vtkIdFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkIdFilter.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00035 #ifndef vtkIdFilter_h
00036 #define vtkIdFilter_h
00037 
00038 #include "vtkFiltersCoreModule.h" // For export macro
00039 #include "vtkDataSetAlgorithm.h"
00040 
00041 class VTKFILTERSCORE_EXPORT vtkIdFilter : public vtkDataSetAlgorithm
00042 {
00043 public:
00044   vtkTypeMacro(vtkIdFilter,vtkDataSetAlgorithm);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00049   static vtkIdFilter *New();
00050 
00052 
00053   vtkSetMacro(PointIds,int);
00054   vtkGetMacro(PointIds,int);
00055   vtkBooleanMacro(PointIds,int);
00057 
00059 
00060   vtkSetMacro(CellIds,int);
00061   vtkGetMacro(CellIds,int);
00062   vtkBooleanMacro(CellIds,int);
00064 
00066 
00069   vtkSetMacro(FieldData,int);
00070   vtkGetMacro(FieldData,int);
00071   vtkBooleanMacro(FieldData,int);
00073 
00075 
00078   vtkSetStringMacro(IdsArrayName);
00079   vtkGetStringMacro(IdsArrayName);
00081 
00082 protected:
00083   vtkIdFilter();
00084   ~vtkIdFilter();
00085 
00086   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00087 
00088   int PointIds;
00089   int CellIds;
00090   int FieldData;
00091   char *IdsArrayName;
00092 
00093 private:
00094   vtkIdFilter(const vtkIdFilter&);  // Not implemented.
00095   void operator=(const vtkIdFilter&);  // Not implemented.
00096 };
00097 
00098 #endif
00099 
00100