00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00056 #ifndef __vtkStripper_h
00057 #define __vtkStripper_h
00058
00059 #include "vtkPolyDataAlgorithm.h"
00060
00061 class VTK_GRAPHICS_EXPORT vtkStripper : public vtkPolyDataAlgorithm
00062 {
00063 public:
00064 vtkTypeRevisionMacro(vtkStripper,vtkPolyDataAlgorithm);
00065 void PrintSelf(ostream& os, vtkIndent indent);
00066
00068 static vtkStripper *New();
00069
00071
00073 vtkSetClampMacro(MaximumLength,int,4,100000);
00074 vtkGetMacro(MaximumLength,int);
00076
00078
00080 vtkBooleanMacro(PassCellDataAsFieldData, int);
00081 vtkSetMacro(PassCellDataAsFieldData, int);
00082 vtkGetMacro(PassCellDataAsFieldData, int);
00084
00086
00090 vtkSetMacro(PassThroughCellIds,int);
00091 vtkGetMacro(PassThroughCellIds,int);
00092 vtkBooleanMacro(PassThroughCellIds,int);
00094
00096
00100 vtkSetMacro(PassThroughPointIds,int);
00101 vtkGetMacro(PassThroughPointIds,int);
00102 vtkBooleanMacro(PassThroughPointIds,int);
00104
00105 protected:
00106 vtkStripper();
00107 ~vtkStripper() {}
00108
00109
00110 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00111
00112 int MaximumLength;
00113 int PassCellDataAsFieldData;
00114 int PassThroughCellIds;
00115 int PassThroughPointIds;
00116
00117 private:
00118 vtkStripper(const vtkStripper&);
00119 void operator=(const vtkStripper&);
00120 };
00121
00122 #endif