VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPBGLMinimumSpanningTree.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00039 #ifndef vtkPBGLMinimumSpanningTree_h 00040 #define vtkPBGLMinimumSpanningTree_h 00041 00042 #include "vtkInfovisParallelModule.h" // For export macro 00043 #include "vtkStdString.h" // For string type 00044 #include "vtkVariant.h" // For variant type 00045 00046 #include "vtkGraphAlgorithm.h" 00047 00048 class vtkSelection; 00049 00050 #if !defined(VTK_LEGACY_REMOVE) 00051 class VTKINFOVISPARALLEL_EXPORT vtkPBGLMinimumSpanningTree : public vtkGraphAlgorithm 00052 { 00053 public: 00054 static vtkPBGLMinimumSpanningTree *New(); 00055 vtkTypeMacro(vtkPBGLMinimumSpanningTree, vtkGraphAlgorithm); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00057 00059 00063 vtkSetStringMacro(EdgeWeightArrayName); 00065 00067 00070 vtkSetStringMacro(OutputSelectionType); 00072 00073 protected: 00074 vtkPBGLMinimumSpanningTree(); 00075 ~vtkPBGLMinimumSpanningTree(); 00076 00077 virtual int RequestData( 00078 vtkInformation *, 00079 vtkInformationVector **, 00080 vtkInformationVector *); 00081 00082 virtual int FillInputPortInformation( 00083 int port, vtkInformation* info); 00084 00085 virtual int FillOutputPortInformation( 00086 int port, vtkInformation* info); 00087 00088 private: 00089 char* EdgeWeightArrayName; 00090 char* OutputSelectionType; 00091 00092 vtkPBGLMinimumSpanningTree(const vtkPBGLMinimumSpanningTree&); // Not implemented. 00093 void operator=(const vtkPBGLMinimumSpanningTree&); // Not implemented. 00094 }; 00095 00096 #endif //VTK_LEGACY_REMOVE 00097 #endif