26 #ifndef STDMESHERSGUI_DISTRPREVIEW_H
27 #define STDMESHERSGUI_DISTRPREVIEW_H
36 #include <SALOMEconfig.h>
37 #include CORBA_SERVER_HEADER(SMESH_Mesh)
38 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
41 #include <ExprIntrp_GenExp.hxx>
42 #include <Expr_Array1OfNamedUnknown.hxx>
43 #include <TColStd_Array1OfReal.hxx>
53 typedef enum {
EXPONENT, CUT_NEGATIVE } Conversion;
58 QString
function()
const;
59 bool isTableFunc()
const;
61 int pointsCount()
const;
65 bool setParams(
const QString&,
const int,
const int = 50,
const bool =
true );
67 void setConversion( Conversion,
const bool =
true );
70 virtual bool init(
const QString& );
71 virtual double funcValue(
const double,
bool& );
73 virtual bool convert(
double& )
const;
89 Handle(ExprIntrp_GenExp) myExpr;
90 Expr_Array1OfNamedUnknown myVars;
91 TColStd_Array1OfReal myValues;
93 StdMeshers::StdMeshers_NumberOfSegments_var myHypo;
96 #endif // STDMESHERSGUI_DISTRPREVIEW_H