VTK
dox/Infovis/Parallel/vtkPBGLMinimumSpanningTree.h
Go to the documentation of this file.
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 -------------------------------------------------------------------------*/
00036 #ifndef __vtkPBGLMinimumSpanningTree_h
00037 #define __vtkPBGLMinimumSpanningTree_h
00038 
00039 #include "vtkInfovisParallelModule.h" // For export macro
00040 #include "vtkStdString.h" // For string type
00041 #include "vtkVariant.h" // For variant type
00042 
00043 #include "vtkGraphAlgorithm.h"
00044 
00045 class vtkSelection;
00046 
00047 class VTKINFOVISPARALLEL_EXPORT vtkPBGLMinimumSpanningTree : public vtkGraphAlgorithm
00048 {
00049 public:
00050   static vtkPBGLMinimumSpanningTree *New();
00051   vtkTypeMacro(vtkPBGLMinimumSpanningTree, vtkGraphAlgorithm);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00059   vtkSetStringMacro(EdgeWeightArrayName);
00061 
00063 
00066   vtkSetStringMacro(OutputSelectionType);
00068 
00069 protected:
00070   vtkPBGLMinimumSpanningTree();
00071   ~vtkPBGLMinimumSpanningTree();
00072 
00073   virtual int RequestData(
00074     vtkInformation *,
00075     vtkInformationVector **,
00076     vtkInformationVector *);
00077 
00078   virtual int FillInputPortInformation(
00079     int port, vtkInformation* info);
00080 
00081   virtual int FillOutputPortInformation(
00082     int port, vtkInformation* info);
00083 
00084 private:
00085   char* EdgeWeightArrayName;
00086   char* OutputSelectionType;
00087 
00088   vtkPBGLMinimumSpanningTree(const vtkPBGLMinimumSpanningTree&);  // Not implemented.
00089   void operator=(const vtkPBGLMinimumSpanningTree&);  // Not implemented.
00090 };
00091 
00092 #endif