ParaView
vtkCleanUnstructuredGridCells.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCleanUnstructuredGridCells.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
16 // Programmed 2010 by Dominik Szczerba <dominik@itis.ethz.ch>
17 //
33 #ifndef vtkCleanUnstructuredGridCells_h
34 #define vtkCleanUnstructuredGridCells_h
35 
36 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
37 #include "vtkUnstructuredGridAlgorithm.h"
38 
39 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkCleanUnstructuredGridCells
40  : public vtkUnstructuredGridAlgorithm
41 {
42 public:
43  static vtkCleanUnstructuredGridCells* New();
44 
45  vtkTypeMacro(vtkCleanUnstructuredGridCells, vtkUnstructuredGridAlgorithm);
46 
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
49 protected:
52 
53  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
54  virtual int FillInputPortInformation(int port, vtkInformation* info);
55 
56 private:
58  void operator=(const vtkCleanUnstructuredGridCells&) VTK_DELETE_FUNCTION;
59 };
60 
61 #endif
remove duplicate/degenerate cells