VTK
9.2.6
Infovis
BoostGraphAlgorithms
vtkBoostExtractLargestComponent.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBoostExtractLargestComponent.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
25
26
#ifndef vtkBoostExtractLargestComponent_h
27
#define vtkBoostExtractLargestComponent_h
28
29
#include "
vtkGraphAlgorithm.h
"
30
#include "vtkInfovisBoostGraphAlgorithmsModule.h"
// For export macro
31
32
class
vtkGraph
;
33
34
class
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
vtkBoostExtractLargestComponent
35
:
public
vtkGraphAlgorithm
36
{
37
public
:
38
vtkTypeMacro(
vtkBoostExtractLargestComponent
,
vtkGraphAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
45
static
vtkBoostExtractLargestComponent
*
New
();
46
48
51
vtkSetMacro(
InvertSelection
,
bool
);
52
vtkGetMacro(
InvertSelection
,
bool
);
54
55
protected
:
56
vtkBoostExtractLargestComponent
();
57
~vtkBoostExtractLargestComponent
()
override
=
default
;
58
59
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
60
64
bool
InvertSelection
;
65
66
private
:
67
vtkBoostExtractLargestComponent
(
const
vtkBoostExtractLargestComponent
&) =
delete
;
68
void
operator=(
const
vtkBoostExtractLargestComponent
&) =
delete
;
69
};
70
71
#endif
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:64
vtkBoostExtractLargestComponent::vtkBoostExtractLargestComponent
vtkBoostExtractLargestComponent()
vtkBoostExtractLargestComponent::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkGraphAlgorithm::vtkGraphAlgorithm
vtkGraphAlgorithm()
vtkGraph
Base class for graph data types.
Definition
vtkGraph.h:290
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkGraphAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2