00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStripper.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 =========================================================================*/ 00062 #ifndef __vtkStripper_h 00063 #define __vtkStripper_h 00064 00065 #include "vtkPolyDataToPolyDataFilter.h" 00066 00067 class VTK_GRAPHICS_EXPORT vtkStripper : public vtkPolyDataToPolyDataFilter 00068 { 00069 public: 00070 vtkTypeRevisionMacro(vtkStripper,vtkPolyDataToPolyDataFilter); 00071 void PrintSelf(ostream& os, vtkIndent indent); 00072 00074 static vtkStripper *New(); 00075 00077 00079 vtkSetClampMacro(MaximumLength,int,4,100000); 00080 vtkGetMacro(MaximumLength,int); 00082 00083 protected: 00084 vtkStripper(); 00085 ~vtkStripper() {} 00086 00087 // Usual data generation method 00088 void Execute(); 00089 00090 int MaximumLength; 00091 00092 private: 00093 vtkStripper(const vtkStripper&); // Not implemented. 00094 void operator=(const vtkStripper&); // Not implemented. 00095 }; 00096 00097 #endif 00098 00099