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