00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00059 #ifndef __vtkStripper_h
00060 #define __vtkStripper_h
00061
00062 #include "vtkPolyDataAlgorithm.h"
00063
00064 class VTK_GRAPHICS_EXPORT vtkStripper : public vtkPolyDataAlgorithm
00065 {
00066 public:
00067 vtkTypeMacro(vtkStripper,vtkPolyDataAlgorithm);
00068 void PrintSelf(ostream& os, vtkIndent indent);
00069
00071 static vtkStripper *New();
00072
00074
00076 vtkSetClampMacro(MaximumLength,int,4,100000);
00077 vtkGetMacro(MaximumLength,int);
00079
00081
00083 vtkBooleanMacro(PassCellDataAsFieldData, int);
00084 vtkSetMacro(PassCellDataAsFieldData, int);
00085 vtkGetMacro(PassCellDataAsFieldData, int);
00087
00089
00093 vtkSetMacro(PassThroughCellIds,int);
00094 vtkGetMacro(PassThroughCellIds,int);
00095 vtkBooleanMacro(PassThroughCellIds,int);
00097
00099
00103 vtkSetMacro(PassThroughPointIds,int);
00104 vtkGetMacro(PassThroughPointIds,int);
00105 vtkBooleanMacro(PassThroughPointIds,int);
00107
00108 protected:
00109 vtkStripper();
00110 ~vtkStripper() {}
00111
00112
00113 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00114
00115 int MaximumLength;
00116 int PassCellDataAsFieldData;
00117 int PassThroughCellIds;
00118 int PassThroughPointIds;
00119
00120 private:
00121 vtkStripper(const vtkStripper&);
00122 void operator=(const vtkStripper&);
00123 };
00124
00125 #endif