29 #ifndef _SMESH_NUMBEROFSEGMENTS_HXX_ 
   30 #define _SMESH_NUMBEROFSEGMENTS_HXX_ 
   35 #include "Utils_SALOME_Exception.hxx" 
   52   const std::vector<double>& BuildDistributionExpr( 
const char*, 
int, 
int ) 
throw ( SALOME_Exception );
 
   53   const std::vector<double>& BuildDistributionTab( 
const std::vector<double>&, 
int, 
int ) 
throw ( SALOME_Exception );
 
   59   void SetNumberOfSegments(
int segmentsNumber)
 
   60     throw (SALOME_Exception);
 
   65   int GetNumberOfSegments() 
const;
 
   81   void SetDistrType(DistrType typ)
 
   82     throw (SALOME_Exception);
 
   87   DistrType GetDistrType() 
const;
 
   96   virtual void SetScaleFactor(
double scaleFactor)
 
   97     throw (SALOME_Exception);
 
  104   double GetScaleFactor() 
const 
  105     throw (SALOME_Exception);
 
  116   void SetTableFunction(const std::vector<
double>& table)
 
  117     throw (SALOME_Exception);
 
  124   const std::vector<
double>& GetTableFunction() const
 
  125     throw (SALOME_Exception);
 
  134   void SetExpressionFunction( const 
char* expr)
 
  135     throw (SALOME_Exception);
 
  142   const 
char* GetExpressionFunction() const
 
  143     throw (SALOME_Exception);
 
  150   static std::
string CheckExpressionFunction( const std::
string& expr,
 
  152     throw (SALOME_Exception);
 
  163   void SetConversionMode( 
int conv )
 
  164     throw (SALOME_Exception);
 
  171   int ConversionMode() const
 
  172     throw (SALOME_Exception);
 
  174   void SetReversedEdges( std::vector<
int>& ids);
 
  176   void SetObjectEntry( const 
char* entry ) { _objEntry = entry; }
 
  196   virtual std::ostream & 
SaveTo(std::ostream & save);
 
  197   virtual std::istream & 
LoadFrom(std::istream & load);