VTK: Infovis/BoostGraphAlgorithms/vtkBoostConnectedComponents.h Source File

| VTK 9.3.1

vtkBoostConnectedComponents.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
30 #ifndef vtkBoostConnectedComponents_h
31 #define vtkBoostConnectedComponents_h
32
33 #include "vtkGraphAlgorithm.h"
34 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
35
36 VTK_ABI_NAMESPACE_BEGIN
37 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostConnectedComponents : public vtkGraphAlgorithm
38 {
39 public:
40 static vtkBoostConnectedComponents* New();
41 vtkTypeMacro(vtkBoostConnectedComponents, vtkGraphAlgorithm);
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
44 protected:
45 vtkBoostConnectedComponents();
46 ~vtkBoostConnectedComponents() override;
47
48 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
49
50 private:
51 vtkBoostConnectedComponents(const vtkBoostConnectedComponents&) = delete;
52 void operator=(const vtkBoostConnectedComponents&) = delete;
53 };
54
55 VTK_ABI_NAMESPACE_END
56 #endif
vtkBoostConnectedComponents
Find the connected components of a graph.
Definition: vtkBoostConnectedComponents.h:38
vtkBoostConnectedComponents::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkBoostConnectedComponents::New
static vtkBoostConnectedComponents * New()
vtkBoostConnectedComponents::vtkBoostConnectedComponents
vtkBoostConnectedComponents()
vtkBoostConnectedComponents::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBoostConnectedComponents::~vtkBoostConnectedComponents
~vtkBoostConnectedComponents() override
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:49
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkGraphAlgorithm.h