• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Infovis/vtkBoostKruskalMinimumSpanningTree.h

Go to the documentation of this file.
00001 /*=========================================================================
00002   
00003 Program:   Visualization Toolkit
00004 Module:    $RCSfile: vtkBoostKruskalMinimumSpanningTree.h,v $
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   -------------------------------------------------------------------------*/
00034 #ifndef __vtkBoostKruskalMinimumSpanningTree_h
00035 #define __vtkBoostKruskalMinimumSpanningTree_h
00036 
00037 #include "vtkStdString.h" // For string type
00038 #include "vtkVariant.h" // For variant type
00039 
00040 #include "vtkSelectionAlgorithm.h"
00041 
00042 class VTK_INFOVIS_EXPORT vtkBoostKruskalMinimumSpanningTree : public vtkSelectionAlgorithm 
00043 {
00044 public:
00045   static vtkBoostKruskalMinimumSpanningTree *New();
00046   vtkTypeRevisionMacro(vtkBoostKruskalMinimumSpanningTree, vtkSelectionAlgorithm);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048   
00050 
00054   vtkSetStringMacro(EdgeWeightArrayName);
00056   
00058 
00061   vtkSetStringMacro(OutputSelectionType);
00063   
00065 
00069   void SetNegateEdgeWeights(bool value);
00070   vtkGetMacro(NegateEdgeWeights, bool);
00071   vtkBooleanMacro(NegateEdgeWeights, bool);
00073   
00074 protected:
00075   vtkBoostKruskalMinimumSpanningTree();
00076   ~vtkBoostKruskalMinimumSpanningTree();
00077   
00078   int RequestData(
00079     vtkInformation *,
00080     vtkInformationVector **,
00081     vtkInformationVector *);
00082   
00083   int FillInputPortInformation(
00084     int port, vtkInformation* info);
00085   
00086   int FillOutputPortInformation(
00087     int port, vtkInformation* info);
00088   
00089 private:
00090   char* EdgeWeightArrayName;
00091   char* OutputSelectionType;
00092   bool NegateEdgeWeights;
00093   float EdgeWeightMultiplier;
00094   
00095   vtkBoostKruskalMinimumSpanningTree(const vtkBoostKruskalMinimumSpanningTree&);  // Not implemented.
00096   void operator=(const vtkBoostKruskalMinimumSpanningTree&);  // Not implemented.
00097 };
00098 
00099 #endif

Generated by  doxygen 1.7.1