Version: 8.3.0
SMESHDS_Command Class Reference

#include <SMESHDS_Command.hxx>

Public Member Functions

 SMESHDS_Command (const SMESHDS_CommandType aType)
 
void AddNode (int NewNodeID, double x, double y, double z)
 
void Add0DElement (int New0DElementID, int idnode)
 
void AddEdge (int NewEdgeID, int idnode1, int idnode2)
 
void AddFace (int NewFaceID, int idnode1, int idnode2, int idnode3)
 
void AddFace (int NewFaceID, int idnode1, int idnode2, int idnode3, int idnode4)
 
void AddVolume (int NewVolID, int idnode1, int idnode2, int idnode3, int idnode4)
 
void AddVolume (int NewVolID, int idnode1, int idnode2, int idnode3, int idnode4, int idnode5)
 
void AddVolume (int NewVolID, int idnode1, int idnode2, int idnode3, 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 AddVolume (int NewVolID, int idnode1, int idnode2, int idnode3, int idnode4, int idnode5, int idnode6, int idnode7, int idnode8, int idnode9, int idnode10, int idnode11, int idnode12)
 
void AddPolygonalFace (const int ElementID, const std::vector< int > &nodes_ids)
 
void AddQuadPolygonalFace (const int ElementID, const std::vector< int > &nodes_ids)
 
void AddPolyhedralVolume (const int ElementID, const std::vector< int > &nodes_ids, const std::vector< int > &quantities)
 
void AddBall (int NewBallID, int node, double diameter)
 Record adding a Ball. More...
 
void AddEdge (int NewEdgeID, int n1, int n2, int n12)
 
void AddFace (int NewFaceID, int n1, int n2, int n3, int n12, int n23, int n31)
 
void AddFace (int NewFaceID, int n1, int n2, int n3, int n12, int n23, int n31, int nCenter)
 
void AddFace (int NewFaceID, int n1, int n2, int n3, int n4, int n12, int n23, int n34, int n41)
 
void AddFace (int NewFaceID, int n1, int n2, int n3, int n4, int n12, int n23, int n34, int n41, int nCenter)
 
void AddVolume (int NewVolID, int n1, int n2, int n3, int n4, int n12, int n23, int n31, int n14, int n24, int n34)
 
void AddVolume (int NewVolID, int n1, int n2, int n3, int n4, int n5, int n12, int n23, int n34, int n41, int n15, int n25, int n35, int n45)
 
void AddVolume (int NewVolID, int n1, int n2, int n3, int n4, int n5, int n6, int n12, int n23, int n31, int n45, int n56, int n64, int n14, int n25, int n36)
 
void AddVolume (int NewVolID, int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n12, int n23, int n34, int n41, int n56, int n67, int n78, int n85, int n15, int n26, int n37, int n48)
 
void AddVolume (int NewVolID, int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n12, int n23, int n34, int n41, int n56, int n67, int n78, int n85, int n15, int n26, int n37, int n48, int n1234, int n1256, int n2367, int n3478, int n1458, int n5678, int nCenter)
 
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, const std::vector< int > &nodes_ids, const std::vector< int > &quantities)
 
void Renumber (const bool isNodes, const int startID, const int deltaID)
 
SMESHDS_CommandType GetType ()
 
int GetNumber ()
 
const std::list< int > & GetIndexes ()
 
const std::list< double > & GetCoords ()
 
 ~SMESHDS_Command ()
 

Private Attributes

SMESHDS_CommandType myType
 
int myNumber
 
std::list< double > myReals
 
std::list< intmyIntegers
 

Constructor & Destructor Documentation

SMESHDS_Command::SMESHDS_Command ( const SMESHDS_CommandType  aType)
SMESHDS_Command::~SMESHDS_Command ( )

Member Function Documentation

void SMESHDS_Command::Add0DElement ( int  New0DElementID,
int  idnode 
)
void SMESHDS_Command::AddBall ( int  NewBallID,
int  node,
double  diameter 
)

Record adding a Ball.

References MESSAGE, myIntegers, myNumber, myReals, myType, and SMESHDS_AddBall.

Referenced by SMESHDS_Script::AddBall().

