26 #ifndef __vtkGraphWeightEuclideanDistanceFilter_h
27 #define __vtkGraphWeightEuclideanDistanceFilter_h
29 #include "vtkFiltersGeneralModule.h"
39 void PrintSelf(ostream& os, vtkIndent indent);
47 float ComputeWeight(vtkGraph*
const graph,
const vtkEdgeType& edge)
const;
Base class for filters that weight graph edges.
virtual bool CheckRequirements(vtkGraph *const graph) const
vtkGraphWeightEuclideanDistanceFilter()
Weights the edges of a graph based on the Euclidean distance between the points.
virtual float ComputeWeight(vtkGraph *const graph, const vtkEdgeType &edge) const =0
void PrintSelf(ostream &os, vtkIndent indent)
~vtkGraphWeightEuclideanDistanceFilter()