MED::TNodeInfo Struct Referenceabstract

Define a base class which represents MED Nodes entity. More...

#include <MED_Structures.hxx>

Public Member Functions

virtual std::string GetCoordName (TInt theId) const =0
 Get name of the coordinate dimension by its order number. More...
 
TCoordSlice GetCoordSlice (TInt theId)
 Gives coordinates for mesh node by its number. More...
 
TCCoordSlice GetCoordSlice (TInt theId) const
 Gives coordinates for mesh node by its number (const version) More...
 
virtual std::string GetCoordUnit (TInt theId) const =0
 Get name of unit for the coordinate dimension by its order number. More...
 
ERepere GetSystem () const
 Get which coordinate system is used for the node describing. More...
 
virtual void SetCoordName (TInt theId, const std::string &theValue)=0
 Set name of the coordinate dimension by its order number. More...
 
virtual void SetCoordUnit (TInt theId, const std::string &theValue)=0
 Set name of unit for the coordinate dimension by its order number. More...
 
void SetSystem (ERepere theSystem)
 Set coordinate system to be used for the node describing. More...
 
- Public Member Functions inherited from MED::TElemInfo
virtual std::string GetElemName (TInt theId) const =0
 Get name of the mesh element by its order number. More...
 
TInt GetElemNum (TInt theId) const
 Get a reference number of the mesh element by its order number. More...
 
TInt GetFamNum (TInt theId) const
 Get number of a MED FAMILY by order number of the mesh element. More...
 
const PMeshInfoGetMeshInfo () const
 Get a reference to corresponding MED Mesh. More...
 
TInt GetNbElem () const
 
EBooleen IsElemNames () const
 Let know if the mesh elements have names. More...
 
EBooleen IsElemNum () const
 Let know if the mesh elements are indexed. More...
 
EBooleen IsFamNum () const
 Let know if the mesh elements family are indexed. More...
 
virtual void SetElemName (TInt theId, const std::string &theValue)=0
 Set name of the mesh element by its order number. More...
 
void SetElemNum (TInt theId, TInt theVal)
 Set a reference number for the mesh element by its order number. More...
 
void SetFamNum (TInt theId, TInt theVal)
 Set number of a MED FAMILY for the mesh element with the order number. More...
 
- Public Member Functions inherited from MED::TBase
virtual ~TBase ()
 
- Public Member Functions inherited from MED::TModeSwitchInfo
EModeSwitch GetModeSwitch () const
 
 TModeSwitchInfo ()
 To construct instance of the class by default. More...
 
 TModeSwitchInfo (EModeSwitch theModeSwitch)
 To construct instance of the class. More...
 

Public Attributes

PNodeCoord myCoord
 Contains all nodal coordinates. More...
 
TString myCoordNames
 Contains names for the coordinate dimensions. More...
 
TString myCoordUnits
 Contains units for the coordinate dimensions. More...
 
ERepere mySystem
 Defines, which coordinate system is used. More...
 
- Public Attributes inherited from MED::TElemInfo
PString myElemNames
 Contains sequence of the names for the mesh elements. More...
 
PElemNum myElemNum
 Contains sequence of the indexes for the mesh elements. More...
 
PElemNum myFamNum
 Get number of mesh elements. More...
 
EBooleen myIsElemNames
 Defines if the mesh elements are named. More...
 
EBooleen myIsElemNum
 Defines if the mesh elements are indexed. More...
 
EBooleen myIsFamNum
 Defines if the mesh elements family are indexed. More...
 
PMeshInfo myMeshInfo
 A reference to corresponding MED Mesh. More...
 
TInt myNbElem
 
- Public Attributes inherited from MED::TModeSwitchInfo
EModeSwitch myModeSwitch
 Keeps the. More...
 

Detailed Description

Define a base class which represents MED Nodes entity.

Member Function Documentation

◆ GetCoordName()

virtual std::string MED::TNodeInfo::GetCoordName ( TInt  theId) const
pure virtual

Get name of the coordinate dimension by its order number.

Implemented in MED::TTNodeInfo< eVersion >.

◆ GetCoordSlice() [1/2]

TCoordSlice TNodeInfo::GetCoordSlice ( TInt  theId)

Gives coordinates for mesh node by its number.

References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), myCoord, and MED::TElemInfo::myMeshInfo.

◆ GetCoordSlice() [2/2]

TCCoordSlice TNodeInfo::GetCoordSlice ( TInt  theId) const

Gives coordinates for mesh node by its number (const version)

References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), myCoord, and MED::TElemInfo::myMeshInfo.

Referenced by MED::TShapeFun::Eval(), and MED::GetBaryCenter().

◆ GetCoordUnit()

virtual std::string MED::TNodeInfo::GetCoordUnit ( TInt  theId) const
pure virtual

Get name of unit for the coordinate dimension by its order number.

Implemented in MED::TTNodeInfo< eVersion >.

◆ GetSystem()

ERepere MED::TNodeInfo::GetSystem ( ) const

Get which coordinate system is used for the node describing.

◆ SetCoordName()

virtual void MED::TNodeInfo::SetCoordName ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set name of the coordinate dimension by its order number.

Implemented in MED::TTNodeInfo< eVersion >.

◆ SetCoordUnit()

virtual void MED::TNodeInfo::SetCoordUnit ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set name of unit for the coordinate dimension by its order number.

Implemented in MED::TTNodeInfo< eVersion >.

◆ SetSystem()

void MED::TNodeInfo::SetSystem ( ERepere  theSystem)

Set coordinate system to be used for the node describing.

Member Data Documentation

◆ myCoord

◆ myCoordNames

◆ myCoordUnits

◆ mySystem

ERepere MED::TNodeInfo::mySystem

The documentation for this struct was generated from the following files: