ParaView
vtkCleanUnstructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCleanUnstructuredGrid.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 
30 #ifndef vtkCleanUnstructuredGrid_h
31 #define vtkCleanUnstructuredGrid_h
32 
33 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
34 #include "vtkUnstructuredGridAlgorithm.h"
35 
36 class vtkPointLocator;
37 
38 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkCleanUnstructuredGrid
39  : public vtkUnstructuredGridAlgorithm
40 {
41 public:
42  static vtkCleanUnstructuredGrid* New();
43 
44  vtkTypeMacro(vtkCleanUnstructuredGrid, vtkUnstructuredGridAlgorithm);
45 
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
48 protected:
51 
52  vtkPointLocator* Locator;
53 
54  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
55  virtual int FillInputPortInformation(int port, vtkInformation* info);
56 
57 private:
58  vtkCleanUnstructuredGrid(const vtkCleanUnstructuredGrid&) VTK_DELETE_FUNCTION;
59  void operator=(const vtkCleanUnstructuredGrid&) VTK_DELETE_FUNCTION;
60 };
61 #endif