43 #ifndef __vtkStrahlerMetric_h
44 #define __vtkStrahlerMetric_h
46 #include "vtkFiltersStatisticsModule.h"
47 #include "vtkTreeAlgorithm.h"
56 void PrintSelf(ostream& os, vtkIndent indent);
61 vtkSetStringMacro(MetricArrayName);
68 vtkSetMacro(Normalize,
int);
69 vtkGetMacro(Normalize,
int);
70 vtkBooleanMacro(Normalize,
int);
75 vtkGetMacro(MaxStrahler,
float);
82 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
88 float CalculateStrahler(vtkIdType root, vtkFloatArray *metric, vtkTree *graph);
compute Strahler metric for a tree