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 
33 #ifndef __vtkBoostBetweennessClustering_h
34 #define __vtkBoostBetweennessClustering_h
35 
36 #include "vtkGraphAlgorithm.h"
37 
39  public vtkGraphAlgorithm
40 {
41 public:
44  void PrintSelf(ostream &os, vtkIndent indent);
45 
48 
50 
52  vtkSetMacro(Threshold, double);
53  vtkGetMacro(Threshold, double);
55 
57 
59  vtkSetMacro(UseEdgeWeightArray, bool);
60  vtkBooleanMacro(UseEdgeWeightArray, bool);
62 
63  vtkSetMacro(InvertEdgeWeightArray, bool);
64  vtkBooleanMacro(InvertEdgeWeightArray, bool);
65 
67 
69  vtkGetStringMacro(EdgeWeightArrayName);
70  vtkSetStringMacro(EdgeWeightArrayName);
72 
74 
76  vtkSetStringMacro(EdgeCentralityArrayName);
78 
79 protected:
80 
81  virtual int RequestData(vtkInformation* request,
82  vtkInformationVector** inputVector,
83  vtkInformationVector* outputVector);
84 
86 
87 
88 private:
89 
90  double Threshold;
91  bool UseEdgeWeightArray;
92  bool InvertEdgeWeightArray;
93  char* EdgeWeightArrayName;
94  char* EdgeCentralityArrayName;
95 
97  void operator=(const vtkBoostBetweennessClustering&); // Not implemented.
98 };
99 
100 #endif // __vtkBoostBetweennessClustering_h
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_INFOVIS_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
Implements graph clustering based on edge betweenness centrality.