vtkPVCellCenters.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkPVCellCenters_h
12 #define vtkPVCellCenters_h
13 
14 #include "vtkPVVTKExtensionsCoreModule.h" // needed for export macro
15 #include "vtkPolyDataAlgorithm.h"
16 
18 {
19 
20 public:
21  static vtkPVCellCenters* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
26 
30  vtkSetMacro(VertexCells, bool);
31  vtkGetMacro(VertexCells, bool);
32  vtkBooleanMacro(VertexCells, bool);
34 
35 protected:
36  vtkPVCellCenters() = default;
37  ~vtkPVCellCenters() override = default;
38 
40  int FillInputPortInformation(int, vtkInformation*) override;
41 
42  bool VertexCells = false;
43 
44 private:
45  vtkPVCellCenters(const vtkPVCellCenters&) = delete;
46  void operator=(const vtkPVCellCenters&) = delete;
47 };
48 
49 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKPVVTKEXTENSIONSCORE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkPolyDataAlgorithm * New()
void operator=(const vtkObjectBase &)
Cell centers filter that delegates to typen specific implementations.