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 "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
41 #include "vtkStdString.h" // For string type
42 #include "vtkVariant.h" // For variant type
43 
44 #include "vtkSelectionAlgorithm.h"
45 
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
58  vtkSetStringMacro(EdgeWeightArrayName);
60 
62 
65  vtkSetStringMacro(OutputSelectionType);
67 
69 
74  vtkGetMacro(NegateEdgeWeights, bool);
75  vtkBooleanMacro(NegateEdgeWeights, bool);
77 
78 protected:
81 
86 
88  int port, vtkInformation* info);
89 
91  int port, vtkInformation* info);
92 
93 private:
94  char* EdgeWeightArrayName;
95  char* OutputSelectionType;
96  bool NegateEdgeWeights;
97  float EdgeWeightMultiplier;
98 
100  void operator=(const vtkBoostKruskalMinimumSpanningTree&); // Not implemented.
101 };
102 
103 #endif
vtkStdString.h
vtkVariant.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkBoostKruskalMinimumSpanningTree::SetNegateEdgeWeights
void SetNegateEdgeWeights(bool value)
vtkInfovisBoostGraphAlgorithmsModule.h
vtkSelectionAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkBoostKruskalMinimumSpanningTree
Contructs a minimum spanning tree from a graph and the weighting array.
Definition: vtkBoostKruskalMinimumSpanningTree.h:47
vtkgl::value
GLsizei const GLfloat * value
Definition: vtkgl.h:12021
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
#define VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
Definition: vtkInfovisBoostGraphAlgorithmsModule.h:15
vtkBoostKruskalMinimumSpanningTree::vtkBoostKruskalMinimumSpanningTree
vtkBoostKruskalMinimumSpanningTree()
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkBoostKruskalMinimumSpanningTree::~vtkBoostKruskalMinimumSpanningTree
~vtkBoostKruskalMinimumSpanningTree()
vtkBoostKruskalMinimumSpanningTree::New
static vtkBoostKruskalMinimumSpanningTree * New()
vtkBoostKruskalMinimumSpanningTree::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkBoostKruskalMinimumSpanningTree::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkBoostKruskalMinimumSpanningTree::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
vtkBoostKruskalMinimumSpanningTree::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info)
vtkSelectionAlgorithm
Superclass for algorithms that produce only Selection as output.
Definition: vtkSelectionAlgorithm.h:46