VTK  9.1.0
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//=============================================================================
26#ifndef vtkmCleanGrid_h
27#define vtkmCleanGrid_h
28
29#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
31
32class vtkDataSet;
34
35class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmCleanGrid : public vtkUnstructuredGridAlgorithm
36{
37public:
39
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41 static vtkmCleanGrid* New();
42
44
49 vtkSetMacro(CompactPoints, bool);
50 vtkGetMacro(CompactPoints, bool);
51 vtkBooleanMacro(CompactPoints, bool);
53
54protected:
56 ~vtkmCleanGrid() override;
57
60
62
63private:
64 vtkmCleanGrid(const vtkmCleanGrid&) = delete;
65 void operator=(const vtkmCleanGrid&) = delete;
66};
67
68#endif // vtkmCleanGrid_h
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
removes redundant or unused cells and/or points
Definition: vtkmCleanGrid.h:36
~vtkmCleanGrid() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkmCleanGrid * New()
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.