diff --git a/MeshLib/Vtk/VtkMeshNodalCoordinatesTemplate.h b/MeshLib/Vtk/VtkMeshNodalCoordinatesTemplate.h index d10b377210129710a6ac037da95ce3202fdb8add..0e124a5befeb681b21cbfd070df1ae3ccc7e63b4 100644 --- a/MeshLib/Vtk/VtkMeshNodalCoordinatesTemplate.h +++ b/MeshLib/Vtk/VtkMeshNodalCoordinatesTemplate.h @@ -42,57 +42,57 @@ public: void SetNodes(std::vector<MeshLib::Node*> const & nodes); // Reimplemented virtuals -- see superclasses for descriptions - void Initialize(); - void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output); - void GetTuples(vtkIdType p1, vtkIdType p2, vtkAbstractArray *output); - void Squeeze(); - vtkArrayIterator *NewIterator(); - vtkIdType LookupValue(vtkVariant value); - void LookupValue(vtkVariant value, vtkIdList *ids); - vtkVariant GetVariantValue(vtkIdType idx); - void ClearLookup(); - double* GetTuple(vtkIdType i); - void GetTuple(vtkIdType i, double *tuple); - vtkIdType LookupTypedValue(Scalar value); - void LookupTypedValue(Scalar value, vtkIdList *ids); + void Initialize() override; + void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output) override; + void GetTuples(vtkIdType p1, vtkIdType p2, vtkAbstractArray *output) override; + void Squeeze() override; + vtkArrayIterator *NewIterator() override; + vtkIdType LookupValue(vtkVariant value) override; + void LookupValue(vtkVariant value, vtkIdList *ids) override; + vtkVariant GetVariantValue(vtkIdType idx) override; + void ClearLookup() override; + double* GetTuple(vtkIdType i) override; + void GetTuple(vtkIdType i, double *tuple) override; + vtkIdType LookupTypedValue(Scalar value) override; + void LookupTypedValue(Scalar value, vtkIdList *ids) override; Scalar GetValue(vtkIdType idx); - Scalar& GetValueReference(vtkIdType idx); + Scalar& GetValueReference(vtkIdType idx) override; void GetTupleValue(vtkIdType idx, Scalar *t); // This container is read only -- this method does nothing but print a // warning. - int Allocate(vtkIdType sz, vtkIdType ext); - int Resize(vtkIdType numTuples); - void SetNumberOfTuples(vtkIdType number); - void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source); - void SetTuple(vtkIdType i, const float *source); - void SetTuple(vtkIdType i, const double *source); - void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source); - void InsertTuple(vtkIdType i, const float *source); - void InsertTuple(vtkIdType i, const double *source); + int Allocate(vtkIdType sz, vtkIdType ext) override; + int Resize(vtkIdType numTuples) override; + void SetNumberOfTuples(vtkIdType number) override; + void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source) override; + void SetTuple(vtkIdType i, const float *source) override; + void SetTuple(vtkIdType i, const double *source) override; + void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source) override; + void InsertTuple(vtkIdType i, const float *source) override; + void InsertTuple(vtkIdType i, const double *source) override; void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, - vtkAbstractArray *source); - void InsertTuples(vtkIdType, vtkIdType, vtkIdType, vtkAbstractArray*); - vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source); - vtkIdType InsertNextTuple(const float *source); - vtkIdType InsertNextTuple(const double *source); - void InsertVariantValue(vtkIdType idx, vtkVariant value); - void DeepCopy(vtkAbstractArray *aa); - void DeepCopy(vtkDataArray *da); + vtkAbstractArray *source) override; + void InsertTuples(vtkIdType, vtkIdType, vtkIdType, vtkAbstractArray*) override; + vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source) override; + vtkIdType InsertNextTuple(const float *source) override; + vtkIdType InsertNextTuple(const double *source) override; + void InsertVariantValue(vtkIdType idx, vtkVariant value) override; + void DeepCopy(vtkAbstractArray *aa) override; + void DeepCopy(vtkDataArray *da) override; void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, - vtkAbstractArray* source, double* weights); + vtkAbstractArray* source, double* weights) override; void InterpolateTuple(vtkIdType i, vtkIdType id1, vtkAbstractArray *source1, - vtkIdType id2, vtkAbstractArray *source2, double t); - void SetVariantValue(vtkIdType idx, vtkVariant value); - void RemoveTuple(vtkIdType id); - void RemoveFirstTuple(); - void RemoveLastTuple(); + vtkIdType id2, vtkAbstractArray *source2, double t) override; + void SetVariantValue(vtkIdType idx, vtkVariant value) override; + void RemoveTuple(vtkIdType id) override; + void RemoveFirstTuple() override; + void RemoveLastTuple() override; void SetTupleValue(vtkIdType i, const Scalar *t); void InsertTupleValue(vtkIdType i, const Scalar *t); vtkIdType InsertNextTupleValue(const Scalar *t); - void SetValue(vtkIdType idx, Scalar value); - vtkIdType InsertNextValue(Scalar v); - void InsertValue(vtkIdType idx, Scalar v); + void SetValue(vtkIdType idx, Scalar value) override; + vtkIdType InsertNextValue(Scalar v) override; + void InsertValue(vtkIdType idx, Scalar v) override; protected: