VTK
vtkmCleanGrid.h
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // Copyright (c) Kitware, Inc.
4 // All rights reserved.
5 // See LICENSE.txt for details.
6 //
7 // This software is distributed WITHOUT ANY WARRANTY; without even
8 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 // PURPOSE. See the above copyright notice for more information.
10 //
11 // Copyright 2012 Sandia Corporation.
12 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13 // the U.S. Government retains certain rights in this software.
14 //
15 //=============================================================================
16 
17 #ifndef vtkmCleanGrid_h
18 #define vtkmCleanGrid_h
19 
21 #include "vtkAcceleratorsVTKmModule.h" //required for correct implementation
22 
23 
24 class vtkDataSet;
26 
27 class VTKACCELERATORSVTKM_EXPORT vtkmCleanGrid : public vtkUnstructuredGridAlgorithm
28 {
29 public:
31 
32  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
33  static vtkmCleanGrid* New();
34 
36 
41  vtkSetMacro(CompactPoints, bool);
42  vtkGetMacro(CompactPoints, bool);
43  vtkBooleanMacro(CompactPoints, bool);
45 
46 protected:
47  vtkmCleanGrid();
48  ~vtkmCleanGrid();
49 
50  int FillInputPortInformation(int, vtkInformation *) VTK_OVERRIDE;
51  int RequestData(vtkInformation *, vtkInformationVector **,
52  vtkInformationVector *) VTK_OVERRIDE;
53 
54  bool CompactPoints;
55 
56 private:
57  vtkmCleanGrid(const vtkmCleanGrid&) VTK_DELETE_FUNCTION;
58  void operator=(const vtkmCleanGrid&) VTK_DELETE_FUNCTION;
59 };
60 
61 #endif // vtkmCleanGrid_h
62 // VTK-HeaderTest-Exclude: vtkmCleanGrid.h
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
a simple class to control print indentation
Definition: vtkIndent.h:33
dataset represents arbitrary combinations of all possible cell types
Superclass for algorithms that produce only unstructured grid as output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.