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

vtkIdFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkIdFilter.h,v $
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 =========================================================================*/
00048 #ifndef __vtkIdFilter_h
00049 #define __vtkIdFilter_h
00050 
00051 #include "vtkDataSetToDataSetFilter.h"
00052 
00053 class VTK_GRAPHICS_EXPORT vtkIdFilter : public vtkDataSetToDataSetFilter 
00054 {
00055 public:
00056   vtkTypeRevisionMacro(vtkIdFilter,vtkDataSetToDataSetFilter);
00057   void PrintSelf(ostream& os, vtkIndent indent);
00058 
00061   static vtkIdFilter *New();
00062 
00064 
00065   vtkSetMacro(PointIds,int);
00066   vtkGetMacro(PointIds,int);
00067   vtkBooleanMacro(PointIds,int);
00069 
00071 
00072   vtkSetMacro(CellIds,int);
00073   vtkGetMacro(CellIds,int);
00074   vtkBooleanMacro(CellIds,int);
00076 
00078 
00081   vtkSetMacro(FieldData,int);
00082   vtkGetMacro(FieldData,int);
00083   vtkBooleanMacro(FieldData,int);
00085 
00087 
00090   vtkSetStringMacro(IdsArrayName);
00091   vtkGetStringMacro(IdsArrayName);
00093 
00094 protected:
00095   vtkIdFilter();
00096   ~vtkIdFilter();
00097 
00098   void Execute();
00099 
00100   int PointIds;
00101   int CellIds;
00102   int FieldData;
00103   char *IdsArrayName;
00104 
00105 private:
00106   vtkIdFilter(const vtkIdFilter&);  // Not implemented.
00107   void operator=(const vtkIdFilter&);  // Not implemented.
00108 };
00109 
00110 #endif
00111 
00112