source: Sophya/trunk/SophyaPI/PIext/pintup3d.h@ 2358

Last change on this file since 2358 was 2350, checked in by ansari, 23 years ago

Ajout nouvelles options pour trace d'axes ds le Help de baseexecut.cc
et ajout d'une nouvelle option (connectpoints) ds PINTupleDrawer (et 3D)

Reza 18 Mars 2003

File size: 1.5 KB
RevLine 
[165]1#ifndef PINTUPLE3D_H
2#define PINTUPLE3D_H
3
[326]4#include "ntupintf.h"
[165]5#include "pi3ddrw.h"
6
7class PINTuple3D : public PIDrawer3D {
8public:
[326]9 PINTuple3D(NTupleInterface* nt, bool ad=false);
[165]10 virtual ~PINTuple3D();
11
[205]12 virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
[165]13 virtual void UpdateLimits();
14
[486]15 virtual void SelectXYZ(const char* px, const char* py, const char* pz);
16 virtual void SelectWt(const char* pw=NULL, int nbins=10);
17 virtual void SelectErrBar(const char* erbx=NULL, const char* erby=NULL, const char* erbz=NULL);
18 virtual void SelectLabel(const char* plabel);
[165]19
[2350]20 inline void ConnectPoints(bool fg=false) { connectPts = fg; }
21
22// Methode de decodage des options
23 virtual int DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
24// Texte d'aide des options disponibles
25 virtual void GetOptionsHelpInfo(string& info);
[165]26
27protected:
[326]28 NTupleInterface* mNT;
[165]29 bool mAdDO;
30 int xK, yK, zK; // Index du nom de variable en X/Y/Z ds le ntuple
31 int xebK, yebK, zebK; // Index du nom de variable en ErrBarX/Y/Z ds le ntuple
[486]32 int wK; // Index du nom de variable poids
33 int lK; // Index du nom de variable label (affiche en texte)
34 double wMin, wMax; // Valeurs de poids min/max
35 int nWbins; // Nombre de bins pour le poids (Wt)
[165]36
[2350]37 bool connectPts; // true -> les points sont relies par une ligne
38
[165]39};
40
41#endif
42
43
44
45
Note: See TracBrowser for help on using the repository browser.