30 #ifndef _NETGENPlugin_Hypothesis_HXX_
31 #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 std::ostream &
SaveTo(std::ostream & save);
92 virtual std::istream &
LoadFrom(std::istream & load);
#define NETGENPLUGIN_EXPORT
double GetNbSegPerEdge() const
bool GetSecondOrder() const
double GetGrowthRate() const
double GetMaxSize() const
virtual std::istream & LoadFrom(std::istream &load)=0
virtual bool SetParametersByDefaults(const TDefaults &dflts, const SMESH_Mesh *theMesh=0)=0
Initialize my parameter values by default parameters.
virtual std::ostream & SaveTo(std::ostream &save)=0
double GetNbSegPerRadius() const
virtual bool SetParametersByMesh(const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)=0
Initialize my parameter values by the mesh built on the geometry.
Fineness GetFineness() const