Changeset 333 in Sophya for trunk/SophyaPI/PIext/servnobjm.h
- Timestamp:
- Jul 12, 1999, 1:12:29 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/servnobjm.h
r330 r333 25 25 class Histo2D; 26 26 class HProf; 27 class NamedObjMgr; 27 28 class PIStdImgApp; 28 29 class NObjMgrAdapter; … … 30 31 class Services2NObjMgr { 31 32 public: 32 Services2NObjMgr( PIStdImgApp* app, string& tmpdir);33 Services2NObjMgr(NamedObjMgr* omg, string& tmpdir); 33 34 virtual ~Services2NObjMgr(); 34 35 … … 40 41 inline void SetImgApp(PIStdImgApp* app) {mImgapp = app; } 41 42 42 void Nobj_ComputeExpressions(NObjMgrAdapter* obja, string& expx, string& expy, string& expz, 43 string& expwt, string& expcut, 44 NTuple* nt=NULL, Histo* h1=NULL, 45 Histo2D* h2=NULL, HProf* hp=NULL); 46 PlotExprFunc LinkExprFunc(string& vardec, string& expx, string& expy, string& expz, 47 string& wt, string& cut); 43 // Trace de fonctions 1-D , 2-D 44 virtual void PlotFunc(string const & expfunc, string & nom, double xmin, double xmax, 45 int np=100, string dopt=""); 46 virtual void PlotFunc2D(string const & expfunc, string & nom, double xmin, double xmax, 47 double ymin, double ymax, int npx=50, int npy=50, string dopt=""); 48 virtual void PlotFuncFrCFile(string const & fname, string const & func, string & nom, 49 double xmin, double xmax, int np=100, string dopt=""); 50 virtual void PlotFunc2DFrCFile(string const & fname, string const & func, string & nom, 51 double xmin, double xmax, double ymin, double ymax, 52 int npx=50, int npy=50, string dopt=""); 53 virtual void PlotFunc(DlFunctionOfX f, string & nom, double xmin, double xmax, 54 int np=100, string dopt=""); 55 virtual void PlotFunc2D(DlFunctionOfXY f, string & nom, double xmin, double xmax, 56 double ymin, double ymax, int npx=50, int npy=50, string dopt=""); 57 58 // Trace d'expression de NTuple, et d'autres objets 59 virtual void DisplayPoints2D(string & nom, string& expx, string& expy, 60 string& experrx, string& experry, 61 string& expcut, string dopt=""); 62 virtual void DisplayPoints3D(string & nom, string& expx, string& expy, string& expz, 63 string& expcut, string dopt=""); 64 virtual void DisplayPoints2DW(string & nom, string& expx, string& expy, 65 string& expwt, string& expcut, string dopt=""); 66 // Projection d'expressions dans histogramme (et trace) 67 virtual void ProjectH1(string & nom, string& expx, string& expwt, string& expcut, 68 string& nomh1, string dopt=""); 69 virtual void ProjectH2(string & nom, string& expx, string& expy, string& expwt, 70 string& expcut, string& nomh2, string dopt=""); 71 virtual void ProjectHProf(string & nom, string& expx, string& expy, string& expwt, 72 string& expcut, string& nomprof, string dopt=""); 73 // Projection d'expression dans vecteurs et dans n-tuple 74 virtual void FillVect(string & nom, string& expx, string& expcut, 75 string& nomvec, string dopt=""); 76 virtual void FillNT(string & nom, string& expx, string& expy, string& expz, 77 string& expt, string& expcut, string& nomnt); 78 virtual void FillGFD(string & nom, string& expx, string& expy, string& expz, 79 string& experr, string& expcut, string& nomgfd); 80 virtual void FillNTFrCFile(string & nom, string const & fname, 81 string const & funcname, string & nomnt); 82 virtual void PrepareNTExpressionCFile(string & nomobj, string const & fname, 83 string const & funcname); 84 85 // Methodes de fit - CMV , deux methodes H1 H2 ou 1 seule ??) ... 86 virtual void Fit12D(string & nom, string& func, 87 string par,string step,string min,string max,string opt); 88 89 // Calcul d'expressions d'interface NTuple pour les objets 90 void ComputeExpressions(NObjMgrAdapter* obja, string& expx, string& expy, 91 string& expz, string& expt, string& expcut, 92 NTuple* nt=NULL, Histo* h1=NULL, 93 Histo2D* h2=NULL, HProf* hp=NULL); 94 PlotExprFunc LinkExprFunc(string& vardec, string& expx, string& expy, 95 string& expz, string& expt, string& cut); 48 96 DlFunction LinkFunctionFromFile(string const & fname, string const & funcname); 49 97 void CloseDLL(); 50 51 // Trace de fonctions 1-D , 2-D52 virtual void PlotFunc(string const & expfunc, float xmin, float xmax, int np=100, string dopt="");53 virtual void PlotFunc2D(string const & expfunc, float xmin, float xmax, float ymin, float ymax,54 int npx=50, int npy=50, string dopt="");55 virtual void PlotFuncFrCFile(string const & fname, string const & func, float xmin, float xmax,56 int np=100, string dopt="");57 virtual void PlotFunc2DFrCFile(string const & fname, string const & func, float xmin, float xmax,58 float ymin, float ymax, int npx=50, int npy=50, string dopt="");59 virtual void PlotFunc(DlFunctionOfX f, float xmin, float xmax, int np=100, string dopt="");60 virtual void PlotFunc2D(DlFunctionOfXY f, float xmin, float xmax, float ymin, float ymax,61 int npx=50, int npy=50, string dopt="");62 98 63 99 // Utilitaires divers 64 100 string FileName2Name(string const & fn); 65 101 int DecodeDispOption(string& dopt, bool& fgsrgr); 102 char* PClassIdToClassName(int cid); 66 103 67 104 protected: … … 94 131 95 132 PIStdImgApp* mImgapp; 133 NamedObjMgr* mOmg; 96 134 97 135 };
Note:
See TracChangeset
for help on using the changeset viewer.