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 -------------------------------------------------------------------------*/
41 #ifndef vtkBoostBrandesCentrality_h
42 #define vtkBoostBrandesCentrality_h
43 
44 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
45 #include "vtkVariant.h" // For variant type
46 
47 #include "vtkGraphAlgorithm.h"
48 
49 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBrandesCentrality : public vtkGraphAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
61  vtkSetMacro(UseEdgeWeightArray, bool);
62  vtkBooleanMacro(UseEdgeWeightArray, bool);
64 
65  vtkSetMacro(InvertEdgeWeightArray, bool);
66  vtkBooleanMacro(InvertEdgeWeightArray, bool);
67 
69 
73  vtkGetStringMacro(EdgeWeightArrayName);
74  vtkSetStringMacro(EdgeWeightArrayName);
76 
77 protected:
80 
83 
84 
85 private:
86 
87  bool UseEdgeWeightArray;
88  bool InvertEdgeWeightArray;
89  char* EdgeWeightArrayName;
90 
91  vtkBoostBrandesCentrality(const vtkBoostBrandesCentrality&) VTK_DELETE_FUNCTION;
92  void operator=(const vtkBoostBrandesCentrality&) VTK_DELETE_FUNCTION;
93 };
94 
95 #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:39
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.