Version: 9.16.0
SMESH::Controls::Warping3D Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::Warping3D:

Data Structures

struct  Value
 

Public Types

typedef std::vector< ValueWValues
 

Public Member Functions

virtual bool IsApplicable (const SMDS_MeshElement *element) const
 Return true if a value can be computed for a given element. More...
 
virtual double GetValue (const TSequenceOfXYZ &thePoints)
 
virtual double GetValue (long theId)
 
virtual SMDSAbs_ElementType GetType () const
 
void GetValues (WValues &theValues)
 
virtual double GetBadRate (double Value, int nbNodes) const
 
bool IsApplicable (long theElementId) const
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
void GetHistogram (int nbIntervals, std::vector< int > &nbEvents, std::vector< double > &funValues, const std::vector<::smIdType > &elements, const double *minmax=0, const bool isLogarithmic=false)
 
long GetPrecision () const
 
void SetPrecision (const long thePrecision)
 
double Round (const double &value)
 
bool GetPoints (const ::smIdType theId, TSequenceOfXYZ &theRes) const
 

Static Public Member Functions

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

Protected Member Functions

double ComputeA (const gp_XYZ &, const gp_XYZ &, const gp_XYZ &, const gp_XYZ &) const
 
double ComputeValue (const TSequenceOfXYZ &thePoints) const
 

Protected Attributes

const SMDS_MeshmyMesh
 
const SMDS_MeshElementmyCurrElement
 
long myPrecision
 
double myPrecisionValue
 

Private Member Functions

void ProcessVolumeELement (WValues &theValues)
 

Member Typedef Documentation

◆ WValues

Member Function Documentation

◆ ComputeA()

double Warping::ComputeA ( const gp_XYZ &  thePnt1,
const gp_XYZ &  thePnt2,
const gp_XYZ &  thePnt3,
const gp_XYZ &  theG 
) const
protectedinherited

◆ ComputeValue()

double Warping::ComputeValue ( const TSequenceOfXYZ thePoints) const
protectedinherited

◆ GetBadRate()

double Warping::GetBadRate ( double  Value,
int  nbNodes 
) const
virtualinherited

◆ GetHistogram()

void SMESH::Controls::NumericalFunctor::GetHistogram ( int  nbIntervals,
std::vector< int > &  nbEvents,
std::vector< double > &  funValues,
const std::vector<::smIdType > &  elements,
const double *  minmax = 0,
const bool  isLogarithmic = false 
)
inherited

◆ GetPoints() [1/2]

◆ GetPoints() [2/2]

◆ GetPrecision()

long NumericalFunctor::GetPrecision ( ) const
inherited

◆ GetType()

SMDSAbs_ElementType Warping3D::GetType ( ) const
virtual

Reimplemented from SMESH::Controls::Warping.

References SMDSAbs_Volume.

◆ GetValue() [1/2]

double Warping3D::GetValue ( const TSequenceOfXYZ thePoints)
virtual

◆ GetValue() [2/2]

◆ GetValues()

◆ IsApplicable() [1/2]

bool Warping3D::IsApplicable ( const SMDS_MeshElement element) const
virtual

Return true if a value can be computed for a given element.

Some NumericalFunctor's are meaningful for elements of a certain geometry only.

Reimplemented from SMESH::Controls::Warping.

References SMESH::Controls::NumericalFunctor::IsApplicable().

◆ IsApplicable() [2/2]

◆ ProcessVolumeELement()

◆ Round()

◆ SetMesh()

void NumericalFunctor::SetMesh ( const SMDS_Mesh theMesh)
virtualinherited

◆ SetPrecision()

void NumericalFunctor::SetPrecision ( const long  thePrecision)
inherited

Field Documentation

◆ myCurrElement

◆ myMesh

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

◆ myPrecision

◆ myPrecisionValue

double SMESH::Controls::NumericalFunctor::myPrecisionValue
protectedinherited