void SMESHDS_Command::AddEdge ( int  NewEdgeID,
int  idnode1,
int  idnode2 
)
void SMESHDS_Command::AddEdge ( int  NewEdgeID,
int  n1,
int  n2,
int  n12 
)
void SMESHDS_Command::AddFace ( int  NewFaceID,
int  idnode1,
int  idnode2,
int  idnode3 
)
void SMESHDS_Command::AddFace ( int  NewFaceID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4 
)
void SMESHDS_Command::AddFace ( int  NewFaceID,
int  n1,
int  n2,
int  n3,
int  n12,
int  n23,
int  n31 
)
void SMESHDS_Command::AddFace ( int  NewFaceID,
int  n1,
int  n2,
int  n3,
int  n12,
int  n23,
int  n31,
int  nCenter 
)
void SMESHDS_Command::AddFace ( int  NewFaceID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n12,
int  n23,
int  n34,
int  n41 
)
void SMESHDS_Command::AddFace ( int  NewFaceID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n12,
int  n23,
int  n34,
int  n41,
int  nCenter 
)
void SMESHDS_Command::AddNode ( int  NewNodeID,
double  x,
double  y,
double  z 
)
void SMESHDS_Command::AddPolygonalFace ( const int  ElementID,
const std::vector< int > &  nodes_ids 
)
void SMESHDS_Command::AddPolyhedralVolume ( const int  ElementID,
const std::vector< int > &  nodes_ids,
const std::vector< int > &  quantities 
)
void SMESHDS_Command::AddQuadPolygonalFace ( const int  ElementID,
const std::vector< int > &  nodes_ids 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4,
int  idnode5 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4,
int  idnode5,
int  idnode6 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4,
int  idnode5,
int  idnode6,
int  idnode7,
int  idnode8 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4,
int  idnode5,
int  idnode6,
int  idnode7,
int  idnode8,
int  idnode9,
int  idnode10,
int  idnode11,
int  idnode12 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n12,
int  n23,
int  n31,
int  n14,
int  n24,
int  n34 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n5,
int  n12,
int  n23,
int  n34,
int  n41,
int  n15,
int  n25,
int  n35,
int  n45 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n5,
int  n6,
int  n12,
int  n23,
int  n31,
int  n45,
int  n56,
int  n64,
int  n14,
int  n25,
int  n36 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n5,
int  n6,
int  n7,
int  n8,
int  n12,
int  n23,
int  n34,
int  n41,
int  n56,
int  n67,
int  n78,
int  n85,
int  n15,
int  n26,
int  n37,
int  n48 
)
void SMESHDS_Command::AddVolume ( int  NewVolID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n5,
int  n6,
int  n7,
int  n8,
int  n12,
int  n23,
int  n34,
int  n41,
int  n56,
int  n67,
int  n78,
int  n85,
int  n15,
int  n26,
int  n37,
int  n48,
int  n1234,
int  n1256,
int  n2367,
int  n3478,
int  n1458,
int  n5678,
int  nCenter 
)
void SMESHDS_Command::ChangeElementNodes ( int  ElementID,
int  nodes[],
int  nbnodes 
)
void SMESHDS_Command::ChangePolyhedronNodes ( const int  ElementID,
const std::vector< int > &  nodes_ids,
const std::vector< int > &  quantities 
)
const list< double > & SMESHDS_Command::GetCoords ( )

References myReals.

Referenced by SMESH_Mesh_i::GetLog().

const list< int > & SMESHDS_Command::GetIndexes ( )

References myIntegers.

Referenced by SMESH_Mesh_i::GetLog().

int SMESHDS_Command::GetNumber ( )

References myNumber.

Referenced by SMESH_Mesh_i::GetLog().

SMESHDS_CommandType SMESHDS_Command::GetType ( )
void SMESHDS_Command::MoveNode ( int  NewNodeID,
double  x,
double  y,
double  z 
)
void SMESHDS_Command::RemoveElement ( int  ElementID)
void SMESHDS_Command::RemoveNode ( int  NodeID)
void SMESHDS_Command::Renumber ( const bool  isNodes,
const int  startID,
const int  deltaID 
)

Field Documentation

std::list<double> SMESHDS_Command::myReals
private

Referenced by AddBall(), AddNode(), GetCoords(), and MoveNode().