19 #ifndef vtkGraphWeightFilter_h
20 #define vtkGraphWeightFilter_h
22 #include "vtkFiltersGeneralModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
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
virtual float ComputeWeight(vtkGraph *graph, const vtkEdgeType &edge) const =0
Compute the weight on the 'graph' for a particular 'edge'.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool CheckRequirements(vtkGraph *graph) const
Ensure that the 'graph' is has all properties that are needed to compute the weights.
vtkGraphWeightFilter()=default
Base class for graph data types.
a simple class to control print indentation