Changeset 3149 in Sophya for trunk/SophyaPI/PIext/pihisto2d.h
- Timestamp:
- Jan 18, 2007, 7:21:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pihisto2d.h
r3145 r3149 24 24 25 25 void UseColors(bool fg=false,CMapId cmap=CMAP_GREYINV32,bool revcmap=false); 26 void UseScale(unsigned short type=0, floatlogscale=10.);27 void UseDisplay(unsigned short type=0, floatfnpt=0.5);28 void UseDyn( float hmin=1.,floathmax=-1.);29 void UseFrac( float frmin=0.1,floatfrmax=0.9);26 void UseScale(unsigned short type=0,double logscale=10.); 27 void UseDisplay(unsigned short type=0,double fnpt=0.5); 28 void UseDyn(double hmin=1.,double hmax=-1.); 29 void UseFrac(double frmin=0.1,double frmax=0.9); 30 30 void Print(int lp=0); 31 31 … … 43 43 virtual void DrawStats(PIGraphicUC* g); 44 44 inline void SetStats(bool fg=true) {stats=fg;} 45 inline void SetStatPosOffset( float ofx=-0.01, floatofy=-0.01)45 inline void SetStatPosOffset(double ofx=-0.01, double ofy=-0.01) 46 46 {spoX=ofx; spoY=ofy; } 47 47 … … 63 63 inline unsigned short TypScale() {return(mTypScal);} 64 64 inline unsigned short TypDisplay() {return(mTypDisp);} 65 inline floatFPoints() {return(mFPoints);}66 inline floatHMax() {return(mHMax);}67 inline floatHMin() {return(mHMin);}68 inline floatFMax() {return(mFracMax);}69 inline floatFMin() {return(mFracMin);}70 inline floatLogScale() {return(mLogScale);}65 inline double FPoints() {return(mFPoints);} 66 inline double HMax() {return(mHMax);} 67 inline double HMin() {return(mHMin);} 68 inline double FMax() {return(mFracMax);} 69 inline double FMin() {return(mFracMin);} 70 inline double LogScale() {return(mLogScale);} 71 71 72 72 protected: 73 73 int NPixBin(PIGraphicUC* g); 74 char HPrint2( floatf);74 char HPrint2(double f); 75 75 76 76 P2DHistoWrapper* mHistoWp; 77 77 bool mAdDO; bool stats; 78 78 bool mFgCol; CMapId mCmap; bool mRevCmap; 79 unsigned short mTypScal; floatmLogScale;80 unsigned short mTypDisp; floatmFPoints;81 floatmHMin,mHMax;82 floatmFracMin,mFracMax;83 floatspoX, spoY; // Stat pos offset par rapport a position defaut79 unsigned short mTypScal; double mLogScale; 80 unsigned short mTypDisp; double mFPoints; 81 double mHMin,mHMax; 82 double mFracMin,mFracMax; 83 double spoX, spoY; // Stat pos offset par rapport a position defaut 84 84 }; 85 85 … … 117 117 118 118 bool mFgCol; CMapId mCmap; bool mRevCmap; 119 unsigned short mTypScal; floatmLogScale;120 unsigned short mTypDisp; floatmFPoints;121 floatmHMin,mHMax;122 floatmFracMin,mFracMax;119 unsigned short mTypScal; double mLogScale; 120 unsigned short mTypDisp; double mFPoints; 121 double mHMin,mHMax; 122 double mFracMin,mFracMax; 123 123 }; 124 124
Note:
See TracChangeset
for help on using the changeset viewer.