X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FvtkELNOSurfaceFilter.cxx;h=19b14df84d4c083314661116f1f5ac58dd750513;hb=91873bdcbeb8a1194ecfafe5c450bd005813d5b8;hp=31fdbce91de7b31f4cdbc17703e71b6710737f87;hpb=d170abf6cb7fa44827057ce004760d1ef45d9f2d;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/IO/vtkELNOSurfaceFilter.cxx b/src/Plugins/MEDReader/IO/vtkELNOSurfaceFilter.cxx index 31fdbce9..19b14df8 100644 --- a/src/Plugins/MEDReader/IO/vtkELNOSurfaceFilter.cxx +++ b/src/Plugins/MEDReader/IO/vtkELNOSurfaceFilter.cxx @@ -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 @@ -47,8 +47,7 @@ vtkELNOSurfaceFilter::~vtkELNOSurfaceFilter() { } -int vtkELNOSurfaceFilter::RequestData(vtkInformation *request, - vtkInformationVector **input, vtkInformationVector *output) +int vtkELNOSurfaceFilter::RequestData(vtkInformation *request, vtkInformationVector **input, vtkInformationVector *output) { vtkUnstructuredGrid *usgIn=vtkUnstructuredGrid::SafeDownCast( input[0]->GetInformationObject(0)->Get(vtkDataObject::DATA_OBJECT())); @@ -92,7 +91,7 @@ int vtkELNOSurfaceFilter::RequestData(vtkInformation *request, if(originalPointIds==NULL) { - vtkErrorMacro("vtkPVGeometryFilter return NULL 'vtkOriginalPointIds' array"); + vtkErrorMacro("It appears that your dataset is not reduced using vtkPVGeometryFilter (NULL 'vtkOriginalPointIds).\n==================================================================================================\nProbably your dataset is not 3D.\nIf it is not a 3D dataset you are expected to use ELNO Mesh filter instead of ELNO Surface filter.\n==================================================================================================\n"); return 0; }