VTK  9.5.20251008
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 "vtkmAlgorithm.h" // For vtkmAlgorithm
23#include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
24
25#ifndef __VTK_WRAP__
26#define vtkAlgorithm vtkmAlgorithm<vtkAlgorithm>
27#endif
28
29VTK_ABI_NAMESPACE_BEGIN
31
32class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmExternalFaces : public vtkAlgorithm
33{
34public:
36#ifndef __VTK_WRAP__
37#undef vtkAlgorithm
38#endif
39 void PrintSelf(ostream& os, vtkIndent indent) override;
41
46
51
53
58 vtkSetMacro(CompactPoints, bool);
59 vtkGetMacro(CompactPoints, bool);
60 vtkBooleanMacro(CompactPoints, bool);
62
63protected:
66
69
73
75
76private:
77 vtkmExternalFaces(const vtkmExternalFaces&) = delete;
78 void operator=(const vtkmExternalFaces&) = delete;
79 vtkmInitializer Initializer;
80};
81
82VTK_ABI_NAMESPACE_END
83#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