VTK
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 =========================================================================*/
00059 #ifndef __vtkStripper_h
00060 #define __vtkStripper_h
00061 
00062 #include "vtkFiltersCoreModule.h" // For export macro
00063 #include "vtkPolyDataAlgorithm.h"
00064 
00065 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
00066 {
00067 public:
00068   vtkTypeMacro(vtkStripper,vtkPolyDataAlgorithm);
00069   void PrintSelf(ostream& os, vtkIndent indent);
00070 
00072   static vtkStripper *New();
00073 
00075 
00077   vtkSetClampMacro(MaximumLength,int,4,100000);
00078   vtkGetMacro(MaximumLength,int);
00080 
00082 
00084   vtkBooleanMacro(PassCellDataAsFieldData, int);
00085   vtkSetMacro(PassCellDataAsFieldData, int);
00086   vtkGetMacro(PassCellDataAsFieldData, int);
00088 
00090 
00094   vtkSetMacro(PassThroughCellIds,int);
00095   vtkGetMacro(PassThroughCellIds,int);
00096   vtkBooleanMacro(PassThroughCellIds,int);
00098 
00100 
00104   vtkSetMacro(PassThroughPointIds,int);
00105   vtkGetMacro(PassThroughPointIds,int);
00106   vtkBooleanMacro(PassThroughPointIds,int);
00108 
00109 protected:
00110   vtkStripper();
00111   ~vtkStripper() {}
00112 
00113   // Usual data generation method
00114   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00115 
00116   int MaximumLength;
00117   int PassCellDataAsFieldData;
00118   int PassThroughCellIds;
00119   int PassThroughPointIds;
00120 
00121 private:
00122   vtkStripper(const vtkStripper&);  // Not implemented.
00123   void operator=(const vtkStripper&);  // Not implemented.
00124 };
00125 
00126 #endif