VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 -------------------------------------------------------------------------*/
36 #ifndef __vtkPBGLMinimumSpanningTree_h
37 #define __vtkPBGLMinimumSpanningTree_h
38 
39 #include "vtkInfovisParallelModule.h" // For export macro
40 #include "vtkStdString.h" // For string type
41 #include "vtkVariant.h" // For variant type
42 
43 #include "vtkGraphAlgorithm.h"
44 
45 class vtkSelection;
46 
47 class VTKINFOVISPARALLEL_EXPORT vtkPBGLMinimumSpanningTree : public vtkGraphAlgorithm
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
59  vtkSetStringMacro(EdgeWeightArrayName);
61 
63 
66  vtkSetStringMacro(OutputSelectionType);
68 
69 protected:
72 
73  virtual int RequestData(
77 
78  virtual int FillInputPortInformation(
79  int port, vtkInformation* info);
80 
81  virtual int FillOutputPortInformation(
82  int port, vtkInformation* info);
83 
84 private:
85  char* EdgeWeightArrayName;
86  char* OutputSelectionType;
87 
88  vtkPBGLMinimumSpanningTree(const vtkPBGLMinimumSpanningTree&); // Not implemented.
89  void operator=(const vtkPBGLMinimumSpanningTree&); // Not implemented.
90 };
91 
92 #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)
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:94
Superclass for algorithms that produce only graph as output.
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
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)