Salome HOME
PAL10196. Rename GetGroupNames() -> GetGroupNamesAndTypes(), add checkFamilyId()
[modules/smesh.git] / src / SMESHDS / SMESHDS_Command.hxx
index 5de4a710c9aabed0ee4b8e3016ab11b55f822f1f..3ecd762f30cbfd8e0d8c8155a249bdb671998c52 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "SMESHDS_CommandType.hxx"
 #include <list>
-using namespace std;
+#include <vector>
 
 class SMESHDS_Command
 {
@@ -49,18 +49,28 @@ class SMESHDS_Command
                int idnode4, int idnode5, int idnode6);
        void AddVolume(int NewVolID, int idnode1, int idnode2, int idnode3,
                int idnode4, int idnode5, int idnode6, int idnode7, int idnode8);
+        void AddPolygonalFace (const int        ElementID,
+                               std::vector<int> nodes_ids);
+        void AddPolyhedralVolume (const int        ElementID,
+                                  std::vector<int> nodes_ids,
+                                  std::vector<int> quantities);
        void MoveNode(int NewNodeID, double x, double y, double z);
        void RemoveNode(int NodeID);
        void RemoveElement(int ElementID);
+       void ChangeElementNodes(int ElementID, int nodes[], int nbnodes);
+       void ChangePolyhedronNodes(const int ElementID,
+                                   std::vector<int> nodes_ids,
+                                   std::vector<int> quantities);
+       void Renumber (const bool isNodes, const int startID, const int deltaID);
        SMESHDS_CommandType GetType();
        int GetNumber();
-       const list<int> & GetIndexes();
-       const list<double> & GetCoords();
+       const std::list<int> & GetIndexes();
+       const std::list<double> & GetCoords();
         ~SMESHDS_Command();
   private:
        SMESHDS_CommandType myType;
        int myNumber;
-       list<double> myReals;
-       list<int> myIntegers;
+       std::list<double> myReals;
+       std::list<int> myIntegers;
 };
 #endif