VTK  9.3.0
vtkmExternalFaces.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3 // SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17 #ifndef vtkmExternalFaces_h
18 #define vtkmExternalFaces_h
19 
20 #include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
21 #include "vtkAlgorithm.h"
22 #include "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
23 
24 VTK_ABI_NAMESPACE_BEGIN
26 
27 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmExternalFaces : public vtkAlgorithm
28 {
29 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
38 
43 
45 
50  vtkSetMacro(CompactPoints, bool);
51  vtkGetMacro(CompactPoints, bool);
52  vtkBooleanMacro(CompactPoints, bool);
54 
55 protected:
57  ~vtkmExternalFaces() override;
58 
61 
65 
67 
68 private:
69  vtkmExternalFaces(const vtkmExternalFaces&) = delete;
70  void operator=(const vtkmExternalFaces&) = delete;
71  vtkmInitializer Initializer;
72 };
73 
74 VTK_ABI_NAMESPACE_END
75 #endif // vtkmExternalFaces_h
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:52
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dataset represents arbitrary combinations of all possible cell types
generate External Faces of a DataSet
vtkUnstructuredGrid * GetOutput()
Get the resulr DataSet.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output 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.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetInputData(vtkUnstructuredGrid *ds)
Set the input DataSet.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkmExternalFaces * New()
~vtkmExternalFaces() override
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
int vtkTypeBool
Definition: vtkABI.h:64