VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/Core/vtkStripper.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkStripper.h
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 =========================================================================*/
00062 #ifndef vtkStripper_h
00063 #define vtkStripper_h
00064 
00065 #include "vtkFiltersCoreModule.h" // For export macro
00066 #include "vtkPolyDataAlgorithm.h"
00067 
00068 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
00069 {
00070 public:
00071   vtkTypeMacro(vtkStripper,vtkPolyDataAlgorithm);
00072   void PrintSelf(ostream& os, vtkIndent indent);
00073 
00075   static vtkStripper *New();
00076 
00078 
00080   vtkSetClampMacro(MaximumLength,int,4,100000);
00081   vtkGetMacro(MaximumLength,int);
00083 
00085 
00087   vtkBooleanMacro(PassCellDataAsFieldData, int);
00088   vtkSetMacro(PassCellDataAsFieldData, int);
00089   vtkGetMacro(PassCellDataAsFieldData, int);
00091 
00093 
00097   vtkSetMacro(PassThroughCellIds,int);
00098   vtkGetMacro(PassThroughCellIds,int);
00099   vtkBooleanMacro(PassThroughCellIds,int);
00101 
00103 
00107   vtkSetMacro(PassThroughPointIds,int);
00108   vtkGetMacro(PassThroughPointIds,int);
00109   vtkBooleanMacro(PassThroughPointIds,int);
00111 
00112 protected:
00113   vtkStripper();
00114   ~vtkStripper() {}
00115 
00116   // Usual data generation method
00117   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00118 
00119   int MaximumLength;
00120   int PassCellDataAsFieldData;
00121   int PassThroughCellIds;
00122   int PassThroughPointIds;
00123 
00124 private:
00125   vtkStripper(const vtkStripper&);  // Not implemented.
00126   void operator=(const vtkStripper&);  // Not implemented.
00127 };
00128 
00129 #endif