Changeset 2545 in Sophya for trunk/SophyaPI/PIext/pintup3d.cc


Ignore:
Timestamp:
Jun 1, 2004, 5:50:42 PM (21 years ago)
Author:
ansari
Message:

1/ Ajout commande textdrawer ds basexecut.cc
2/ Adaptation aux modifs pour autosacleX/Y,Z pour Drawer3D

Reza, 1 Juin 2004

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pintup3d.cc

    r2524 r2545  
    4848  mNT = nt;
    4949  mAdDO = ad;
    50   mAutoScaleXY = mAutoScaleZ = true;
     50  aScxy = aScz = true;
    5151  UseSizeScale(true, 5);
    5252  UseColorScale(true);
     
    142142
    143143  ComputeScaleFactor(xmin, xmax, ymin, ymax, zmin, zmax,
    144                      mAutoScaleXY, mAutoScaleZ, mScy, mScz);
     144                     aScxy, aScz, mScy, mScz);
    145145 
    146146  // cout << " DEBUG - NTup3D X:" << XMin3() << "-" << XMax3() " s=" << mScx
     
    313313      UseSizeScale(true, nbn);
    314314    }
    315     else if (opts == "rescalexy") mAutoScaleXY = true;
    316     else if (opts == "norescalexy") mAutoScaleXY = false;
    317     else if (opts == "rescalez") mAutoScaleZ = true;
    318     else if (opts == "norescalez") mAutoScaleZ = false;
     315    else if (opts == "rescalexy") aScxy = true;
     316    else if (opts == "norescalexy") aScxy = false;
     317    else if (opts == "rescalez") aScz = true;
     318    else if (opts == "norescalez") aScz = false;
    319319    else {
    320320      // Si option non decode
     
    346346 } else opt.push_back("nosizescale");
    347347
    348  if(mAutoScaleXY) opt.push_back("rescalexy");
     348 if(aScxy) opt.push_back("rescalexy");
    349349   else opt.push_back("norescalexy");
    350350
    351  if(mAutoScaleZ) opt.push_back("rescalez");
     351 if(aScz) opt.push_back("rescalez");
    352352   else opt.push_back("norescalez");
    353353
Note: See TracChangeset for help on using the changeset viewer.