Changeset 2525 in Sophya


Ignore:
Timestamp:
Mar 25, 2004, 6:26:06 PM (22 years ago)
Author:
cmv
Message:

OptionToString cmv 25/03/04

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pisurfdr.cc

    r2399 r2525  
    325325
    326326/* --Methode-- */
     327int PISurfaceDrawer::OptionToString(vector<string> & opt) const
     328{
     329 PIDrawer::OptionToString(opt);
     330
     331 if(mAutoScaleXY) opt.push_back("rescalexy"); else opt.push_back("norescalexy");
     332 if(mAutoScaleZ) opt.push_back("rescalez"); else opt.push_back("norescalez");
     333
     334 return 1;
     335}
     336
     337/* --Methode-- */
    327338void PISurfaceDrawer::GetOptionsHelpInfo(string& info)
    328339{
  • trunk/SophyaPI/PI/pisurfdr.h

    r2399 r2525  
    2020//   Methode de decodage des options
    2121  virtual int        DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
     22  virtual int        OptionToString(vector<string> & opt) const;
    2223//   Texte d'aide des options disponibles
    2324  virtual void       GetOptionsHelpInfo(string& info);
Note: See TracChangeset for help on using the changeset viewer.