VTK
vtkBoostKruskalMinimumSpanningTree.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkBoostKruskalMinimumSpanningTree.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  -------------------------------------------------------------------------*/
37 #ifndef __vtkBoostKruskalMinimumSpanningTree_h
38 #define __vtkBoostKruskalMinimumSpanningTree_h
39 
40 #include "vtkStdString.h" // For string type
41 #include "vtkVariant.h" // For variant type
42 
43 #include "vtkSelectionAlgorithm.h"
44 
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
57  vtkSetStringMacro(EdgeWeightArrayName);
59 
61 
64  vtkSetStringMacro(OutputSelectionType);
66 
68 
72  void SetNegateEdgeWeights(bool value);
73  vtkGetMacro(NegateEdgeWeights, bool);
74  vtkBooleanMacro(NegateEdgeWeights, bool);
76 
77 protected:
80 
81  int RequestData(
85 
87  int port, vtkInformation* info);
88 
90  int port, vtkInformation* info);
91 
92 private:
93  char* EdgeWeightArrayName;
94  char* OutputSelectionType;
95  bool NegateEdgeWeights;
96  float EdgeWeightMultiplier;
97 
99  void operator=(const vtkBoostKruskalMinimumSpanningTree&); // Not implemented.
100 };
101 
102 #endif