VTK
vtkPBGLMinimumSpanningTree.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPBGLMinimumSpanningTree.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 -------------------------------------------------------------------------*/
39 #ifndef vtkPBGLMinimumSpanningTree_h
40 #define vtkPBGLMinimumSpanningTree_h
41 
42 #include "vtkInfovisParallelModule.h" // For export macro
43 #include "vtkStdString.h" // For string type
44 #include "vtkVariant.h" // For variant type
45 
46 #include "vtkGraphAlgorithm.h"
47 
48 class vtkSelection;
49 
50 #if !defined(VTK_LEGACY_REMOVE)
51 class VTKINFOVISPARALLEL_EXPORT vtkPBGLMinimumSpanningTree : public vtkGraphAlgorithm
52 {
53 public:
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
63  vtkSetStringMacro(EdgeWeightArrayName);
65 
67 
70  vtkSetStringMacro(OutputSelectionType);
72 
73 protected:
76 
77  virtual int RequestData(
81 
82  virtual int FillInputPortInformation(
83  int port, vtkInformation* info);
84 
85  virtual int FillOutputPortInformation(
86  int port, vtkInformation* info);
87 
88 private:
89  char* EdgeWeightArrayName;
90  char* OutputSelectionType;
91 
92  vtkPBGLMinimumSpanningTree(const vtkPBGLMinimumSpanningTree&); // Not implemented.
93  void operator=(const vtkPBGLMinimumSpanningTree&); // Not implemented.
94 };
95 
96 #endif //VTK_LEGACY_REMOVE
97 #endif
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
Minimum spanning tree of a distributed vtkGraph.
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:44
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)