#include <SMESH_Filter_i.hxx>

Public Member Functions | |
| Skew_i () | |
| FunctorType | GetFunctorType () |
| CORBA::Double | GetValue (CORBA::Long theElementId) |
| SMESH::Histogram * | GetHistogram (CORBA::Short nbIntervals) |
| void | SetPrecision (CORBA::Long thePrecision) |
| CORBA::Long | GetPrecision () |
| Controls::NumericalFunctorPtr | GetNumericalFunctor () |
| void | SetMesh (SMESH_Mesh_ptr theMesh) |
| Controls::FunctorPtr | GetFunctor () |
| ElementType | GetElementType () |
Protected Attributes | |
| Controls::NumericalFunctorPtr | myNumericalFunctorPtr |
| Controls::FunctorPtr | myFunctorPtr |
Definition at line 242 of file SMESH_Filter_i.hxx.
| Skew_i::Skew_i | ( | ) |
Definition at line 724 of file SMESH_Filter_i.cxx.
References SMESH.Functor_i.myFunctorPtr, and SMESH.NumericalFunctor_i.myNumericalFunctorPtr.
{
myNumericalFunctorPtr.reset( new Controls::Skew() );
myFunctorPtr = myNumericalFunctorPtr;
}
| ElementType Functor_i::GetElementType | ( | ) | [inherited] |
Definition at line 585 of file SMESH_Filter_i.cxx.
References SMESH.Functor_i.myFunctorPtr.
Referenced by getCriteria(), and SMESH.Filter_i.GetElementType().
{
return ( ElementType )myFunctorPtr->GetType();
}
| Controls::FunctorPtr SMESH.Functor_i.GetFunctor | ( | ) | [inherited] |
Definition at line 144 of file SMESH_Filter_i.hxx.
{ return myFunctorPtr;}
| FunctorType Skew_i::GetFunctorType | ( | ) |
Definition at line 730 of file SMESH_Filter_i.cxx.
References SMESH.FT_Skew.
{
return SMESH::FT_Skew;
}
| SMESH::Histogram * NumericalFunctor_i::GetHistogram | ( | CORBA::Short | nbIntervals | ) | [inherited] |
Definition at line 600 of file SMESH_Filter_i.cxx.
References SMESH.HistogramRectangle.max, SMESH.HistogramRectangle.min, SMESH.NumericalFunctor_i.myNumericalFunctorPtr, and SMESH.HistogramRectangle.nbEvents.
{
std::vector<int> nbEvents;
std::vector<double> funValues;
std::vector<int> elements;
myNumericalFunctorPtr->GetHistogram(nbIntervals,nbEvents,funValues,elements);
nbIntervals = CORBA::Short( std::min( nbEvents.size(), funValues.size() - 1));
SMESH::Histogram_var histogram = new SMESH::Histogram;
if ( nbIntervals > 0 )
{
histogram->length( nbIntervals );
for ( int i = 0; i < nbIntervals; ++i )
{
HistogramRectangle& rect = histogram[i];
rect.nbEvents = nbEvents[i];
rect.min = funValues[i];
rect.max = funValues[i+1];
}
}
return histogram._retn();
}
| Controls::NumericalFunctorPtr NumericalFunctor_i::GetNumericalFunctor | ( | ) | [inherited] |
Definition at line 634 of file SMESH_Filter_i.cxx.
References SMESH.NumericalFunctor_i.myNumericalFunctorPtr.
Referenced by SMESH_MeshEditor_i.BestSplit(), SMESH_MeshEditor_i.QuadToTri(), SMESH.Comparator_i.SetNumFunctor(), and SMESH_MeshEditor_i.TriToQuad().
{
return myNumericalFunctorPtr;
}
| CORBA::Long NumericalFunctor_i::GetPrecision | ( | ) | [inherited] |
Definition at line 629 of file SMESH_Filter_i.cxx.
References SMESH.NumericalFunctor_i.myNumericalFunctorPtr.
{
return myNumericalFunctorPtr->GetPrecision();
}
| CORBA::Double NumericalFunctor_i::GetValue | ( | CORBA::Long | theElementId | ) | [inherited] |
Definition at line 595 of file SMESH_Filter_i.cxx.
References SMESH.NumericalFunctor_i.myNumericalFunctorPtr.
{
return myNumericalFunctorPtr->GetValue( theId );
}
| void Functor_i::SetMesh | ( | SMESH_Mesh_ptr | theMesh | ) | [inherited] |
Reimplemented in SMESH.LogicalBinary_i.
Definition at line 579 of file SMESH_Filter_i.cxx.
References MeshPtr2SMDSMesh(), and SMESH.Functor_i.myFunctorPtr.
Referenced by SMESH.LogicalBinary_i.SetMesh().
{
myFunctorPtr->SetMesh( MeshPtr2SMDSMesh( theMesh ) );
TPythonDump()<<this<<".SetMesh("<<theMesh<<")";
}
| void NumericalFunctor_i::SetPrecision | ( | CORBA::Long | thePrecision | ) | [inherited] |
Definition at line 623 of file SMESH_Filter_i.cxx.
References SMESH.NumericalFunctor_i.myNumericalFunctorPtr.
{
myNumericalFunctorPtr->SetPrecision( thePrecision );
TPythonDump()<<this<<".SetPrecision("<<thePrecision<<")";
}
Controls::FunctorPtr SMESH.Functor_i.myFunctorPtr [protected, inherited] |
Definition at line 151 of file SMESH_Filter_i.hxx.
Referenced by SMESH.Area_i.Area_i(), SMESH.AspectRatio3D_i.AspectRatio3D_i(), SMESH.AspectRatio_i.AspectRatio_i(), SMESH.BadOrientedVolume_i.BadOrientedVolume_i(), SMESH.BareBorderFace_i.BareBorderFace_i(), SMESH.BareBorderVolume_i.BareBorderVolume_i(), SMESH.BelongToGeom_i.BelongToGeom_i(), SMESH.BelongToSurface_i.BelongToSurface_i(), SMESH.CoplanarFaces_i.CoplanarFaces_i(), SMESH.ElemGeomType_i.ElemGeomType_i(), SMESH.EqualTo_i.EqualTo_i(), SMESH.FreeBorders_i.FreeBorders_i(), SMESH.FreeEdges_i.FreeEdges_i(), SMESH.FreeFaces_i.FreeFaces_i(), SMESH.FreeNodes_i.FreeNodes_i(), SMESH.Functor_i.GetElementType(), SMESH.MultiConnection2D_i.GetValues(), SMESH.Length2D_i.GetValues(), SMESH.GroupColor_i.GroupColor_i(), SMESH.Length2D_i.Length2D_i(), SMESH.Length_i.Length_i(), SMESH.LessThan_i.LessThan_i(), SMESH.LinearOrQuadratic_i.LinearOrQuadratic_i(), SMESH.LogicalAND_i.LogicalAND_i(), SMESH.LogicalNOT_i.LogicalNOT_i(), SMESH.LogicalOR_i.LogicalOR_i(), SMESH.LyingOnGeom_i.LyingOnGeom_i(), SMESH.MaxElementLength2D_i.MaxElementLength2D_i(), SMESH.MaxElementLength3D_i.MaxElementLength3D_i(), SMESH.MinimumAngle_i.MinimumAngle_i(), SMESH.MoreThan_i.MoreThan_i(), SMESH.MultiConnection2D_i.MultiConnection2D_i(), SMESH.MultiConnection_i.MultiConnection_i(), SMESH.OverConstrainedFace_i.OverConstrainedFace_i(), SMESH.OverConstrainedVolume_i.OverConstrainedVolume_i(), SMESH.RangeOfIds_i.RangeOfIds_i(), SMESH.Functor_i.SetMesh(), SMESH.Skew_i.Skew_i(), SMESH.Taper_i.Taper_i(), SMESH.Volume3D_i.Volume3D_i(), and SMESH.Warping_i.Warping_i().
Controls::NumericalFunctorPtr SMESH.NumericalFunctor_i.myNumericalFunctorPtr [protected, inherited] |
Definition at line 169 of file SMESH_Filter_i.hxx.
Referenced by SMESH.Area_i.Area_i(), SMESH.AspectRatio3D_i.AspectRatio3D_i(), SMESH.AspectRatio_i.AspectRatio_i(), SMESH.NumericalFunctor_i.GetHistogram(), SMESH.NumericalFunctor_i.GetNumericalFunctor(), SMESH.NumericalFunctor_i.GetPrecision(), SMESH.NumericalFunctor_i.GetValue(), SMESH.Length2D_i.Length2D_i(), SMESH.Length_i.Length_i(), SMESH.MaxElementLength2D_i.MaxElementLength2D_i(), SMESH.MaxElementLength3D_i.MaxElementLength3D_i(), SMESH.MinimumAngle_i.MinimumAngle_i(), SMESH.MultiConnection2D_i.MultiConnection2D_i(), SMESH.MultiConnection_i.MultiConnection_i(), SMESH.NumericalFunctor_i.SetPrecision(), SMESH.Skew_i.Skew_i(), SMESH.Taper_i.Taper_i(), SMESH.Volume3D_i.Volume3D_i(), and SMESH.Warping_i.Warping_i().