#include <SMESH_ControlsDef.hxx>
Data Structures | |
struct | Value |
Public Types | |
typedef std::set< Value > | TValues |
Public Member Functions | |
virtual double | GetValue (long theElementId) |
virtual double | GetBadRate (double Value, int nbNodes) const |
virtual SMDSAbs_ElementType | GetType () const |
void | GetValues (TValues &theValues) |
virtual void | SetMesh (const SMDS_Mesh *theMesh) |
virtual double | GetValue (const TSequenceOfXYZ &thePoints) |
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::set<Value> SMESH::Controls::Length2D::TValues |
|
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(), 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.
Referenced by SMESH::Controls::CoincidentElements::IsSatisfy().
|
virtualinherited |
Reimplemented in SMESH::Controls::MultiConnection2D, SMESH::Controls::MultiConnection, SMESH::Controls::Length, SMESH::Controls::Area, SMESH::Controls::Skew, SMESH::Controls::Taper, SMESH::Controls::Warping, SMESH::Controls::AspectRatio3D, SMESH::Controls::AspectRatio, SMESH::Controls::MinimumAngle, and SMESH::Controls::MaxElementLength2D.
|
virtual |
Reimplemented from SMESH::Controls::NumericalFunctor.
References SMESH::Controls::TSequenceOfXYZ::getElementEntity(), SMESH::Controls::NumericalFunctor::GetPoints(), Min(), SMESH::Controls::NumericalFunctor::myPrecision, SMESH::Controls::TSequenceOfXYZ::size(), SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Hexagonal_Prism, SMDSEntity_Penta, SMDSEntity_Polygon, SMDSEntity_Polyhedra, SMDSEntity_Pyramid, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, SMDSEntity_Quadrangle, SMDSEntity_Tetra, SMDSEntity_Triangle, and SMDSEntity_TriQuad_Hexa.
void Length2D::GetValues | ( | TValues & | 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(), SMESH::Controls::MultiConnection2D::GetValue(), SMESH::Controls::BallDiameter::GetValue(), SMESH::Controls::NodeConnectivityNumber::GetValue(), 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(), GetValue(), SMESH::Controls::NumericalFunctor::NumericalFunctor(), SMESH::Controls::NumericalFunctor::Round(), and SMESH::Controls::NumericalFunctor::SetPrecision().
|
protectedinherited |