X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHEXABLOCKGUI%2FHEXABLOCKGUI_DocumentModel.hxx;h=4c43f4a17a7c5dcb2c12dfdcd692798418ce28ac;hb=b807e66955ae476b30f59bc29f1fe6c813837063;hp=5f1cbc02051a41ebda88ac5950fa24b8460f3669;hpb=79915240d6a80781f71c39224a469ed6e38b81cb;p=modules%2Fhexablock.git diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentModel.hxx b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentModel.hxx old mode 100755 new mode 100644 index 5f1cbc0..4c43f4a --- a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentModel.hxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentModel.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2009-2016 CEA/DEN, EDF R&D +// Copyright (C) 2009-2022 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 @@ -207,7 +207,7 @@ namespace HEXABLOCK QModelIndex makeCartesianUni(const QModelIndex& icenter, const QModelIndex& ibase, const QModelIndex& ivec, const QModelIndex& iaxis, double lx, double ly, double lz, int nx, int ny, int nz); QModelIndex makeCartesian(const QModelIndex& icenter, const QModelIndex& ibase, const QModelIndex& ivec, - const QModelIndex& iaxis, vector& radius, vector& angles, vector& heights); + const QModelIndex& iaxis, std::vector& radius, std::vector& angles, std::vector& heights); // ====== SPHERE @@ -221,7 +221,7 @@ namespace HEXABLOCK QModelIndex makeSphere (QModelIndex& icenter, QModelIndex& ivec_x, QModelIndex& ivec_z, - vector& tray, vector& tang, vector& thaut); + std::vector& tray, std::vector& tang, std::vector& thaut); // ====== SPHERICAL @@ -234,7 +234,7 @@ namespace HEXABLOCK QModelIndex makeSpherical (QModelIndex& icenter, QModelIndex& ivec_x, QModelIndex& ivec_z, - vector& rayon, + std::vector& rayon, int crit); // =========== RIND @@ -248,7 +248,7 @@ namespace HEXABLOCK QModelIndex makeRind (QModelIndex& icenter, QModelIndex& ivec_x, QModelIndex& ivec_z, - vector& tray, vector& tang, vector& thaut); + std::vector& tray, std::vector& tang, std::vector& thaut); // ======== Cylinder QModelIndex makeCylinderTop(int nr, int na, int nh); @@ -258,7 +258,7 @@ namespace HEXABLOCK int nr, int na, int nh); QModelIndex makeCylinder (QModelIndex& iorig, QModelIndex& ivecx, QModelIndex& ivecz, - vector& tray, vector& tang, vector& thaut); + std::vector& tray, std::vector& tang, std::vector& thaut); // ======== Cylinders QModelIndex makeCylinders (QModelIndex& iorig1, QModelIndex& ivecz1, double r1, double h1, @@ -272,7 +272,7 @@ namespace HEXABLOCK int nr, int na, int nh); QModelIndex makePipe (QModelIndex& iorig, QModelIndex& ivecx, QModelIndex& ivecz, - vector& tray, vector& tang, vector& thaut); + std::vector& tray, std::vector& tang, std::vector& thaut); // ======== Pipes QModelIndex makePipes (QModelIndex& iorig1, QModelIndex& ivecz1, double rint1, double rex1, double h1, @@ -283,39 +283,39 @@ namespace HEXABLOCK QModelIndex& iv3, QModelIndex& iv4, int nb); QModelIndex joinQuad (QModelIndex& istart, QModelIndex& idest, QModelIndex& iva1, QModelIndex& ivb1, - QModelIndex& iva2, QModelIndex& ivb2, vector& tlen); + QModelIndex& iva2, QModelIndex& ivb2, std::vector& tlen); QModelIndex joinQuadsUni (QModelIndexList& istarts, QModelIndex& idest, QModelIndex& iv1, QModelIndex& iv2, QModelIndex& iv3, QModelIndex& iv4, int nb); QModelIndex joinQuads (QModelIndexList& istarts, QModelIndex& idest, QModelIndex& iva1, QModelIndex& ivb1, - QModelIndex& iva2, QModelIndex& ivb2, vector& tlen); + QModelIndex& iva2, QModelIndex& ivb2, std::vector& tlen); // ======== Quad Revolution QModelIndex revolutionQuadUni(QModelIndex& istart, QModelIndex& icenter, QModelIndex& iaxis, double angle, int nbre); QModelIndex revolutionQuad(QModelIndex& istart, QModelIndex& icenter, QModelIndex& iaxis, - vector& angles); + std::vector& angles); QModelIndex revolutionQuadsUni(QModelIndexList& istarts, QModelIndex& icenter, QModelIndex& iaxis, double angle, int nbre); QModelIndex revolutionQuads(QModelIndexList& istarts, QModelIndex& icenter, QModelIndex& iaxis, - vector& angles); + std::vector& angles); // ==== PrismQuad or ExtrudeQuad QModelIndex extrudeQuadTop (QModelIndex& istart, int nbre); QModelIndex extrudeQuadUni (QModelIndex& istart, QModelIndex& dv, double len, int nbre); - QModelIndex extrudeQuad (QModelIndex& istart, QModelIndex& dv, vector& tlen); + QModelIndex extrudeQuad (QModelIndex& istart, QModelIndex& dv, std::vector& tlen); QModelIndex extrudeQuadsTop (QModelIndexList& istarts, int nbre); QModelIndex extrudeQuadsUni (QModelIndexList& istarts, QModelIndex& axis, double len, int nbre); - QModelIndex extrudeQuads (QModelIndexList& istarts, QModelIndex& iaxis, vector& tlen); + QModelIndex extrudeQuads (QModelIndexList& istarts, QModelIndex& iaxis, std::vector& tlen); // ==== Cut Edge QModelIndex cutUni (QModelIndex& iEdge, int nbre); - QModelIndex cut (QModelIndex& iEdge, vector& tlen); + QModelIndex cut (QModelIndex& iEdge, std::vector& tlen); // ============================== END NEW ================================