VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
29
#ifndef vtkBoostExtractLargestComponent_h
30
#define vtkBoostExtractLargestComponent_h
31
32
#include "
vtkGraphAlgorithm.h
"
33
#include "vtkInfovisBoostGraphAlgorithmsModule.h"
// For export macro
34
35
class
vtkGraph
;
36
37
class
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
vtkBoostExtractLargestComponent
38
:
public
vtkGraphAlgorithm
39
{
40
public
:
41
vtkTypeMacro(
vtkBoostExtractLargestComponent
,
vtkGraphAlgorithm
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
48
static
vtkBoostExtractLargestComponent
*
New
();
49
51
54
vtkSetMacro(InvertSelection,
bool
);
55
vtkGetMacro(InvertSelection,
bool
);
57
58
protected
:
59
vtkBoostExtractLargestComponent
();
60
~vtkBoostExtractLargestComponent
()
override
=
default
;
61
62
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
63
67
bool
InvertSelection
;
68
69
private
:
70
vtkBoostExtractLargestComponent
(
const
vtkBoostExtractLargestComponent
&) =
delete
;
71
void
operator=(
const
vtkBoostExtractLargestComponent
&) =
delete
;
72
};
73
74
#endif
vtkBoostExtractLargestComponent
Extract the largest connected component of a graph.
Definition
vtkBoostExtractLargestComponent.h:39
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:67
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:55
vtkGraph
Base class for graph data types.
Definition
vtkGraph.h:296
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkGraphAlgorithm.h
Generated on Sat Dec 14 2024 00:00:00 for VTK by
1.12.0