#include <SMESH_ControlsDef.hxx>
Data Structures | |
struct | Value |
Public Types | |
typedef std::map< Value, int > | MValues |
Public Member Functions | |
virtual double | GetValue (long theElementId) |
virtual double | GetValue (const TSequenceOfXYZ &thePoints) |
virtual double | GetBadRate (double Value, int nbNodes) const |
virtual SMDSAbs_ElementType | GetType () const |
void | GetValues (MValues &theValues) |
virtual void | SetMesh (const SMDS_Mesh *theMesh) |
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 |
typedef std::map<Value,int> SMESH::Controls::MultiConnection2D::MValues |
|
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.
|
virtual |
Reimplemented from SMESH::Controls::NumericalFunctor.
References SMDS_Mesh::FindElement(), SMDS_MeshElement::GetID(), SMDS_MeshNode::GetInverseElementIterator(), SMDS_MeshElement::GetType(), Max(), SMESH::Controls::NumericalFunctor::myMesh, SMDS_MeshElement::NbNodes(), SMDS_MeshElement::nodesIterator(), and SMDSAbs_Face.
|
virtual |
Reimplemented from SMESH::Controls::NumericalFunctor.
void MultiConnection2D::GetValues | ( | MValues & | theValues | ) |
|
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(), GetValue(), SMESH::Controls::BallDiameter::GetValue(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH::Controls::Length2D::GetValues(), 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 |