VTK  9.3.20240328
vtkCollapseGraph.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
28 #ifndef vtkCollapseGraph_h
29 #define vtkCollapseGraph_h
30 
31 #include "vtkGraphAlgorithm.h"
32 #include "vtkInfovisCoreModule.h" // For export macro
33 
34 VTK_ABI_NAMESPACE_BEGIN
35 class VTKINFOVISCORE_EXPORT vtkCollapseGraph : public vtkGraphAlgorithm
36 {
37 public:
38  static vtkCollapseGraph* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
46 
47 protected:
49  ~vtkCollapseGraph() override;
50 
52 
54 
55 private:
56  vtkCollapseGraph(const vtkCollapseGraph&) = delete;
57  void operator=(const vtkCollapseGraph&) = delete;
58 };
59 
60 VTK_ABI_NAMESPACE_END
61 #endif
Proxy object to connect input/output ports.
"Collapses" vertices onto their neighbors.
static vtkCollapseGraph * New()
void SetSelectionConnection(vtkAlgorithmOutput *)
Convenience function provided for setting the selection input.
void SetGraphConnection(vtkAlgorithmOutput *)
Convenience function provided for setting the graph input.
~vtkCollapseGraph() override
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447