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 "vtkVariant.h" // For variant type
44 
45 #include "vtkGraphAlgorithm.h"
46 
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
57  vtkSetMacro(UseEdgeWeightArray, bool);
58  vtkBooleanMacro(UseEdgeWeightArray, bool);
60 
61  vtkSetMacro(InvertEdgeWeightArray, bool);
62  vtkBooleanMacro(InvertEdgeWeightArray, bool);
63 
65 
67  vtkGetStringMacro(EdgeWeightArrayName);
68  vtkSetStringMacro(EdgeWeightArrayName);
70 
71 protected:
74 
77 
78 
79 private:
80 
81  bool UseEdgeWeightArray;
82  bool InvertEdgeWeightArray;
83  char* EdgeWeightArrayName;
84 
85  vtkBoostBrandesCentrality(const vtkBoostBrandesCentrality&); // Not implemented.
86  void operator=(const vtkBoostBrandesCentrality&); // Not implemented.
87 };
88 
89 #endif