#include <SMESH_ControlsDef.hxx>
Public Member Functions | |
virtual double | GetValue (const TSequenceOfXYZ &thePoints) |
virtual double | GetBadRate (double Value, int nbNodes) const |
virtual SMDSAbs_ElementType | GetType () const |
virtual void | SetMesh (const SMDS_Mesh *theMesh) |
virtual double | GetValue (long theElementId) |
void | GetHistogram (int nbIntervals, std::vector< int > &nbEvents, std::vector< double > &funValues, const std::vector< int > &elements, const double *minmax=0, const bool isLogarithmic=false) |
Return histogram of functor values. More... | |
long | GetPrecision () const |
void | SetPrecision (const long thePrecision) |
double | Round (const double &value) |
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_Mesh * | myMesh |
const SMDS_MeshElement * | myCurrElement |
long | myPrecision |
double | myPrecisionValue |
|
virtual |
Implements SMESH::Controls::NumericalFunctor.
|
inherited |
Return histogram of functor values.
nbIntervals | - number of intervals |
nbEvents | - number of mesh elements having values within i-th interval |
funValues | - boundaries of intervals |
elements | - elements to check vulue of; empty list means "of all" |
minmax | - boundaries of diapason of values to divide into intervals |
References SMDS_Mesh::elementsIterator(), SMDS_Mesh::GetMeshInfo(), SMESH::Controls::NumericalFunctor::GetType(), SMESH::Controls::NumericalFunctor::GetValue(), SMESH::Controls::NumericalFunctor::myMesh, and SMDS_MeshInfo::NbElements().
|
inherited |
References SMESH::Controls::TSequenceOfXYZ::clear(), SMDS_Mesh::FindElement(), SMDS_MeshElement::GetType(), SMESH::Controls::NumericalFunctor::GetType(), and SMESH::Controls::NumericalFunctor::myMesh.
Referenced by getAngle(), SMESH::Controls::NumericalFunctor::GetValue(), SMESH::Controls::MaxElementLength2D::GetValue(), SMESH::Controls::MaxElementLength3D::GetValue(), SMESH::Controls::AspectRatio::GetValue(), SMESH::Controls::AspectRatio3D::GetValue(), SMESH::Controls::Length2D::GetValue(), and StdMeshers_MaxElementArea::SetParametersByMesh().
|
staticinherited |
References SMESH::Controls::TSequenceOfXYZ::clear(), SMDS_MeshElement::GetType(), SMDS_MeshNode::GetXYZ(), SMDS_MeshElement::IsQuadratic(), SMDS_MeshElement::NbNodes(), SMDS_MeshElement::nodesIterator(), SMESH::Controls::TSequenceOfXYZ::push_back(), SMESH::Controls::TSequenceOfXYZ::reserve(), SMESH::Controls::TSequenceOfXYZ::setElement(), SMDSAbs_Edge, and SMDSAbs_Face.
|
inherited |
References SMESH::Controls::NumericalFunctor::myPrecision.
|
virtual |
Implements SMESH::Controls::NumericalFunctor.
References SMDSAbs_Face.
|
virtualinherited |
Reimplemented in SMESH::Controls::NodeConnectivityNumber, SMESH::Controls::BallDiameter, SMESH::Controls::MultiConnection2D, SMESH::Controls::MultiConnection, SMESH::Controls::Length2D, SMESH::Controls::AspectRatio3D, SMESH::Controls::AspectRatio, SMESH::Controls::MaxElementLength3D, SMESH::Controls::MaxElementLength2D, and SMESH::Controls::Volume.
References SMDS_Mesh::FindElement(), SMESH::Controls::NumericalFunctor::GetPoints(), SMESH::Controls::NumericalFunctor::myCurrElement, SMESH::Controls::NumericalFunctor::myMesh, and SMESH::Controls::NumericalFunctor::Round().
Referenced by SMESH::Controls::NumericalFunctor::GetHistogram().
|
virtual |
Reimplemented from SMESH::Controls::NumericalFunctor.
References Max(), SMESH::Controls::TSequenceOfXYZ::size(), and skewAngle().
|
inherited |
|
virtualinherited |
Implements SMESH::Controls::Functor.
References SMESH::Controls::NumericalFunctor::myMesh.
|
inherited |
References SMESH::Controls::NumericalFunctor::myPrecision, and SMESH::Controls::NumericalFunctor::myPrecisionValue.
Referenced by SMESH_ActorDef::SetControlMode().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH::Controls::BadOrientedVolume::BadOrientedVolume(), SMESH::Controls::CoincidentElements::CoincidentElements(), SMESH::Controls::FreeBorders::FreeBorders(), SMESH::Controls::FreeEdges::FreeEdges(), SMESH::Controls::NumericalFunctor::GetHistogram(), SMESH::Controls::NumericalFunctor::GetPoints(), SMESH::Controls::NumericalFunctor::GetValue(), SMESH::Controls::Volume::GetValue(), SMESH::Controls::MaxElementLength3D::GetValue(), SMESH::Controls::AspectRatio::GetValue(), SMESH::Controls::AspectRatio3D::GetValue(), SMESH::Controls::MultiConnection::GetValue(), SMESH::Controls::MultiConnection2D::GetValue(), SMESH::Controls::BallDiameter::GetValue(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH::Controls::Length2D::GetValues(), SMESH::Controls::MultiConnection2D::GetValues(), SMESH::Controls::CoincidentElements::IsSatisfy(), SMESH::Controls::FreeBorders::IsSatisfy(), SMESH::Controls::BadOrientedVolume::IsSatisfy(), SMESH::Controls::BareBorderVolume::IsSatisfy(), SMESH::Controls::BareBorderFace::IsSatisfy(), SMESH::Controls::OverConstrainedVolume::IsSatisfy(), SMESH::Controls::OverConstrainedFace::IsSatisfy(), SMESH::Controls::FreeEdges::IsSatisfy(), SMESH::Controls::NumericalFunctor::SetMesh(), SMESH::Controls::CoincidentElements::SetMesh(), SMESH::Controls::FreeBorders::SetMesh(), SMESH::Controls::BadOrientedVolume::SetMesh(), and SMESH::Controls::FreeEdges::SetMesh().
|
protectedinherited |
Referenced by SMESH::Controls::NumericalFunctor::GetPrecision(), SMESH::Controls::MaxElementLength2D::GetValue(), SMESH::Controls::MaxElementLength3D::GetValue(), SMESH::Controls::Length2D::GetValue(), SMESH::Controls::NumericalFunctor::NumericalFunctor(), SMESH::Controls::NumericalFunctor::Round(), and SMESH::Controls::NumericalFunctor::SetPrecision().
|
protectedinherited |