15 #ifndef vtkGraphWeightEuclideanDistanceFilter_h
16 #define vtkGraphWeightEuclideanDistanceFilter_h
18 #include "vtkFiltersGeneralModule.h"
21 VTK_ABI_NAMESPACE_BEGIN
Weights the edges of a graph based on the Euclidean distance between the points.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool CheckRequirements(vtkGraph *graph) const override
Ensure that 'graph' has Points defined.
static vtkGraphWeightEuclideanDistanceFilter * New()
float ComputeWeight(vtkGraph *graph, const vtkEdgeType &edge) const override
Compute the Euclidean distance between the Points defined for the vertices of a specified 'edge'.
~vtkGraphWeightEuclideanDistanceFilter() override=default
vtkGraphWeightEuclideanDistanceFilter()=default
Base class for filters that weight graph edges.
Base class for graph data types.
a simple class to control print indentation