27 #ifndef _SMESHDS_Command_HeaderFile
28 #define _SMESHDS_Command_HeaderFile
41 void AddNode(
int NewNodeID,
double x,
double y,
double z);
42 void Add0DElement(
int New0DElementID,
int idnode);
43 void AddEdge(
int NewEdgeID,
int idnode1,
int idnode2);
44 void AddFace(
int NewFaceID,
int idnode1,
int idnode2,
int idnode3);
45 void AddFace(
int NewFaceID,
int idnode1,
int idnode2,
int idnode3,
47 void AddVolume(
int NewVolID,
int idnode1,
int idnode2,
int idnode3,
49 void AddVolume(
int NewVolID,
int idnode1,
int idnode2,
int idnode3,
50 int idnode4,
int idnode5);
51 void AddVolume(
int NewVolID,
int idnode1,
int idnode2,
int idnode3,
52 int idnode4,
int idnode5,
int idnode6);
53 void AddVolume(
int NewVolID,
int idnode1,
int idnode2,
int idnode3,
54 int idnode4,
int idnode5,
int idnode6,
int idnode7,
int idnode8);
55 void AddVolume(
int NewVolID,
int idnode1,
int idnode2,
int idnode3,
56 int idnode4,
int idnode5,
int idnode6,
int idnode7,
int idnode8,
57 int idnode9,
int idnode10,
int idnode11,
int idnode12);
58 void AddPolygonalFace (
const int ElementID,
59 const std::vector<int>& nodes_ids);
60 void AddQuadPolygonalFace (
const int ElementID,
61 const std::vector<int>& nodes_ids);
62 void AddPolyhedralVolume (
const int ElementID,
63 const std::vector<int>& nodes_ids,
64 const std::vector<int>& quantities);
65 void AddBall(
int NewBallID,
int node,
double diameter);
67 void AddEdge(
int NewEdgeID,
int n1,
int n2,
int n12);
68 void AddFace(
int NewFaceID,
int n1,
int n2,
int n3,
69 int n12,
int n23,
int n31);
70 void AddFace(
int NewFaceID,
int n1,
int n2,
int n3,
71 int n12,
int n23,
int n31,
int nCenter);
72 void AddFace(
int NewFaceID,
int n1,
int n2,
int n3,
int n4,
73 int n12,
int n23,
int n34,
int n41);
74 void AddFace(
int NewFaceID,
int n1,
int n2,
int n3,
int n4,
75 int n12,
int n23,
int n34,
int n41,
int nCenter);
76 void AddVolume(
int NewVolID,
int n1,
int n2,
int n3,
int n4,
77 int n12,
int n23,
int n31,
int n14,
int n24,
int n34);
78 void AddVolume(
int NewVolID,
int n1,
int n2,
int n3,
int n4,
int n5,
79 int n12,
int n23,
int n34,
int n41,
80 int n15,
int n25,
int n35,
int n45);
81 void AddVolume(
int NewVolID,
int n1,
int n2,
int n3,
82 int n4,
int n5,
int n6,
83 int n12,
int n23,
int n31,
84 int n45,
int n56,
int n64,
85 int n14,
int n25,
int n36);
86 void AddVolume(
int NewVolID,
int n1,
int n2,
int n3,
int n4,
87 int n5,
int n6,
int n7,
int n8,
88 int n12,
int n23,
int n34,
int n41,
89 int n56,
int n67,
int n78,
int n85,
90 int n15,
int n26,
int n37,
int n48);
91 void AddVolume(
int NewVolID,
int n1,
int n2,
int n3,
int n4,
92 int n5,
int n6,
int n7,
int n8,
93 int n12,
int n23,
int n34,
int n41,
94 int n56,
int n67,
int n78,
int n85,
95 int n15,
int n26,
int n37,
int n48,
96 int n1234,
int n1256,
int n2367,
int n3478,
97 int n1458,
int n5678,
int nCenter);
99 void MoveNode(
int NewNodeID,
double x,
double y,
double z);
100 void RemoveNode(
int NodeID);
101 void RemoveElement(
int ElementID);
102 void ChangeElementNodes(
int ElementID,
int nodes[],
int nbnodes);
103 void ChangePolyhedronNodes(
const int ElementID,
104 const std::vector<int>& nodes_ids,
105 const std::vector<int>& quantities);
106 void Renumber (
const bool isNodes,
const int startID,
const int deltaID);
109 const std::list<int> & GetIndexes();
110 const std::list<double> & GetCoords();