From: geay Date: Fri, 18 Apr 2014 06:49:10 +0000 (+0200) Subject: Correct bug on extract group with Rectilinear input dataset. X-Git-Tag: V7_4_0rc1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d460f46eea700b80c25a3381a3915ce4e0003597;p=modules%2Fparavis.git Correct bug on extract group with Rectilinear input dataset. --- diff --git a/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx b/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx index 1eb06e2b..9bdba20e 100644 --- a/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx +++ b/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx @@ -427,6 +427,7 @@ void vtkExtractGroup::SetInsideOut(int val) int vtkExtractGroup::RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) { + vtkUnstructuredGridAlgorithm::RequestInformation(request,inputVector,outputVector); try { //std::cerr << "########################################## vtkExtractGroup::RequestInformation ##########################################" << std::endl; diff --git a/src/Plugins/MEDReader/IO/vtkExtractGroup.h b/src/Plugins/MEDReader/IO/vtkExtractGroup.h index 451d929a..ea659669 100644 --- a/src/Plugins/MEDReader/IO/vtkExtractGroup.h +++ b/src/Plugins/MEDReader/IO/vtkExtractGroup.h @@ -21,15 +21,15 @@ #ifndef vtkExtractGroup_h__ #define vtkExtractGroup_h__ -#include "vtkDataSetAlgorithm.h" +#include "vtkUnstructuredGridAlgorithm.h" class vtkMutableDirectedGraph; -class VTK_EXPORT vtkExtractGroup: public vtkDataSetAlgorithm +class VTK_EXPORT vtkExtractGroup: public vtkUnstructuredGridAlgorithm { public: static vtkExtractGroup* New(); - vtkTypeMacro(vtkExtractGroup, vtkDataSetAlgorithm) + vtkTypeMacro(vtkExtractGroup, vtkUnstructuredGridAlgorithm) void PrintSelf(ostream& os, vtkIndent indent); virtual int GetNumberOfGroupsFlagsArrays(); const char *GetGroupsFlagsArrayName(int index);