VTK
dox
opt
build
vtk6-6.3.0+dfsg2
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
=========================================================================*/
28
#ifndef vtkBoostExtractLargestComponent_h
29
#define vtkBoostExtractLargestComponent_h
30
31
#include "
vtkInfovisBoostGraphAlgorithmsModule.h
"
// For export macro
32
#include "
vtkGraphAlgorithm.h
"
33
34
class
vtkGraph
;
35
36
class
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
vtkBoostExtractLargestComponent
:
public
vtkGraphAlgorithm
37
{
38
public
:
39
vtkTypeMacro
(
vtkBoostExtractLargestComponent
,
vtkGraphAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
44
static
vtkBoostExtractLargestComponent
*
New
();
45
47
48
vtkSetMacro
(InvertSelection,
bool
);
49
vtkGetMacro
(InvertSelection,
bool
);
51
52
protected
:
53
vtkBoostExtractLargestComponent
();
54
~vtkBoostExtractLargestComponent
(){}
55
56
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
57
59
bool
InvertSelection
;
60
61
private
:
62
vtkBoostExtractLargestComponent
(
const
vtkBoostExtractLargestComponent
&);
// Not implemented.
63
void
operator=(
const
vtkBoostExtractLargestComponent
&);
// Not implemented.
64
};
65
66
#endif
vtkBoostExtractLargestComponent::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition:
vtkGraphAlgorithm.h:54
vtkBoostExtractLargestComponent::~vtkBoostExtractLargestComponent
~vtkBoostExtractLargestComponent()
Definition:
vtkBoostExtractLargestComponent.h:54
vtkBoostExtractLargestComponent::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkInfovisBoostGraphAlgorithmsModule.h
vtkGraphAlgorithm.h
vtkBoostExtractLargestComponent::vtkBoostExtractLargestComponent
vtkBoostExtractLargestComponent()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
#define VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
Definition:
vtkInfovisBoostGraphAlgorithmsModule.h:15
vtkBoostExtractLargestComponent
Extract the largest connected component of a graph.
Definition:
vtkBoostExtractLargestComponent.h:37
vtkGetMacro
#define vtkGetMacro(name, type)
Definition:
vtkSetGet.h:93
vtkBoostExtractLargestComponent::New
static vtkBoostExtractLargestComponent * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkBoostExtractLargestComponent::InvertSelection
bool InvertSelection
Definition:
vtkBoostExtractLargestComponent.h:59
vtkGraph
Base class for graph data types.
Definition:
vtkGraph.h:289
Generated by
1.8.20