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 -------------------------------------------------------------------------*/
40 #ifndef vtkPBGLMinimumSpanningTree_h
41 #define vtkPBGLMinimumSpanningTree_h
42 
43 #include "vtkInfovisParallelModule.h" // For export macro
44 #include "vtkStdString.h" // For string type
45 #include "vtkVariant.h" // For variant type
46 
47 #include "vtkGraphAlgorithm.h"
48 
49 class vtkSelection;
50 
51 #if !defined(VTK_LEGACY_REMOVE)
52 class VTKINFOVISPARALLEL_EXPORT vtkPBGLMinimumSpanningTree : public vtkGraphAlgorithm
53 {
54 public:
57  void PrintSelf(ostream& os, vtkIndent indent);
58 
60 
67  vtkSetStringMacro(EdgeWeightArrayName);
69 
71 
76  vtkSetStringMacro(OutputSelectionType);
78 
79 protected:
82 
83  virtual int RequestData(
87 
88  virtual int FillInputPortInformation(
89  int port, vtkInformation* info);
90 
91  virtual int FillOutputPortInformation(
92  int port, vtkInformation* info);
93 
94 private:
95  char* EdgeWeightArrayName;
96  char* OutputSelectionType;
97 
98  vtkPBGLMinimumSpanningTree(const vtkPBGLMinimumSpanningTree&) VTK_DELETE_FUNCTION;
99  void operator=(const vtkPBGLMinimumSpanningTree&) VTK_DELETE_FUNCTION;
100 };
101 
102 #endif //VTK_LEGACY_REMOVE
103 #endif
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
Minimum spanning tree of a distributed vtkGraph.
A node in a selection tree.
Definition: vtkSelection.h:43
Superclass for algorithms that produce only graph as output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:39
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.