Changeset 3189 in Sophya for trunk/SophyaLib/NTools/cimage.h


Ignore:
Timestamp:
Mar 17, 2007, 10:23:33 PM (19 years ago)
Author:
cmv
Message:

ajout methode =cste pour class Image cmv 9/3/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/cimage.h

    r2885 r3189  
    5858  inline void    SetPixelSize(r_8 szx=1., r_8 szy=1.)
    5959                       { pxsz_x = szx;   pxsz_y = szy; }
     60
     61  //! = : fill image with constant value \b x
     62  inline  Image<T>&  operator = (T x) {SetT(x); return(*this);}
    6063
    6164protected:
Note: See TracChangeset for help on using the changeset viewer.