00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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&);
00097 void operator=(const vtkBoostBetweennessClustering&);
00098 };
00099
00100 #endif // __vtkBoostBetweennessClustering_h