X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FvtkGenerateVectors.h;h=e971cdc888ccd71050e69886a11900c27695438b;hb=0aca9e62c928f151af43789b5fd908a774758922;hp=c35dd0f10a6b2255cbe960ac092b2a666ee19f85;hpb=e4350e9cdbb25c86c1b7caa25182a8c99381ead9;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/IO/vtkGenerateVectors.h b/src/Plugins/MEDReader/IO/vtkGenerateVectors.h index c35dd0f1..e971cdc8 100644 --- a/src/Plugins/MEDReader/IO/vtkGenerateVectors.h +++ b/src/Plugins/MEDReader/IO/vtkGenerateVectors.h @@ -1,9 +1,9 @@ -// Copyright (C) 2010-2014 CEA/DEN, EDF R&D +// Copyright (C) 2010-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -32,6 +32,9 @@ public: static void Operate(vtkFieldData *fd); static vtkDoubleArray *Operate2Compo(vtkDoubleArray *oldArr); static vtkDoubleArray *OperateMoreThan3Compo(vtkDoubleArray *oldArr); + static std::string SuffixFieldName(const std::string& name); +public: + static const char VECTOR_SUFFIX[]; protected: static void UpdateInformationOfArray(vtkDoubleArray *oldArr, vtkDoubleArray *arr); };