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 =========================================================================*/
29 #ifndef vtkBoostExtractLargestComponent_h
30 #define vtkBoostExtractLargestComponent_h
31 
32 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
33 #include "vtkGraphAlgorithm.h"
34 
35 class vtkGraph;
36 
37 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostExtractLargestComponent : public vtkGraphAlgorithm
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
48 
50 
53  vtkSetMacro(InvertSelection, bool);
54  vtkGetMacro(InvertSelection, bool);
56 
57 protected:
60 
62 
67 
68 private:
70  void operator=(const vtkBoostExtractLargestComponent&) VTK_DELETE_FUNCTION;
71 };
72 
73 #endif
vtkBoostExtractLargestComponent::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:55
vtkBoostExtractLargestComponent::~vtkBoostExtractLargestComponent
~vtkBoostExtractLargestComponent()
Definition: vtkBoostExtractLargestComponent.h:59
vtkBoostExtractLargestComponent::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkGraphAlgorithm.h
vtkBoostExtractLargestComponent::vtkBoostExtractLargestComponent
vtkBoostExtractLargestComponent()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkBoostExtractLargestComponent
Extract the largest connected component of a graph.
Definition: vtkBoostExtractLargestComponent.h:38
vtkBoostExtractLargestComponent::New
static vtkBoostExtractLargestComponent * New()
Construct an instance of vtkBoostExtractLargestComponent with InvertSelection set to false.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBoostExtractLargestComponent::InvertSelection
bool InvertSelection
Store the choice of whether or not to invert the selection.
Definition: vtkBoostExtractLargestComponent.h:66
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:288