24#ifndef vtkGraphWeightEuclideanDistanceFilter_h
25#define vtkGraphWeightEuclideanDistanceFilter_h
27#include "vtkFiltersGeneralModule.h"
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.
float ComputeWeight(vtkGraph *const graph, const vtkEdgeType &edge) const override
Compute the Euclidean distance between the Points defined for the vertices of a specified 'edge'.
~vtkGraphWeightEuclideanDistanceFilter() override=default
bool CheckRequirements(vtkGraph *const graph) const override
Ensure that 'graph' has Points defined.
vtkGraphWeightEuclideanDistanceFilter()=default
static vtkGraphWeightEuclideanDistanceFilter * New()
Base class for filters that weight graph edges.
Base class for graph data types.
a simple class to control print indentation