X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FvtkGenerateVectors.h;h=55c58563c8bf037bbb17048e3695c5d83e118d0f;hb=a833b1388f958c887b2b0886fc40a8be0256e2c8;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..55c58563 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-2015 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); };