Salome HOME
Minimal CORBA mode: adapted PARAVIS' Python API to work in this mode.
[modules/paravis.git] / src / Plugins / ParaMEDCorba / vtkParaMEDCorbaSource.h
index d4646c6b830857b05a366b7ca06ad6f08f205148..c01c63e9b638a759aa76ed9c4f4e8a3c628a1fc8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2013  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
@@ -23,7 +23,7 @@
 
 #include "ParaMEDMEM2VTK_defines.hxx"
 #include "vtkUnstructuredGridAlgorithm.h"
-#include <vtkstd/vector>
+#include <vtksys/stl/vector>
 
 class vtkDoubleArray;
 class vtkUnstructuredGrid;
@@ -36,7 +36,7 @@ namespace ParaMEDMEM2VTK
 class vtkParaMEDCorbaSource : public vtkAlgorithm //
 {
 public:
-  vtkTypeRevisionMacro(vtkParaMEDCorbaSource, vtkAlgorithm);
+  vtkTypeMacro(vtkParaMEDCorbaSource, vtkAlgorithm)
   ParaMEDMEM2VTK_EXPORT static vtkParaMEDCorbaSource* New();
   virtual void PrintSelf( ostream& os, vtkIndent indent );
   const char *GetIORCorba();
@@ -60,15 +60,15 @@ protected:
   int EndPiece;
   int BufferingPolicy;
   vtkUnstructuredGrid *MyDataSet;
-  vtkstd::vector<char> IOR;
+  vtksys_stl::vector<char> IOR;
   ParaMEDMEM2VTK::MEDCouplingMultiFieldsFetcher *mfieldsFetcher;
   //not clean but to avoid to include CORBA.h in this *.h
   static void *Orb;
   //ETX
- private:
+private:
   /*void traduceMedMeshToUnstructuredDataset(vtkUnstructuredGrid *ret, int nbOfCells, int nbOfNodes, 
-                                          int nbOfTypes, const int *types, const int *nbOfEltsPerTypes, const int *nodalConnectivity,
-                                          const double *coords, int spaceDim);
+            int nbOfTypes, const int *types, const int *nbOfEltsPerTypes, const int *nodalConnectivity,
+            const double *coords, int spaceDim);
   vtkDoubleArray *buildDataArrayFromMedCoords(const double *coords, int nbOfNodes, int spaceDim);
   void reorganizeCellConnectivity(int vtkType, int nbOfNodes, const int *medConn, int *vtkConn);
   int transformMedGeomEltType2VtkType(int typeMed, int *nbOfNodesPerCell);*/