Graphics/vtkIdFilter.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00051 #ifndef __vtkIdFilter_h
    00052 #define __vtkIdFilter_h
    00053
    00054 #include "vtkDataSetToDataSetFilter.h"
    00055
    00056 class VTK_GRAPHICS_EXPORT vtkIdFilter : public vtkDataSetToDataSetFilter
    00057 {
    00058 public:
    00059   vtkTypeRevisionMacro(vtkIdFilter,vtkDataSetToDataSetFilter);
    00060   void PrintSelf(ostream& os, vtkIndent indent);
    00061
    00064   static vtkIdFilter *New();
    00065
    00067
    00068   vtkSetMacro(PointIds,int);
    00069   vtkGetMacro(PointIds,int);
    00070   vtkBooleanMacro(PointIds,int);
    00072
    00074
    00075   vtkSetMacro(CellIds,int);
    00076   vtkGetMacro(CellIds,int);
    00077   vtkBooleanMacro(CellIds,int);
    00079
    00081
    00084   vtkSetMacro(FieldData,int);
    00085   vtkGetMacro(FieldData,int);
    00086   vtkBooleanMacro(FieldData,int);
    00088
    00090
    00093   vtkSetStringMacro(IdsArrayName);
    00094   vtkGetStringMacro(IdsArrayName);
    00096
    00097 protected:
    00098   vtkIdFilter();
    00099   ~vtkIdFilter();
    00100
    00101   void Execute();
    00102
    00103   int PointIds;
    00104   int CellIds;
    00105   int FieldData;
    00106   char *IdsArrayName;
    00107
    00108 private:
    00109   vtkIdFilter(const vtkIdFilter&);  // Not implemented.
    00110   void operator=(const vtkIdFilter&);  // Not implemented.
    00111 };
    00112
    00113 #endif
    00114
    00115