#include "SMESHDS_CommandType.hxx"
#include <list>
+#include <vector>
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