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 -------------------------------------------------------------------------*/
37 #ifndef vtkPBGLMinimumSpanningTree_h
38 #define vtkPBGLMinimumSpanningTree_h
39 
40 #include "vtkInfovisParallelModule.h" // For export macro
41 #include "vtkStdString.h" // For string type
42 #include "vtkVariant.h" // For variant type
43 
44 #include "vtkGraphAlgorithm.h"
45 
46 class vtkSelection;
47 
48 #if !defined(VTK_LEGACY_REMOVE)
49 class VTKINFOVISPARALLEL_EXPORT vtkPBGLMinimumSpanningTree : public vtkGraphAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
64  vtkSetStringMacro(EdgeWeightArrayName);
66 
68 
73  vtkSetStringMacro(OutputSelectionType);
75 
76 protected:
79 
80  virtual int RequestData(
84 
85  virtual int FillInputPortInformation(
86  int port, vtkInformation* info);
87 
88  virtual int FillOutputPortInformation(
89  int port, vtkInformation* info);
90 
91 private:
92  char* EdgeWeightArrayName;
93  char* OutputSelectionType;
94 
95  vtkPBGLMinimumSpanningTree(const vtkPBGLMinimumSpanningTree&) VTK_DELETE_FUNCTION;
96  void operator=(const vtkPBGLMinimumSpanningTree&) VTK_DELETE_FUNCTION;
97 };
98 
99 #endif //VTK_LEGACY_REMOVE
100 #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:37
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:33
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.