Salome HOME
Merge remote branch 'origin/V7_dev'
[modules/paravis.git] / src / Plugins / MEDReader / IO / vtkExtractGroup.h
index ea65966930379fcdb828423301988c6b96d081a7..28f454d6fed39240302906ee5cad5ca20dd9e7a4 100644 (file)
@@ -1,4 +1,4 @@
-// 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
 #ifndef vtkExtractGroup_h__
 #define vtkExtractGroup_h__
 
-#include "vtkUnstructuredGridAlgorithm.h"
+#include "vtkMultiBlockDataSetAlgorithm.h"
 
 class vtkMutableDirectedGraph;
 
-class VTK_EXPORT vtkExtractGroup: public vtkUnstructuredGridAlgorithm
+class VTK_EXPORT vtkExtractGroup: public vtkMultiBlockDataSetAlgorithm
 {
 public:
   static vtkExtractGroup* New();
-  vtkTypeMacro(vtkExtractGroup, vtkUnstructuredGridAlgorithm)
+  vtkTypeMacro(vtkExtractGroup, vtkMultiBlockDataSetAlgorithm)
   void PrintSelf(ostream& os, vtkIndent indent);
   virtual int GetNumberOfGroupsFlagsArrays();
   const char *GetGroupsFlagsArrayName(int index);
@@ -40,6 +40,8 @@ public:
   // Every time the SIL is updated a this will return a different value.
   virtual int GetSILUpdateStamp();
   const char *GetMeshName();
+  static const char* GetGrpStart();
+  static const char* GetFamStart();
 protected:
   vtkExtractGroup();
   ~vtkExtractGroup();
@@ -49,6 +51,7 @@ protected:
 
   int RequestData(vtkInformation *request, vtkInformationVector **inputVector,
       vtkInformationVector *outputVector);
+
   // Description:
   // This SIL stores the structure of the mesh/groups/cell types
   // that can be selected.