43 #ifndef __vtkStrahlerMetric_h
44 #define __vtkStrahlerMetric_h
46 #include "vtkFiltersStatisticsModule.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);
Superclass for algorithms that produce only Tree as output.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent)
compute Strahler metric for a tree
static vtkTreeAlgorithm * New()