28 #ifndef _NETGENPlugin_Hypothesis_HXX_ 29 #define _NETGENPlugin_Hypothesis_HXX_ 47 void SetMaxSize(
double theSize);
50 void SetSecondOrder(
bool theVal);
53 void SetOptimize(
bool theVal);
66 void SetFineness(Fineness theFineness);
71 void SetGrowthRate(
double theRate);
74 void SetNbSegPerEdge(
double theVal);
77 void SetNbSegPerRadius(
double theVal);
82 static double GetDefaultMaxSize();
83 static Fineness GetDefaultFineness();
84 static double GetDefaultGrowthRate();
85 static double GetDefaultNbSegPerEdge();
86 static double GetDefaultNbSegPerRadius();
87 static bool GetDefaultSecondOrder();
88 static bool GetDefaultOptimize();
91 virtual ostream & SaveTo(ostream & save);
92 virtual istream & LoadFrom(istream & load);
102 virtual bool SetParametersByMesh(
const SMESH_Mesh* theMesh,
const TopoDS_Shape& theShape);
108 virtual bool SetParametersByDefaults(
const TDefaults& dflts,
const SMESH_Mesh* theMesh=0);
#define NETGENPLUGIN_EXPORT
bool GetSecondOrder() const
double GetGrowthRate() const
double GetMaxSize() const
Fineness GetFineness() const
double GetNbSegPerRadius() const
double GetNbSegPerEdge() const