27 #ifndef vtkGraphWeightEuclideanDistanceFilter_h 28 #define vtkGraphWeightEuclideanDistanceFilter_h 30 #include "vtkFiltersGeneralModule.h" Base class for filters that weight graph edges.
static vtkGraphAlgorithm * New()
virtual bool CheckRequirements(vtkGraph *const graph) const
Ensure that the 'graph' is has all properties that are needed to compute the weights.
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
Compute the weight on the 'graph' for a particular 'edge'.
Base class for graph data types.
~vtkGraphWeightEuclideanDistanceFilter() override
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.