Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkIdFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkIdFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00039 #ifndef __vtkIdFilter_h 00040 #define __vtkIdFilter_h 00041 00042 #include "vtkDataSetToDataSetFilter.h" 00043 00044 class VTK_GRAPHICS_EXPORT vtkIdFilter : public vtkDataSetToDataSetFilter 00045 { 00046 public: 00047 vtkTypeRevisionMacro(vtkIdFilter,vtkDataSetToDataSetFilter); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00052 static vtkIdFilter *New(); 00053 00055 00056 vtkSetMacro(PointIds,int); 00057 vtkGetMacro(PointIds,int); 00058 vtkBooleanMacro(PointIds,int); 00060 00062 00063 vtkSetMacro(CellIds,int); 00064 vtkGetMacro(CellIds,int); 00065 vtkBooleanMacro(CellIds,int); 00067 00069 00072 vtkSetMacro(FieldData,int); 00073 vtkGetMacro(FieldData,int); 00074 vtkBooleanMacro(FieldData,int); 00076 00078 00081 vtkSetStringMacro(IdsArrayName); 00082 vtkGetStringMacro(IdsArrayName); 00084 00085 protected: 00086 vtkIdFilter(); 00087 ~vtkIdFilter(); 00088 00089 void Execute(); 00090 00091 int PointIds; 00092 int CellIds; 00093 int FieldData; 00094 char *IdsArrayName; 00095 00096 private: 00097 vtkIdFilter(const vtkIdFilter&); // Not implemented. 00098 void operator=(const vtkIdFilter&); // Not implemented. 00099 }; 00100 00101 #endif 00102 00103