SALOME - SMESH
SMESH::Controls::NumericalFunctor Class Referenceabstract

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::NumericalFunctor:
Inheritance graph
Collaboration diagram for SMESH::Controls::NumericalFunctor:
Collaboration graph

Public Member Functions

 NumericalFunctor ()
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
virtual double GetValue (long theElementId)
 
virtual double GetValue (const TSequenceOfXYZ &thePoints)
 
virtual SMDSAbs_ElementType GetType () const =0
 
virtual double GetBadRate (double Value, int nbNodes) const =0
 
long GetPrecision () const
 
void SetPrecision (const long thePrecision)
 
bool GetPoints (const int theId, TSequenceOfXYZ &theRes) const
 

Static Public Member Functions

static bool GetPoints (const SMDS_MeshElement *theElem, TSequenceOfXYZ &theRes)
 

Protected Attributes

const SMDS_MeshmyMesh
 
const SMDS_MeshElementmyCurrElement
 
long myPrecision
 

Detailed Description

Definition at line 123 of file SMESH_ControlsDef.hxx.

Constructor & Destructor Documentation

◆ NumericalFunctor()

SMESH::Controls::NumericalFunctor::NumericalFunctor ( )

Member Function Documentation

◆ SetMesh()

virtual void SMESH::Controls::NumericalFunctor::SetMesh ( const SMDS_Mesh theMesh)
virtual

◆ GetValue() [1/2]

virtual double SMESH::Controls::NumericalFunctor::GetValue ( long  theElementId)
virtual

◆ GetValue() [2/2]

◆ GetType()

◆ GetBadRate()

◆ GetPrecision()

long SMESH::Controls::NumericalFunctor::GetPrecision ( ) const

◆ SetPrecision()

void SMESH::Controls::NumericalFunctor::SetPrecision ( const long  thePrecision)

◆ GetPoints() [1/2]

bool SMESH::Controls::NumericalFunctor::GetPoints ( const int  theId,
TSequenceOfXYZ theRes 
) const

◆ GetPoints() [2/2]

static bool SMESH::Controls::NumericalFunctor::GetPoints ( const SMDS_MeshElement theElem,
TSequenceOfXYZ theRes 
)
static

Field Documentation

◆ myMesh

const SMDS_Mesh* SMESH::Controls::NumericalFunctor::myMesh
protected

Definition at line 139 of file SMESH_ControlsDef.hxx.

◆ myCurrElement

const SMDS_MeshElement* SMESH::Controls::NumericalFunctor::myCurrElement
protected

Definition at line 140 of file SMESH_ControlsDef.hxx.

◆ myPrecision

long SMESH::Controls::NumericalFunctor::myPrecision
protected

Definition at line 141 of file SMESH_ControlsDef.hxx.