SALOME - SMESH
SMESHDS_Command Class Reference

#include <SMESHDS_Command.hxx>

Collaboration diagram for SMESHDS_Command:
Collaboration graph

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 AddPolygonalFace (const int ElementID, std::vector< int > nodes_ids)
 
void AddPolyhedralVolume (const int ElementID, std::vector< int > nodes_ids, std::vector< int > quantities)
 
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 n4, int n12, int n23, int n34, int n41)
 
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 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 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
 

Detailed Description

Definition at line 35 of file SMESHDS_Command.hxx.

Constructor & Destructor Documentation

◆ SMESHDS_Command()

SMESHDS_Command::SMESHDS_Command ( const SMESHDS_CommandType  aType)

◆ ~SMESHDS_Command()

SMESHDS_Command::~SMESHDS_Command ( )

Member Function Documentation

◆ AddNode()

void SMESHDS_Command::AddNode ( int  NewNodeID,
double  x,
double  y,
double  z 
)

◆ Add0DElement()

void SMESHDS_Command::Add0DElement ( int  New0DElementID,
int  idnode 
)

◆ AddEdge() [1/2]

void SMESHDS_Command::AddEdge ( int  NewEdgeID,
int  idnode1,
int  idnode2 
)

◆ AddFace() [1/4]

void SMESHDS_Command::AddFace ( int  NewFaceID,
int  idnode1,
int  idnode2,
int  idnode3 
)

◆ AddFace() [2/4]

void SMESHDS_Command::AddFace ( int  NewFaceID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4 
)

◆ AddVolume() [1/8]

void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4 
)

◆ AddVolume() [2/8]

void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4,
int  idnode5 
)

◆ AddVolume() [3/8]

void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4,
int  idnode5,
int  idnode6 
)

◆ AddVolume() [4/8]

void SMESHDS_Command::AddVolume ( int  NewVolID,
int  idnode1,
int  idnode2,
int  idnode3,
int  idnode4,
int  idnode5,
int  idnode6,
int  idnode7,
int  idnode8 
)

◆ AddPolygonalFace()

void SMESHDS_Command::AddPolygonalFace ( const int  ElementID,
std::vector< int nodes_ids 
)

◆ AddPolyhedralVolume()

void SMESHDS_Command::AddPolyhedralVolume ( const int  ElementID,
std::vector< int nodes_ids,
std::vector< int quantities 
)

◆ AddEdge() [2/2]

void SMESHDS_Command::AddEdge ( int  NewEdgeID,
int  n1,
int  n2,
int  n12 
)

◆ AddFace() [3/4]

void SMESHDS_Command::AddFace ( int  NewFaceID,
int  n1,
int  n2,
int  n3,
int  n12,
int  n23,
int  n31 
)

◆ AddFace() [4/4]

void SMESHDS_Command::AddFace ( int  NewFaceID,
int  n1,
int  n2,
int  n3,
int  n4,
int  n12,
int  n23,
int  n34,
int  n41 
)

◆ AddVolume() [5/8]

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 
)

◆ AddVolume() [6/8]

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 
)

◆ AddVolume() [7/8]

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 
)

◆ AddVolume() [8/8]

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 
)

◆ MoveNode()

void SMESHDS_Command::MoveNode ( int  NewNodeID,
double  x,
double  y,
double  z 
)

◆ RemoveNode()

void SMESHDS_Command::RemoveNode ( int  NodeID)

◆ RemoveElement()

void SMESHDS_Command::RemoveElement ( int  ElementID)

◆ ChangeElementNodes()

void SMESHDS_Command::ChangeElementNodes ( int  ElementID,
int  nodes[],
int  nbnodes 
)

◆ ChangePolyhedronNodes()

void SMESHDS_Command::ChangePolyhedronNodes ( const int  ElementID,
std::vector< int nodes_ids,
std::vector< int quantities 
)

◆ Renumber()

void SMESHDS_Command::Renumber ( const bool  isNodes,
const int  startID,
const int  deltaID 
)

◆ GetType()

SMESHDS_CommandType SMESHDS_Command::GetType ( )

◆ GetNumber()

int SMESHDS_Command::GetNumber ( )

◆ GetIndexes()

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

◆ GetCoords()

const std::list<double>& SMESHDS_Command::GetCoords ( )

Field Documentation

◆ myType

SMESHDS_CommandType SMESHDS_Command::myType
private

Definition at line 95 of file SMESHDS_Command.hxx.

◆ myNumber

int SMESHDS_Command::myNumber
private

Definition at line 96 of file SMESHDS_Command.hxx.

◆ myReals

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

Definition at line 97 of file SMESHDS_Command.hxx.

◆ myIntegers

std::list<int> SMESHDS_Command::myIntegers
private

Definition at line 98 of file SMESHDS_Command.hxx.