28 #ifndef _SMESH_NUMBEROFSEGMENTS_HXX_
29 #define _SMESH_NUMBEROFSEGMENTS_HXX_
51 const std::vector<double>& BuildDistributionExpr(
const char*,
int,
int )
throw (
SALOME_Exception );
52 const std::vector<double>& BuildDistributionTab(
const std::vector<double>&,
int,
int )
throw (
SALOME_Exception );
58 void SetNumberOfSegments(
int segmentsNumber)
64 int GetNumberOfSegments()
const;
80 void SetDistrType(DistrType typ)
86 DistrType GetDistrType()
const;
95 virtual void SetScaleFactor(
double scaleFactor)
103 double GetScaleFactor()
const
115 void SetTableFunction(const std::vector<
double>& table)
116 throw (SALOME_Exception);
123 const std::vector<
double>& GetTableFunction() const
124 throw (SALOME_Exception);
133 void SetExpressionFunction( const
char* expr)
134 throw (SALOME_Exception);
141 const
char* GetExpressionFunction() const
142 throw (SALOME_Exception);
153 void SetConversionMode(
int conv )
154 throw (SALOME_Exception);
161 int ConversionMode() const
162 throw (SALOME_Exception);
164 void SetReversedEdges( std::vector<
int>& ids);
166 void SetObjectEntry( const
char* entry ) { _objEntry = entry; }
186 virtual std::ostream &
SaveTo(std::ostream & save);
187 virtual std::istream &
LoadFrom(std::istream & load);