#include <stdexcept>
#include "MED_SharedPtr.hxx"
+#include "MED_Vector.hxx"
class vtkUnstructuredGrid;
-namespace VISU{
-
+namespace VISU
+{
using MED::SharedPtr;
+ using MED::TVector;
//---------------------------------------------------------------
enum TEntity {NODE_ENTITY, EDGE_ENTITY, FACE_ENTITY, CELL_ENTITY};
struct TValForTime;
typedef SharedPtr<TValForTime> PValForTime;
- typedef std::vector<std::string> TNames;
+ typedef TVector<std::string> TNames;
//---------------------------------------------------------------
//---------------------------------------------------------------
- typedef std::vector<TCoord> TCoordArray;
+ typedef TVector<TCoord> TCoordArray;
typedef TSlice<TCoordArray> TCoordSlice;
typedef TCSlice<TCoordArray> TCCoordSlice;
//---------------------------------------------------------------
class TNamedPointCoords: public virtual TPointCoords
{
- typedef std::vector<std::string> TPointsDim;
+ typedef TVector<std::string> TPointsDim;
TPointsDim myPointsDim;
public:
//---------------------------------------------------------------
- typedef std::vector<vtkIdType> TSubMeshID;
+ typedef TVector<vtkIdType> TSubMeshID;
typedef std::map<vtkIdType,TSubMeshID> TGeom2SubMeshID;
typedef enum {eRemoveAll, eAddAll, eAddPart, eNone} ESubMeshStatus;
//---------------------------------------------------------------
- typedef std::vector<vtkIdType> TConnect;
- typedef std::vector<TConnect> TCell2Connect;
+ typedef TVector<vtkIdType> TConnect;
+ typedef TVector<TConnect> TCell2Connect;
typedef std::map<vtkIdType,TCell2Connect> TGeom2Cell2Connect;
struct TMeshOnEntityImpl: virtual TMeshOnEntity, virtual TSource
//---------------------------------------------------------------
- typedef std::vector<float> TValue;
+ typedef TVector<float> TValue;
typedef TSlice<TValue> TValueSlice;
typedef TCSlice<TValue> TCValueSlice;
- typedef std::vector<TCValueSlice> TCValueSliceArr;
- typedef std::vector<TValueSlice> TValueSliceArr;
+ typedef TVector<TCValueSlice> TCValueSliceArr;
+ typedef TVector<TValueSlice> TValueSliceArr;
struct TMeshValue
{