VTK
vtkBoostBrandesCentrality.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBoostBrandesCentrality.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 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
40 #ifndef vtkBoostBrandesCentrality_h
41 #define vtkBoostBrandesCentrality_h
42 
43 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
44 #include "vtkVariant.h" // For variant type
45 
46 #include "vtkGraphAlgorithm.h"
47 
48 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBrandesCentrality : public vtkGraphAlgorithm
49 {
50 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
58  vtkSetMacro(UseEdgeWeightArray, bool);
59  vtkBooleanMacro(UseEdgeWeightArray, bool);
61 
62  vtkSetMacro(InvertEdgeWeightArray, bool);
63  vtkBooleanMacro(InvertEdgeWeightArray, bool);
64 
66 
68  vtkGetStringMacro(EdgeWeightArrayName);
69  vtkSetStringMacro(EdgeWeightArrayName);
71 
72 protected:
75 
78 
79 
80 private:
81 
82  bool UseEdgeWeightArray;
83  bool InvertEdgeWeightArray;
84  char* EdgeWeightArrayName;
85 
86  vtkBoostBrandesCentrality(const vtkBoostBrandesCentrality&); // Not implemented.
87  void operator=(const vtkBoostBrandesCentrality&); // Not implemented.
88 };
89 
90 #endif
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
Compute Brandes betweenness centrality on a vtkGraph.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.