Salome HOME
Avoid deep copy by creating as many MEDReader as needed
[modules/paravis.git] / src / Plugins / MEDReader / plugin / MEDReaderIO / vtkMEDReader.h
index 3d76bee1a90b148c03b2cbf8f40409c3e62f162c..03b1cb479f12f3fc8ca3d9eb6499c6b7ef25c24e 100644 (file)
@@ -69,9 +69,6 @@ class VTK_EXPORT vtkMEDReader : public vtkMultiBlockDataSetAlgorithm
   // ReloadInternals will delete the internal reader and recreate it
   virtual void ReloadInternals();
 
-  virtual void GenerateVectors(int);
-  virtual void ChangeMode(int);
-  virtual void GhostCellGeneratorCallForPara(int);
   static const char *GetSeparator();
 
   // Description
@@ -82,9 +79,29 @@ class VTK_EXPORT vtkMEDReader : public vtkMultiBlockDataSetAlgorithm
   // Description
   // Control if MPI should be used for distribution when using a distributed server
   // Only has an effect if MEDREADER_USE_MPI is defined.
+  // Default is true
   vtkSetMacro(DistributeWithMPI, bool);
   vtkGetMacro(DistributeWithMPI, bool);
 
+  // Description
+  // Control if vectors should be generated
+  // Default is false
+  void GenerateVectors(int);
+  vtkGetMacro(GenerateVect, bool);
+
+  // Description
+  // Control to set is std or mode should be used
+  // Default is false
+  void ChangeMode(int);
+  vtkGetMacro(IsStdOrMode, bool);
+
+  // Description
+  // Control if a Ghost Cell Generator should be used
+  // Default is true
+  void GhostCellGeneratorCallForPara(int);
+  vtkGetMacro(GCGCP, bool);
+
+
  protected:
   vtkMEDReader();
   virtual ~vtkMEDReader();