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
49class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBrandesCentrality : public vtkGraphAlgorithm
50{
51public:
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
77protected:
80
83
84
85private:
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
Compute Brandes betweenness centrality on a vtkGraph.
static vtkBoostBrandesCentrality * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.