X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHDS%2FSMESHDS_Command.hxx;h=3ecd762f30cbfd8e0d8c8155a249bdb671998c52;hb=87fd8ca50b1fe004fc046c66c5b5df6199861981;hp=5de4a710c9aabed0ee4b8e3016ab11b55f822f1f;hpb=7b70ad87bf8f5c46b2751f94cd196932b9ae7122;p=modules%2Fsmesh.git diff --git a/src/SMESHDS/SMESHDS_Command.hxx b/src/SMESHDS/SMESHDS_Command.hxx index 5de4a710c..3ecd762f3 100644 --- a/src/SMESHDS/SMESHDS_Command.hxx +++ b/src/SMESHDS/SMESHDS_Command.hxx @@ -29,7 +29,7 @@ #include "SMESHDS_CommandType.hxx" #include -using namespace std; +#include 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 nodes_ids); + void AddPolyhedralVolume (const int ElementID, + std::vector nodes_ids, + std::vector 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 nodes_ids, + std::vector quantities); + void Renumber (const bool isNodes, const int startID, const int deltaID); SMESHDS_CommandType GetType(); int GetNumber(); - const list & GetIndexes(); - const list & GetCoords(); + const std::list & GetIndexes(); + const std::list & GetCoords(); ~SMESHDS_Command(); private: SMESHDS_CommandType myType; int myNumber; - list myReals; - list myIntegers; + std::list myReals; + std::list myIntegers; }; #endif