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

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 =========================================================================*/
00052 #ifndef __vtkIdFilter_h
00053 #define __vtkIdFilter_h
00054 
00055 #include "vtkDataSetToDataSetFilter.h"
00056 
00057 class VTK_GRAPHICS_EXPORT vtkIdFilter : public vtkDataSetToDataSetFilter 
00058 {
00059 public:
00060   vtkTypeRevisionMacro(vtkIdFilter,vtkDataSetToDataSetFilter);
00061   void PrintSelf(ostream& os, vtkIndent indent);
00062 
00065   static vtkIdFilter *New();
00066 
00068 
00069   vtkSetMacro(PointIds,int);
00070   vtkGetMacro(PointIds,int);
00071   vtkBooleanMacro(PointIds,int);
00073 
00075 
00076   vtkSetMacro(CellIds,int);
00077   vtkGetMacro(CellIds,int);
00078   vtkBooleanMacro(CellIds,int);
00080 
00082 
00085   vtkSetMacro(FieldData,int);
00086   vtkGetMacro(FieldData,int);
00087   vtkBooleanMacro(FieldData,int);
00089 
00091 
00094   vtkSetStringMacro(IdsArrayName);
00095   vtkGetStringMacro(IdsArrayName);
00097 
00098 protected:
00099   vtkIdFilter();
00100   ~vtkIdFilter();
00101 
00102   void Execute();
00103 
00104   int PointIds;
00105   int CellIds;
00106   int FieldData;
00107   char *IdsArrayName;
00108 
00109 private:
00110   vtkIdFilter(const vtkIdFilter&);  // Not implemented.
00111   void operator=(const vtkIdFilter&);  // Not implemented.
00112 };
00113 
00114 #endif
00115 
00116