VTK
dox/Graphics/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 "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   // Usual data generation method
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&);  // Not implemented.
00122   void operator=(const vtkStripper&);  // Not implemented.
00123 };
00124 
00125 #endif