g4tools  5.4.0
plottables
Go to the documentation of this file.
1 // Copyright (C) 2010, Guy Barrand. All rights reserved.
2 // See the file tools.license for terms.
3 
4 #ifndef tools_sg_plottables
5 #define tools_sg_plottables
6 
7 #include "plottable"
8 #include "enums"
9 
10 namespace tools {
11 namespace sg {
12 
13 class bins1D : public virtual plottable {
14 public:
16 public:
17  virtual void* cast(const std::string& a_class) const {
18  if(void* p = cmp_cast<bins1D>(this,a_class)) {return p;}
19  return plottable::cast(a_class);
20  }
21 public:
22  virtual ~bins1D(){}
23 public:
24  virtual void bins_Sw_range(float&,float&,bool) const = 0;
25 public:
26  // axis :
27  virtual unsigned int bins() const = 0;
28  virtual float axis_min() const = 0;
29  virtual float axis_max() const = 0;
30  // bins on axis :
31  virtual float bin_lower_edge(int) const = 0;
32  virtual float bin_upper_edge(int) const = 0;
33  // bins :
34  virtual bool has_entries_per_bin() const = 0;
35  virtual unsigned int bin_entries(int) const = 0;
36  virtual float bin_Sw(int) const = 0;
37  virtual float bin_error(int) const = 0;
38 public:
39  virtual bool is_profile() const = 0;
40 };
41 
42 class bins2D : public virtual plottable {
43 public:
45 public:
46  virtual void* cast(const std::string& a_class) const {
47  if(void* p = cmp_cast<bins2D>(this,a_class)) {return p;}
48  return plottable::cast(a_class);
49  }
50 public:
51  virtual ~bins2D(){}
52 public:
53  virtual void bins_Sw_range(float&,float&,bool) const = 0;
54 public:
55  // x axis :
56  virtual unsigned int x_bins() const = 0;
57  virtual float x_axis_min() const = 0;
58  virtual float x_axis_max() const = 0;
59  // y axis :
60  virtual unsigned int y_bins() const = 0;
61  virtual float y_axis_min() const = 0;
62  virtual float y_axis_max() const = 0;
63  // bins on x axis :
64  virtual float bin_lower_edge_x(int) const = 0;
65  virtual float bin_upper_edge_x(int) const = 0;
66  // bins on y axis :
67  virtual float bin_lower_edge_y(int) const = 0;
68  virtual float bin_upper_edge_y(int) const = 0;
69  // bins :
70  virtual bool has_entries_per_bin() const = 0;
71  virtual unsigned int bin_entries(int,int) const = 0;
72  virtual float bin_Sw(int,int) const = 0;
73  virtual float bin_error(int,int) const = 0;
74 };
75 
76 class func1D : public virtual plottable {
77 public:
79 public:
80  virtual void* cast(const std::string& a_class) const {
81  if(void* p = cmp_cast<func1D>(this,a_class)) {return p;}
82  return plottable::cast(a_class);
83  }
84 public:
85  virtual ~func1D(){}
86 public:
87  virtual bool value(float,float&) const = 0;
88  virtual unsigned int x_steps() const = 0;
89  virtual float x_min() const = 0;
90  virtual float x_max() const = 0;
91 };
92 
93 class func2D : public virtual plottable {
94 public:
96 public:
97  virtual void* cast(const std::string& a_class) const {
98  if(void* p = cmp_cast<func2D>(this,a_class)) {return p;}
99  return plottable::cast(a_class);
100  }
101 public:
102  virtual ~func2D(){}
103 public:
104  virtual bool value(float,float,float&) const = 0;
105  virtual unsigned int x_steps() const = 0;
106  virtual float x_min() const = 0;
107  virtual float x_max() const = 0;
108  virtual unsigned int y_steps() const = 0;
109  virtual float y_min() const = 0;
110  virtual float y_max() const = 0;
111 /*
112  //For "inside" functions :
113  virtual unsigned int number_of_points() const = 0;
114  virtual bool ith_point(int,float&,float&,bool&) const = 0;
115  virtual bool set_ith_point(int,float,float) = 0;
116  virtual bool dragger_update_points() const = 0;
117 */
118 };
119 
120 class points2D : public virtual plottable {
121 public:
123 public:
124  virtual void* cast(const std::string& a_class) const {
125  if(void* p = cmp_cast<points2D>(this,a_class)) {return p;}
126  return plottable::cast(a_class);
127  }
128 public:
129  virtual ~points2D(){}
130 public:
131  virtual float x_axis_min() const = 0;
132  virtual float x_axis_max() const = 0;
133  virtual float y_axis_min() const = 0;
134  virtual float y_axis_max() const = 0;
135 
136  virtual unsigned int points() const = 0;
137  virtual bool ith_point(unsigned int,float&,float&) const = 0;
138 };
139 
140 class points3D : public virtual plottable {
141 public:
143 public:
144  virtual void* cast(const std::string& a_class) const {
145  if(void* p = cmp_cast<points3D>(this,a_class)) {return p;}
146  return plottable::cast(a_class);
147  }
148 public:
149  virtual ~points3D(){}
150 public:
151  virtual float x_axis_min() const = 0;
152  virtual float x_axis_max() const = 0;
153  virtual float y_axis_min() const = 0;
154  virtual float y_axis_max() const = 0;
155  virtual float z_axis_min() const = 0;
156  virtual float z_axis_max() const = 0;
157 
158  virtual unsigned int points() const = 0;
159  virtual bool ith_point(unsigned int,float&,float&,float&) const = 0;
160 };
161 
162 inline const std::string& s_tools_sg_fit2plot() {
163  static const std::string s_v("tools::sg::fit2plot");
164  return s_v;
165 }
166 
167 }}
168 
172 #include "../colorf"
173 
174 namespace tools {
175 namespace sg {
176 
177 class plottable_text : public virtual plotprim {
178  typedef plotprim parent;
179 public:
181 public: //tools::sg::plotprim
182  virtual void* cast(const std::string& a_class) const {
183  if(void* p = cmp_cast<plottable_text>(this,a_class)) {return p;}
184  return 0;
185  }
186  virtual plotprim* copy() const {return new plottable_text(*this);}
187 public:
188  enum text_mode {
192  };
193 public:
194  plottable_text(const std::string& a_TEXT,float a_X,float a_Y,
195  float a_SIZE,text_mode a_text_mode,
196  /*
197  float a_ANGLE = 0,
198  char a_HJUST = 'L',char a_VJUST = 'B',
199  const std::string& a_FONT = "Hershey",const colorf& a_TXCI = colorf(0,0,0,1),
200  float a_SCALE = 1,bool a_SMOOTHING = false,bool a_HINTING = false,float a_line_width = 1,
201  font_modeling a_font_modeling = font_filled
202  */
203  float a_ANGLE,
204  char a_HJUST,char a_VJUST,
205  const std::string& a_FONT,const colorf& a_TXCI,
206  float a_SCALE,bool a_SMOOTHING,bool a_HINTING,float a_line_width,
207  font_modeling a_font_modeling
208  )
209  :m_TEXT(a_TEXT),m_X(a_X),m_Y(a_Y)
210  ,m_SIZE(a_SIZE),m_text_mode(a_text_mode)
211  ,m_ANGLE(a_ANGLE)
212  ,m_HJUST(a_HJUST)
213  ,m_VJUST(a_VJUST)
214  ,m_FONT(a_FONT),m_TXCI(a_TXCI)
215  ,m_SCALE(a_SCALE),m_SMOOTHING(a_SMOOTHING),m_HINTING(a_HINTING),m_line_width(a_line_width)
216  ,m_font_modeling(a_font_modeling)
217  {}
218 public:
220  :parent(a_from)
221  ,m_TEXT(a_from.m_TEXT)
222  ,m_X(a_from.m_X),m_Y(a_from.m_Y)
223  ,m_SIZE(a_from.m_SIZE),m_text_mode(a_from.m_text_mode)
224  ,m_ANGLE(a_from.m_ANGLE)
225  ,m_HJUST(a_from.m_HJUST)
226  ,m_VJUST(a_from.m_VJUST)
227  ,m_FONT(a_from.m_FONT),m_TXCI(a_from.m_TXCI)
230  {}
232  m_TEXT = a_from.m_TEXT;
233  m_X = a_from.m_X;
234  m_Y = a_from.m_Y;
235  m_SIZE = a_from.m_SIZE;
236  m_text_mode = a_from.m_text_mode;
237  m_ANGLE = a_from.m_ANGLE;
238  m_HJUST = a_from.m_HJUST;
239  m_VJUST = a_from.m_VJUST;
240  m_FONT = a_from.m_FONT;
241  m_TXCI = a_from.m_TXCI;
242  m_SCALE = a_from.m_SCALE;
243  m_SMOOTHING = a_from.m_SMOOTHING;
244  m_HINTING = a_from.m_HINTING;
245  m_line_width = a_from.m_line_width;
247  return *this;
248  }
249 public:
250  std::string m_TEXT;
251  float m_X;
252  float m_Y;
253  float m_SIZE;
255  float m_ANGLE;
256  char m_HJUST;
257  char m_VJUST;
258  std::string m_FONT;
260  float m_SCALE;
262  bool m_HINTING;
263  float m_line_width; //used if font is hershey.
265 };
266 
267 class plottable_box : public virtual plotprim {
268  typedef plotprim parent;
269 public:
271 public: //tools::sg::plotprim
272  virtual void* cast(const std::string& a_class) const {
273  if(void* p = cmp_cast<plottable_box>(this,a_class)) {return p;}
274  return 0;
275  }
276  virtual plotprim* copy() const {return new plottable_box(*this);}
277 public:
279  HOLLOW = 0,
280  SOLID = 1,
281  PATTERN = 2,
282  HATCHED = 3
283  };
284 public:
285  plottable_box(float a_X1,float a_Y1,float a_X2,float a_Y2,
286  fill_area_style a_FAIS,const colorf& a_FACI,
287  int a_FASI,
288  bool a_BORD,const colorf& a_PLCI,float a_LWID)
289  :m_X1(a_X1),m_Y1(a_Y1),m_X2(a_X2),m_Y2(a_Y2)
290  ,m_FAIS(a_FAIS),m_FACI(a_FACI),m_FASI(a_FASI),m_BORD(a_BORD),m_PLCI(a_PLCI),m_LWID(a_LWID)
291  {}
292 public:
294  :parent(a_from)
295  ,m_X1(a_from.m_X1),m_Y1(a_from.m_Y1)
296  ,m_X2(a_from.m_X2),m_Y2(a_from.m_Y2)
297  ,m_FAIS(a_from.m_FAIS),m_FACI(a_from.m_FACI),m_FASI(a_from.m_FASI),m_BORD(a_from.m_BORD),m_PLCI(a_from.m_PLCI)
298  ,m_LWID(a_from.m_LWID)
299  {}
301  m_X1 = a_from.m_X1;
302  m_Y1 = a_from.m_Y1;
303  m_X2 = a_from.m_X2;
304  m_Y2 = a_from.m_Y2;
305  m_FAIS = a_from.m_FAIS;
306  m_FACI = a_from.m_FACI;
307  m_FASI = a_from.m_FASI;
308  m_BORD = a_from.m_BORD;
309  m_PLCI = a_from.m_PLCI;
310  m_LWID = a_from.m_LWID;
311  return *this;
312  }
313 public:
314  float m_X1;
315  float m_Y1;
316  float m_X2;
317  float m_Y2;
320  int m_FASI;
321  bool m_BORD;
323  float m_LWID;
324 };
325 
326 class plottable_ellipse : public virtual plotprim {
327  typedef plotprim parent;
328 public:
330 public: //tools::sg::plotprim
331  virtual void* cast(const std::string& a_class) const {
332  if(void* p = cmp_cast<plottable_ellipse>(this,a_class)) {return p;}
333  return 0;
334  }
335  virtual plotprim* copy() const {return new plottable_ellipse(*this);}
336 public:
338  HOLLOW = 0,
339  SOLID = 1,
340  PATTERN = 2,
341  HATCHED = 3
342  };
343 public:
344  plottable_ellipse(float a_X,float a_Y,float a_R1,float a_R2,
345  fill_area_style a_FAIS,const colorf& a_FACI,
346  int a_FASI,
347  bool a_BORD,const colorf& a_PLCI,float a_LWID)
348  :m_X(a_X),m_Y(a_Y),m_R1(a_R1),m_R2(a_R2)
349  ,m_FAIS(a_FAIS),m_FACI(a_FACI),m_FASI(a_FASI),m_BORD(a_BORD),m_PLCI(a_PLCI),m_LWID(a_LWID)
350  {}
351 public:
353  :parent(a_from)
354  ,m_X(a_from.m_X),m_Y(a_from.m_Y)
355  ,m_R1(a_from.m_R1),m_R2(a_from.m_R2)
356  ,m_FAIS(a_from.m_FAIS),m_FACI(a_from.m_FACI),m_FASI(a_from.m_FASI),m_BORD(a_from.m_BORD),m_PLCI(a_from.m_PLCI)
357  ,m_LWID(a_from.m_LWID)
358  {}
360  m_X = a_from.m_X;
361  m_Y = a_from.m_Y;
362  m_R1 = a_from.m_R1;
363  m_R2 = a_from.m_R2;
364  m_FAIS = a_from.m_FAIS;
365  m_FACI = a_from.m_FACI;
366  m_FASI = a_from.m_FASI;
367  m_BORD = a_from.m_BORD;
368  m_PLCI = a_from.m_PLCI;
369  m_LWID = a_from.m_LWID;
370  return *this;
371  }
372 public:
373  float m_X;
374  float m_Y;
375  float m_R1;
376  float m_R2;
379  int m_FASI;
380  bool m_BORD;
382  float m_LWID;
383 };
384 
385 }}
386 
387 #include "../img"
388 #include "../typedefs"
389 
390 namespace tools {
391 namespace sg {
392 
393 class plottable_img : public virtual plotprim {
394  typedef plotprim parent;
395 public:
397 public: //tools::sg::plotprim
398  virtual void* cast(const std::string& a_class) const {
399  if(void* p = cmp_cast<plottable_img>(this,a_class)) {return p;}
400  return 0;
401  }
402  virtual plotprim* copy() const {return new plottable_img(*this);}
403 public:
404  plottable_img(const img<byte>& a_img,float a_X,float a_Y,float a_WIDTH,float a_HEIGHT,float a_THETA,float a_PHI)
405  :m_img(a_img)
406  ,m_X(a_X),m_Y(a_Y)
407  ,m_WIDTH(a_WIDTH),m_HEIGHT(a_HEIGHT),m_THETA(a_THETA),m_PHI(a_PHI)
408  {}
409 public:
411  :parent(a_from)
412  ,m_img(a_from.m_img)
413  ,m_X(a_from.m_X),m_Y(a_from.m_Y)
414  ,m_WIDTH(a_from.m_WIDTH),m_HEIGHT(a_from.m_HEIGHT),m_THETA(a_from.m_THETA),m_PHI(a_from.m_PHI)
415  {}
417  m_img = a_from.m_img;
418  m_X = a_from.m_X;
419  m_Y = a_from.m_Y;
420  m_WIDTH = a_from.m_WIDTH;
421  m_HEIGHT = a_from.m_HEIGHT;
422  m_THETA = a_from.m_THETA;
423  m_PHI = a_from.m_PHI;
424  return *this;
425  }
426 public:
428  float m_X;
429  float m_Y;
430  float m_WIDTH;
431  float m_HEIGHT;
432  float m_THETA;
433  float m_PHI;
434 };
435 
436 }}
437 
438 
439 #endif
tools::sg::points3D::z_axis_min
virtual float z_axis_min() const =0
tools::sg::plottable_ellipse::operator=
plottable_ellipse & operator=(const plottable_ellipse &a_from)
Definition: plottables:359
tools::sg::plottable_text::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:182
tools::sg::func1D::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:80
tools::sg::plottable_box::m_X1
float m_X1
Definition: plottables:314
tools::sg::bins2D::bin_upper_edge_y
virtual float bin_upper_edge_y(int) const =0
tools::sg::plottable_img::m_WIDTH
float m_WIDTH
Definition: plottables:430
tools::sg::plottable_img::plottable_img
plottable_img(const plottable_img &a_from)
Definition: plottables:410
tools::sg::bins2D::bins_Sw_range
virtual void bins_Sw_range(float &, float &, bool) const =0
tools::sg::plottable::cast
virtual void * cast(const std::string &a_class) const
Definition: plottable:19
tools::sg::plottable_ellipse::m_X
float m_X
Definition: plottables:373
tools::sg::plottable_box::fill_area_style
fill_area_style
Definition: plottables:278
tools::sg::plottable_ellipse::m_FASI
int m_FASI
Definition: plottables:379
tools::sg::bins1D
Definition: plottables:13
tools::sg::func2D::x_min
virtual float x_min() const =0
tools::sg::plottable_box::HOLLOW
@ HOLLOW
Definition: plottables:279
tools::sg::plottable_ellipse::m_R2
float m_R2
Definition: plottables:376
tools::sg::plottable_box::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:272
tools::sg::bins2D
Definition: plottables:42
tools::img< byte >
tools::sg::bins2D::y_axis_max
virtual float y_axis_max() const =0
tools::sg::plottable_ellipse::HATCHED
@ HATCHED
Definition: plottables:341
tools::sg::bins2D::bin_lower_edge_y
virtual float bin_lower_edge_y(int) const =0
tools::sg::plottable_img::m_PHI
float m_PHI
Definition: plottables:433
tools::sg::func1D::x_max
virtual float x_max() const =0
tools::sg::plottable_text::m_X
float m_X
Definition: plottables:251
tools::sg::plottable_box::m_FAIS
fill_area_style m_FAIS
Definition: plottables:318
tools::sg::bins1D::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:17
tools::sg::bins1D::bin_error
virtual float bin_error(int) const =0
tools::sg::plottable_box::PATTERN
@ PATTERN
Definition: plottables:281
tools::sg::bins2D::bin_Sw
virtual float bin_Sw(int, int) const =0
tools::sg::plottable_img::m_X
float m_X
Definition: plottables:428
tools::sg::plottable_text::m_font_modeling
font_modeling m_font_modeling
Definition: plottables:264
tools::sg::plottable_text::m_FONT
std::string m_FONT
Definition: plottables:258
tools::sg::plottable_text::operator=
plottable_text & operator=(const plottable_text &a_from)
Definition: plottables:231
tools::sg::plottable
Definition: plottable:15
tools::colorf
Definition: colorf:11
tools::sg::plottable_box::m_Y1
float m_Y1
Definition: plottables:315
tools::sg::func2D::x_steps
virtual unsigned int x_steps() const =0
tools::sg::s_tools_sg_fit2plot
const std::string & s_tools_sg_fit2plot()
Definition: plottables:162
tools::sg::plottable_img::m_Y
float m_Y
Definition: plottables:429
tools::sg::bins1D::has_entries_per_bin
virtual bool has_entries_per_bin() const =0
tools::sg::func1D
Definition: plottables:76
tools::sg::points3D::x_axis_max
virtual float x_axis_max() const =0
tools::sg::plottable_ellipse::copy
virtual plotprim * copy() const
Definition: plottables:335
tools::sg::func2D::y_max
virtual float y_max() const =0
tools::sg::points2D::x_axis_min
virtual float x_axis_min() const =0
tools::sg::func2D
Definition: plottables:93
tools::sg::plottable_text::m_ANGLE
float m_ANGLE
Definition: plottables:255
tools::sg::plottable_ellipse::plottable_ellipse
plottable_ellipse(float a_X, float a_Y, float a_R1, float a_R2, fill_area_style a_FAIS, const colorf &a_FACI, int a_FASI, bool a_BORD, const colorf &a_PLCI, float a_LWID)
Definition: plottables:344
tools::sg::points3D::x_axis_min
virtual float x_axis_min() const =0
tools::sg::plottable_ellipse::m_LWID
float m_LWID
Definition: plottables:382
tools::sg::plottable_text::m_line_width
float m_line_width
Definition: plottables:263
tools::sg::plottable_box::m_BORD
bool m_BORD
Definition: plottables:321
tools::sg::plottable_text::text_enforce_width
@ text_enforce_width
Definition: plottables:190
tools::sg::plottable_img::m_THETA
float m_THETA
Definition: plottables:432
tools::sg::bins2D::~bins2D
virtual ~bins2D()
Definition: plottables:51
tools::sg::bins2D::has_entries_per_bin
virtual bool has_entries_per_bin() const =0
tools::sg::plotprim
Definition: plottable:40
tools::sg::func2D::x_max
virtual float x_max() const =0
tools::sg::bins2D::y_axis_min
virtual float y_axis_min() const =0
tools::sg::plottable_box::plottable_box
plottable_box(float a_X1, float a_Y1, float a_X2, float a_Y2, fill_area_style a_FAIS, const colorf &a_FACI, int a_FASI, bool a_BORD, const colorf &a_PLCI, float a_LWID)
Definition: plottables:285
tools::sg::points2D::points
virtual unsigned int points() const =0
tools::sg::plottable_text::m_SMOOTHING
bool m_SMOOTHING
Definition: plottables:261
tools::sg::points3D::ith_point
virtual bool ith_point(unsigned int, float &, float &, float &) const =0
tools::sg::plottable_img::plottable_img
plottable_img(const img< byte > &a_img, float a_X, float a_Y, float a_WIDTH, float a_HEIGHT, float a_THETA, float a_PHI)
Definition: plottables:404
tools::sg::plottable_text::m_SCALE
float m_SCALE
Definition: plottables:260
tools::sg::plottable_img::copy
virtual plotprim * copy() const
Definition: plottables:402
tools::sg::plottable_box::SOLID
@ SOLID
Definition: plottables:280
tools::sg::points2D::y_axis_min
virtual float y_axis_min() const =0
TOOLS_SCLASS
#define TOOLS_SCLASS(a_name)
Definition: S_STRING:41
tools::sg::plottable_box
Definition: plottables:267
tools::sg::plottable_text::plottable_text
plottable_text(const plottable_text &a_from)
Definition: plottables:219
tools::sg::bins2D::bin_upper_edge_x
virtual float bin_upper_edge_x(int) const =0
tools::sg::bins1D::bins_Sw_range
virtual void bins_Sw_range(float &, float &, bool) const =0
tools::sg::plottable_ellipse::HOLLOW
@ HOLLOW
Definition: plottables:338
tools::sg::func1D::value
virtual bool value(float, float &) const =0
tools::sg::bins1D::axis_min
virtual float axis_min() const =0
tools::sg::plottable_text::m_text_mode
text_mode m_text_mode
Definition: plottables:254
tools::sg::plottable_ellipse::fill_area_style
fill_area_style
Definition: plottables:337
tools::sg::plottable_ellipse::m_FAIS
fill_area_style m_FAIS
Definition: plottables:377
tools::sg::bins2D::bin_entries
virtual unsigned int bin_entries(int, int) const =0
tools::sg::plottable_ellipse::m_PLCI
colorf m_PLCI
Definition: plottables:381
tools::sg::func2D::value
virtual bool value(float, float, float &) const =0
tools::sg::func2D::y_steps
virtual unsigned int y_steps() const =0
tools::sg::plottable_text::m_TEXT
std::string m_TEXT
Definition: plottables:250
tools::sg::plottable_text::m_SIZE
float m_SIZE
Definition: plottables:253
tools::sg::plottable_box::m_PLCI
colorf m_PLCI
Definition: plottables:322
tools::sg::plottable_text::m_HJUST
char m_HJUST
Definition: plottables:256
tools::sg::plottable_box::HATCHED
@ HATCHED
Definition: plottables:282
tools::sg::points2D::ith_point
virtual bool ith_point(unsigned int, float &, float &) const =0
tools::sg::plottable_img::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:398
tools::sg::bins2D::bin_lower_edge_x
virtual float bin_lower_edge_x(int) const =0
tools::sg::plottable_ellipse::SOLID
@ SOLID
Definition: plottables:339
tools::sg::plottable_box::m_X2
float m_X2
Definition: plottables:316
tools::sg::font_modeling
font_modeling
Definition: enums:91
plottable
tools::sg::bins2D::x_axis_max
virtual float x_axis_max() const =0
tools::sg::plottable_ellipse::m_BORD
bool m_BORD
Definition: plottables:380
tools::sg::points2D::y_axis_max
virtual float y_axis_max() const =0
tools::sg::points2D::x_axis_max
virtual float x_axis_max() const =0
tools::sg::plottable_img::m_img
img< byte > m_img
Definition: plottables:427
tools::sg::plottable_box::plottable_box
plottable_box(const plottable_box &a_from)
Definition: plottables:293
tools::sg::bins1D::~bins1D
virtual ~bins1D()
Definition: plottables:22
tools::sg::plottable_img::operator=
plottable_img & operator=(const plottable_img &a_from)
Definition: plottables:416
tools::sg::plottable_text::text_as_it
@ text_as_it
Definition: plottables:189
tools::sg::plottable_img::m_HEIGHT
float m_HEIGHT
Definition: plottables:431
tools::sg::plottable_box::operator=
plottable_box & operator=(const plottable_box &a_from)
Definition: plottables:300
tools::sg::bins1D::is_profile
virtual bool is_profile() const =0
tools::sg::points3D::y_axis_max
virtual float y_axis_max() const =0
tools::sg::bins1D::bin_lower_edge
virtual float bin_lower_edge(int) const =0
tools::sg::func2D::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:97
tools::sg::bins1D::bin_upper_edge
virtual float bin_upper_edge(int) const =0
tools
inlined C code : ///////////////////////////////////
Definition: aida_ntuple:26
tools::sg::plottable_text
Definition: plottables:177
tools::sg::points3D::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:144
tools::sg::plottable_box::copy
virtual plotprim * copy() const
Definition: plottables:276
tools::sg::bins1D::bin_entries
virtual unsigned int bin_entries(int) const =0
tools::sg::plottable_ellipse::plottable_ellipse
plottable_ellipse(const plottable_ellipse &a_from)
Definition: plottables:352
tools::sg::plottable_ellipse::m_Y
float m_Y
Definition: plottables:374
tools::sg::plottable_ellipse
Definition: plottables:326
tools::sg::bins1D::bins
virtual unsigned int bins() const =0
tools::sg::plottable_text::m_Y
float m_Y
Definition: plottables:252
tools::sg::plottable_text::m_HINTING
bool m_HINTING
Definition: plottables:262
enums
tools::sg::bins2D::bin_error
virtual float bin_error(int, int) const =0
tools::sg::bins1D::axis_max
virtual float axis_max() const =0
tools::sg::plottable_text::plottable_text
plottable_text(const std::string &a_TEXT, float a_X, float a_Y, float a_SIZE, text_mode a_text_mode, float a_ANGLE, char a_HJUST, char a_VJUST, const std::string &a_FONT, const colorf &a_TXCI, float a_SCALE, bool a_SMOOTHING, bool a_HINTING, float a_line_width, font_modeling a_font_modeling)
Definition: plottables:194
tools::sg::plottable_text::text_mode
text_mode
Definition: plottables:188
tools::sg::bins2D::x_axis_min
virtual float x_axis_min() const =0
tools::sg::plottable_text::text_enforce_height
@ text_enforce_height
Definition: plottables:191
tools::sg::points3D::~points3D
virtual ~points3D()
Definition: plottables:149
tools::sg::func1D::x_steps
virtual unsigned int x_steps() const =0
tools::sg::func2D::y_min
virtual float y_min() const =0
tools::sg::func1D::~func1D
virtual ~func1D()
Definition: plottables:85
tools::sg::plottable_box::m_FACI
colorf m_FACI
Definition: plottables:319
tools::sg::plottable_text::m_TXCI
colorf m_TXCI
Definition: plottables:259
tools::sg::bins2D::x_bins
virtual unsigned int x_bins() const =0
tools::sg::points3D::z_axis_max
virtual float z_axis_max() const =0
tools::sg::plottable_img
Definition: plottables:393
tools::sg::func1D::x_min
virtual float x_min() const =0
tools::sg::points2D::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:124
tools::sg::points3D::points
virtual unsigned int points() const =0
tools::sg::plottable_ellipse::m_FACI
colorf m_FACI
Definition: plottables:378
tools::sg::bins2D::y_bins
virtual unsigned int y_bins() const =0
tools::sg::points2D::~points2D
virtual ~points2D()
Definition: plottables:129
tools::sg::plottable_ellipse::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:331
tools::sg::plottable_box::m_Y2
float m_Y2
Definition: plottables:317
tools::sg::func2D::~func2D
virtual ~func2D()
Definition: plottables:102
tools::sg::plottable_ellipse::m_R1
float m_R1
Definition: plottables:375
tools::sg::points2D
Definition: plottables:120
tools::sg::points3D
Definition: plottables:140
tools::sg::points3D::y_axis_min
virtual float y_axis_min() const =0
tools::sg::plottable_text::copy
virtual plotprim * copy() const
Definition: plottables:186
tools::sg::plottable_box::m_FASI
int m_FASI
Definition: plottables:320
tools::sg::plottable_ellipse::PATTERN
@ PATTERN
Definition: plottables:340
tools::sg::bins1D::bin_Sw
virtual float bin_Sw(int) const =0
tools::sg::plottable_box::m_LWID
float m_LWID
Definition: plottables:323
tools::sg::plottable_text::m_VJUST
char m_VJUST
Definition: plottables:257
tools::sg::bins2D::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:46