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  -------------------------------------------------------------------------*/
38 #ifndef vtkBoostKruskalMinimumSpanningTree_h
39 #define vtkBoostKruskalMinimumSpanningTree_h
40 
41 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
42 #include "vtkStdString.h" // For string type
43 #include "vtkVariant.h" // For variant type
44 
45 #include "vtkSelectionAlgorithm.h"
46 
47 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostKruskalMinimumSpanningTree : public vtkSelectionAlgorithm
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
62  vtkSetStringMacro(EdgeWeightArrayName);
64 
66 
71  vtkSetStringMacro(OutputSelectionType);
73 
75 
83  vtkGetMacro(NegateEdgeWeights, bool);
84  vtkBooleanMacro(NegateEdgeWeights, bool);
86 
87 protected:
90 
95 
97  int port, vtkInformation* info);
98 
100  int port, vtkInformation* info);
101 
102 private:
103  char* EdgeWeightArrayName;
104  char* OutputSelectionType;
105  bool NegateEdgeWeights;
106  float EdgeWeightMultiplier;
107 
109  void operator=(const vtkBoostKruskalMinimumSpanningTree&) VTK_DELETE_FUNCTION;
110 };
111 
112 #endif
vtkStdString.h
vtkVariant.h
vtkX3D::value
@ value
Definition: vtkX3D.h:220
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkBoostKruskalMinimumSpanningTree::SetNegateEdgeWeights
void SetNegateEdgeWeights(bool value)
Whether to negate the edge weights.
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:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkBoostKruskalMinimumSpanningTree::vtkBoostKruskalMinimumSpanningTree
vtkBoostKruskalMinimumSpanningTree()
vtkBoostKruskalMinimumSpanningTree::~vtkBoostKruskalMinimumSpanningTree
~vtkBoostKruskalMinimumSpanningTree()
vtkBoostKruskalMinimumSpanningTree::New
static vtkBoostKruskalMinimumSpanningTree * New()
vtkBoostKruskalMinimumSpanningTree::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkBoostKruskalMinimumSpanningTree::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBoostKruskalMinimumSpanningTree::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkBoostKruskalMinimumSpanningTree::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
vtkSelectionAlgorithm
Superclass for algorithms that produce only Selection as output.
Definition: vtkSelectionAlgorithm.h:47