VTK  9.3.20240423
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
24VTK_ABI_NAMESPACE_BEGIN
26
27class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmExternalFaces : public vtkAlgorithm
28{
29public:
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
55protected:
58
61
65
67
68private:
69 vtkmExternalFaces(const vtkmExternalFaces&) = delete;
70 void operator=(const vtkmExternalFaces&) = delete;
71 vtkmInitializer Initializer;
72};
73
74VTK_ABI_NAMESPACE_END
75#endif // vtkmExternalFaces_h
Superclass for all sources, filters, and sinks in VTK.
a simple class to control print indentation
Definition vtkIndent.h:108
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
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.
static vtkmExternalFaces * New()
void SetInputData(vtkUnstructuredGrid *ds)
Set the input DataSet.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
~vtkmExternalFaces() override
vtkUnstructuredGrid * GetOutput()
Get the resulr DataSet.
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