VTK
9.3.1
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Infovis
BoostGraphAlgorithms
vtkBoostExtractLargestComponent.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
17
#ifndef vtkBoostExtractLargestComponent_h
18
#define vtkBoostExtractLargestComponent_h
19
20
#include "
vtkGraphAlgorithm.h
"
21
#include "vtkInfovisBoostGraphAlgorithmsModule.h"
// For export macro
22
23
VTK_ABI_NAMESPACE_BEGIN
24
class
vtkGraph
;
25
26
class
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
vtkBoostExtractLargestComponent
27
:
public
vtkGraphAlgorithm
28
{
29
public
:
30
vtkTypeMacro(
vtkBoostExtractLargestComponent
,
vtkGraphAlgorithm
);
31
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
32
37
static
vtkBoostExtractLargestComponent
*
New
();
38
40
43
vtkSetMacro(InvertSelection,
bool
);
44
vtkGetMacro(InvertSelection,
bool
);
46
47
protected
:
48
vtkBoostExtractLargestComponent
();
49
~vtkBoostExtractLargestComponent
()
override
=
default
;
50
51
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
52
56
bool
InvertSelection
;
57
58
private
:
59
vtkBoostExtractLargestComponent
(
const
vtkBoostExtractLargestComponent
&) =
delete
;
60
void
operator=(
const
vtkBoostExtractLargestComponent
&) =
delete
;
61
};
62
63
VTK_ABI_NAMESPACE_END
64
#endif
vtkBoostExtractLargestComponent
Extract the largest connected component of a graph.
Definition
vtkBoostExtractLargestComponent.h:28
vtkBoostExtractLargestComponent::~vtkBoostExtractLargestComponent
~vtkBoostExtractLargestComponent() override=default
vtkBoostExtractLargestComponent::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBoostExtractLargestComponent::New
static vtkBoostExtractLargestComponent * New()
Construct an instance of vtkBoostExtractLargestComponent with InvertSelection set to false.
vtkBoostExtractLargestComponent::InvertSelection
bool InvertSelection
Store the choice of whether or not to invert the selection.
Definition
vtkBoostExtractLargestComponent.h:56
vtkBoostExtractLargestComponent::vtkBoostExtractLargestComponent
vtkBoostExtractLargestComponent()
vtkBoostExtractLargestComponent::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition
vtkGraphAlgorithm.h:40
vtkGraph
Base class for graph data types.
Definition
vtkGraph.h:281
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:63
vtkGraphAlgorithm.h
Generated on Fri Oct 25 2024 00:00:00 for VTK by
1.12.0