VTK
dox/Infovis/vtkBoostBetweennessClustering.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkBoostGraphAdapter.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 
00033 #ifndef __vtkBoostBetweennessClustering_h
00034 #define __vtkBoostBetweennessClustering_h
00035 
00036 #include "vtkGraphAlgorithm.h"
00037 
00038 class VTK_INFOVIS_EXPORT vtkBoostBetweennessClustering :
00039   public vtkGraphAlgorithm
00040 {
00041 public:
00042   static vtkBoostBetweennessClustering* New();
00043   vtkTypeMacro(vtkBoostBetweennessClustering, vtkGraphAlgorithm);
00044   void PrintSelf(ostream &os, vtkIndent indent);
00045 
00046   vtkBoostBetweennessClustering();
00047   virtual ~vtkBoostBetweennessClustering();
00048 
00050 
00052   vtkSetMacro(Threshold, double);
00053   vtkGetMacro(Threshold, double);
00055 
00057 
00059   vtkSetMacro(UseEdgeWeightArray, bool);
00060   vtkBooleanMacro(UseEdgeWeightArray, bool);
00062 
00063   vtkSetMacro(InvertEdgeWeightArray, bool);
00064   vtkBooleanMacro(InvertEdgeWeightArray, bool);
00065 
00067 
00069   vtkGetStringMacro(EdgeWeightArrayName);
00070   vtkSetStringMacro(EdgeWeightArrayName);
00072 
00074 
00076   vtkSetStringMacro(EdgeCentralityArrayName);
00078 
00079 protected:
00080 
00081   virtual int RequestData(vtkInformation* request,
00082                           vtkInformationVector** inputVector,
00083                           vtkInformationVector* outputVector);
00084 
00085   virtual int FillOutputPortInformation(int port, vtkInformation* info);
00086 
00087 
00088 private:
00089 
00090   double  Threshold;
00091   bool    UseEdgeWeightArray;
00092   bool    InvertEdgeWeightArray;
00093   char*   EdgeWeightArrayName;
00094   char*   EdgeCentralityArrayName;
00095 
00096   vtkBoostBetweennessClustering(const vtkBoostBetweennessClustering&); // Not implemented.
00097   void operator=(const vtkBoostBetweennessClustering&); // Not implemented.
00098 };
00099 
00100 #endif // __vtkBoostBetweennessClustering_h