VTK
vtkBoostBetweennessClustering.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBoostGraphAdapter.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 =========================================================================*/
15 
31 #ifndef vtkBoostBetweennessClustering_h
32 #define vtkBoostBetweennessClustering_h
33 
34 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
35 #include "vtkGraphAlgorithm.h"
36 
37 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBetweennessClustering :
38  public vtkGraphAlgorithm
39 {
40 public:
43  void PrintSelf(ostream &os, vtkIndent indent);
44 
47 
49 
53  vtkSetMacro(Threshold, double);
54  vtkGetMacro(Threshold, double);
56 
58 
62  vtkSetMacro(UseEdgeWeightArray, bool);
63  vtkBooleanMacro(UseEdgeWeightArray, bool);
65 
66  vtkSetMacro(InvertEdgeWeightArray, bool);
67  vtkBooleanMacro(InvertEdgeWeightArray, bool);
68 
70 
74  vtkGetStringMacro(EdgeWeightArrayName);
75  vtkSetStringMacro(EdgeWeightArrayName);
77 
79 
83  vtkSetStringMacro(EdgeCentralityArrayName);
85 
86 protected:
87 
88  virtual int RequestData(vtkInformation* request,
89  vtkInformationVector** inputVector,
90  vtkInformationVector* outputVector);
91 
93 
94 
95 private:
96 
97  double Threshold;
98  bool UseEdgeWeightArray;
99  bool InvertEdgeWeightArray;
100  char* EdgeWeightArrayName;
101  char* EdgeCentralityArrayName;
102 
104  void operator=(const vtkBoostBetweennessClustering&) VTK_DELETE_FUNCTION;
105 };
106 
107 #endif // vtkBoostBetweennessClustering_h
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Implements graph clustering based on edge betweenness centrality.