VTK
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 =========================================================================*/
26 #ifndef vtkBoostExtractLargestComponent_h
27 #define vtkBoostExtractLargestComponent_h
28 
29 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
30 #include "vtkGraphAlgorithm.h"
31 
32 class vtkGraph;
33 
34 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostExtractLargestComponent : public vtkGraphAlgorithm
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
45 
47 
50  vtkSetMacro(InvertSelection, bool);
51  vtkGetMacro(InvertSelection, bool);
53 
54 protected:
57 
59 
64 
65 private:
67  void operator=(const vtkBoostExtractLargestComponent&) = delete;
68 };
69 
70 #endif
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:51
vtkBoostExtractLargestComponent::~vtkBoostExtractLargestComponent
~vtkBoostExtractLargestComponent()
Definition: vtkBoostExtractLargestComponent.h:56
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkGraphAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkBoostExtractLargestComponent
Extract the largest connected component of a graph.
Definition: vtkBoostExtractLargestComponent.h:34
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkGraphAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkBoostExtractLargestComponent::InvertSelection
bool InvertSelection
Store the choice of whether or not to invert the selection.
Definition: vtkBoostExtractLargestComponent.h:63
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:281
vtkGraphAlgorithm::New
static vtkGraphAlgorithm * New()