VTK  9.4.20241226
vtkEdgeCenters.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
23#ifndef vtkEdgeCenters_h
24#define vtkEdgeCenters_h
25
26#include "vtkInfovisCoreModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
30class VTKINFOVISCORE_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm
31{
32public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
40
42
45 vtkSetMacro(VertexCells, vtkTypeBool);
46 vtkGetMacro(VertexCells, vtkTypeBool);
47 vtkBooleanMacro(VertexCells, vtkTypeBool);
49
50protected:
52 ~vtkEdgeCenters() override = default;
53
55 int FillInputPortInformation(int port, vtkInformation* info) override;
56
58
59private:
60 vtkEdgeCenters(const vtkEdgeCenters&) = delete;
61 void operator=(const vtkEdgeCenters&) = delete;
62};
63
64VTK_ABI_NAMESPACE_END
65#endif
generate points at center of edges
~vtkEdgeCenters() override=default
vtkTypeBool VertexCells
static vtkEdgeCenters * New()
Construct object with vertex cell generation turned off.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition vtkABI.h:64