Skip to content

Commit

Permalink
WIP: VTK_OVERRIDE -> override
Browse files Browse the repository at this point in the history
  • Loading branch information
allemangD committed Oct 1, 2021
1 parent e47d6e9 commit b62c4a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/vtkPVPostFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ class VTK_EXPORT vtkPVPostFilter : public vtkDataObjectAlgorithm
public:
static vtkPVPostFilter* New();
vtkTypeMacro(vtkPVPostFilter,vtkDataObjectAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
void PrintSelf(ostream& os, vtkIndent indent) override;

// Description:
// We need to override this method because the composite data pipeline
// is not what we want. Instead we need the PVCompositeDataPipeline
// so that we can figure out what we conversion(s) we need to do
vtkExecutive* CreateDefaultExecutive() VTK_OVERRIDE;
vtkExecutive* CreateDefaultExecutive() override;

static std::string DefaultComponentName(int componentNumber, int componentCount);

vtkPVPostFilter();
~vtkPVPostFilter() VTK_OVERRIDE;
~vtkPVPostFilter() override;

virtual int FillInputPortInformation( int port, vtkInformation* info) VTK_OVERRIDE;
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
virtual int FillInputPortInformation( int port, vtkInformation* info) override;
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;


int DoAnyNeededConversions(vtkDataObject* output);
Expand Down
6 changes: 3 additions & 3 deletions src/vtkPVPostFilterExecutive.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class VTK_EXPORT vtkPVPostFilterExecutive : public vtkCompositeDataPipeline
public:
static vtkPVPostFilterExecutive* New();
vtkTypeMacro(vtkPVPostFilterExecutive,vtkCompositeDataPipeline);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
void PrintSelf(ostream& os, vtkIndent indent) override;

static vtkInformationInformationVectorKey* POST_ARRAYS_TO_PROCESS();
static vtkInformationStringVectorKey* POST_ARRAY_COMPONENT_KEY();
Expand All @@ -54,12 +54,12 @@ class VTK_EXPORT vtkPVPostFilterExecutive : public vtkCompositeDataPipeline

protected:
vtkPVPostFilterExecutive();
~vtkPVPostFilterExecutive() VTK_OVERRIDE;
~vtkPVPostFilterExecutive() override;

// Overriden to always return true
virtual int NeedToExecuteData(int outputPort,
vtkInformationVector** inInfoVec,
vtkInformationVector* outInfoVec) VTK_OVERRIDE;
vtkInformationVector* outInfoVec) override;

bool MatchingPropertyInformation(vtkInformation* inputArrayInfo,vtkInformation* postArrayInfo);
private:
Expand Down

0 comments on commit b62c4a6

Please sign in to comment.