Commit bd3f65c8 authored by Ben Boeckel's avatar Ben Boeckel

vtkFiltersReebGraph: use override where necessary

parent 6e25b4d2
......@@ -4257,7 +4257,7 @@ class AreaSimplificationMetric : public vtkReebGraphSimplificationMetric{
static AreaSimplificationMetric* New();
double ComputeMetric(vtkDataSet *mesh, vtkDataArray *scalarField,
vtkIdType startCriticalPoint, vtkAbstractArray *vertexList,
vtkIdType endCriticalPoint);
vtkIdType endCriticalPoint) override;
};
vtkStandardNewMacro(AreaSimplificationMetric);
......
......@@ -35,7 +35,7 @@ class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSimplificationFilter :
public:
static vtkReebGraphSimplificationFilter* New();
vtkTypeMacro(vtkReebGraphSimplificationFilter, vtkDirectedGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -62,11 +62,11 @@ protected:
vtkReebGraphSimplificationMetric *SimplificationMetric;
int FillInputPortInformation(int portNumber, vtkInformation *);
int FillOutputPortInformation(int, vtkInformation *);
int FillInputPortInformation(int portNumber, vtkInformation *) override;
int FillOutputPortInformation(int, vtkInformation *) override;
int RequestData(vtkInformation *request,
vtkInformationVector **inputVector, vtkInformationVector *outputVector);
vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
private:
vtkReebGraphSimplificationFilter(const vtkReebGraphSimplificationFilter&) = delete;
......
......@@ -55,7 +55,7 @@ class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter :
public:
static vtkReebGraphSurfaceSkeletonFilter* New();
vtkTypeMacro(vtkReebGraphSurfaceSkeletonFilter, vtkDataObjectAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -93,11 +93,11 @@ protected:
vtkIdType FieldId;
int NumberOfSamples, NumberOfSmoothingIterations;
int FillInputPortInformation(int portNumber, vtkInformation *);
int FillOutputPortInformation(int portNumber, vtkInformation *info);
int FillInputPortInformation(int portNumber, vtkInformation *) override;
int FillOutputPortInformation(int portNumber, vtkInformation *info) override;
int RequestData(vtkInformation *request,
vtkInformationVector **inputVector, vtkInformationVector *outputVector);
vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
private:
vtkReebGraphSurfaceSkeletonFilter(const vtkReebGraphSurfaceSkeletonFilter&) = delete;
......
......@@ -47,7 +47,7 @@ public:
static vtkReebGraphToJoinSplitTreeFilter* New();
vtkTypeMacro(vtkReebGraphToJoinSplitTreeFilter,
vtkDirectedGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -77,11 +77,11 @@ protected:
vtkIdType FieldId;
int FillInputPortInformation(int portNumber, vtkInformation *);
int FillOutputPortInformation(int, vtkInformation *);
int FillInputPortInformation(int portNumber, vtkInformation *) override;
int FillOutputPortInformation(int, vtkInformation *) override;
int RequestData(vtkInformation *request,
vtkInformationVector **inputVector, vtkInformationVector *outputVector);
vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
private:
vtkReebGraphToJoinSplitTreeFilter(const vtkReebGraphToJoinSplitTreeFilter&) = delete;
......
......@@ -57,7 +57,7 @@ public:
static vtkReebGraphVolumeSkeletonFilter* New();
vtkTypeMacro(vtkReebGraphVolumeSkeletonFilter,
vtkDataObjectAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -95,11 +95,11 @@ protected:
vtkIdType FieldId;
int NumberOfSamples, NumberOfSmoothingIterations;
int FillInputPortInformation(int portNumber, vtkInformation *);
int FillOutputPortInformation(int portNumber, vtkInformation *info);
int FillInputPortInformation(int portNumber, vtkInformation *) override;
int FillOutputPortInformation(int portNumber, vtkInformation *info) override;
int RequestData(vtkInformation *request,
vtkInformationVector **inputVector, vtkInformationVector *outputVector);
vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
private:
vtkReebGraphVolumeSkeletonFilter(const vtkReebGraphVolumeSkeletonFilter&) = delete;
......
......@@ -38,7 +38,7 @@ public:
static vtkUnstructuredGridToReebGraphFilter* New();
vtkTypeMacro(vtkUnstructuredGridToReebGraphFilter,
vtkDirectedGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -57,12 +57,12 @@ protected:
int FieldId;
int FillInputPortInformation(int portNumber, vtkInformation *);
int FillOutputPortInformation(int, vtkInformation *);
int FillInputPortInformation(int portNumber, vtkInformation *) override;
int FillOutputPortInformation(int, vtkInformation *) override;
int RequestData(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
vtkInformationVector*) override;
private:
vtkUnstructuredGridToReebGraphFilter(const vtkUnstructuredGridToReebGraphFilter&) = delete;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment