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 -------------------------------------------------------------------------*/
36 #ifndef __vtkPBGLMinimumSpanningTree_h
37 #define __vtkPBGLMinimumSpanningTree_h
38 
39 #include "vtkStdString.h" // For string type
40 #include "vtkVariant.h" // For variant type
41 
42 #include "vtkGraphAlgorithm.h"
43 
44 class vtkSelection;
45 
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
58  vtkSetStringMacro(EdgeWeightArrayName);
60 
62 
65  vtkSetStringMacro(OutputSelectionType);
67 
68 protected:
71 
72  virtual int RequestData(
73  vtkInformation *,
76 
77  virtual int FillInputPortInformation(
78  int port, vtkInformation* info);
79 
80  virtual int FillOutputPortInformation(
81  int port, vtkInformation* info);
82 
83 private:
84  char* EdgeWeightArrayName;
85  char* OutputSelectionType;
86 
87  vtkPBGLMinimumSpanningTree(const vtkPBGLMinimumSpanningTree&); // Not implemented.
88  void operator=(const vtkPBGLMinimumSpanningTree&); // Not implemented.
89 };
90 
91 #endif