31#ifndef vtkGraphWeightFilter_h
32#define vtkGraphWeightFilter_h
34#include "vtkFiltersGeneralModule.h"
Superclass for algorithms that produce only graph as output.
Base class for filters that weight graph edges.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkGraphWeightFilter() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool CheckRequirements(vtkGraph *const graph) const
Ensure that the 'graph' is has all properties that are needed to compute the weights.
vtkGraphWeightFilter()=default
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.
a simple class to control print indentation