VTK  9.3.20240418
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
27 #include "vtkPolyDataAlgorithm.h"
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKINFOVISCORE_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
39  static vtkEdgeCenters* New();
40 
42 
45  vtkSetMacro(VertexCells, vtkTypeBool);
46  vtkGetMacro(VertexCells, vtkTypeBool);
47  vtkBooleanMacro(VertexCells, vtkTypeBool);
49 
50 protected:
52  ~vtkEdgeCenters() override = default;
53 
56 
58 
59 private:
60  vtkEdgeCenters(const vtkEdgeCenters&) = delete;
61  void operator=(const vtkEdgeCenters&) = delete;
62 };
63 
64 VTK_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.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64