Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00035 #ifndef __vtkIdFilter_h
00036 #define __vtkIdFilter_h
00037 
00038 #include "vtkDataSetAlgorithm.h"
00039 
00040 class VTK_GRAPHICS_EXPORT vtkIdFilter : public vtkDataSetAlgorithm 
00041 {
00042 public:
00043   vtkTypeRevisionMacro(vtkIdFilter,vtkDataSetAlgorithm);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00048   static vtkIdFilter *New();
00049 
00051 
00052   vtkSetMacro(PointIds,int);
00053   vtkGetMacro(PointIds,int);
00054   vtkBooleanMacro(PointIds,int);
00056 
00058 
00059   vtkSetMacro(CellIds,int);
00060   vtkGetMacro(CellIds,int);
00061   vtkBooleanMacro(CellIds,int);
00063 
00065 
00068   vtkSetMacro(FieldData,int);
00069   vtkGetMacro(FieldData,int);
00070   vtkBooleanMacro(FieldData,int);
00072 
00074 
00077   vtkSetStringMacro(IdsArrayName);
00078   vtkGetStringMacro(IdsArrayName);
00080 
00081 protected:
00082   vtkIdFilter();
00083   ~vtkIdFilter();
00084 
00085   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00086 
00087   int PointIds;
00088   int CellIds;
00089   int FieldData;
00090   char *IdsArrayName;
00091 
00092 private:
00093   vtkIdFilter(const vtkIdFilter&);  // Not implemented.
00094   void operator=(const vtkIdFilter&);  // Not implemented.
00095 };
00096 
00097 #endif
00098 
00099 

Generated on Mon Jan 21 23:07:25 2008 for VTK by  doxygen 1.4.3-20050530