![]() |
KaliVeda
Toolkit for HIC analysis
|
Simple wrapper for objects which can be drawn (graphs, histograms)
A drawable is an object which has as one of its base classes: TAttLine, TAttFill, TAttMarker. Examples are: TH1 (and all daughter classes) and TGraph. KVDrawable wraps a pointer to one of these objects and makes it easy to select line colour, marker style, etc. and draw the object with a single instruction:
As can be seen, the different marker/line/fill style indications can be chained together.
Definition at line 29 of file KVDrawable.h.
#include <KVDrawable.h>
Public Member Functions | |
| KVDrawable (const KVDrawable &d) | |
| KVDrawable (Drawable *d) | |
| KVDrawable (KVDrawable &&d) | |
| KVDrawable & | FillColor (int lc) |
| KVDrawable & | FillStyle (int lc) |
| KVDrawable & | LineColor (int lc) |
| KVDrawable & | LineStyle (int lc) |
| KVDrawable & | LineWidth (int lc) |
| KVDrawable & | MarkerColor (int lc) |
| KVDrawable & | MarkerSize (float lc) |
| KVDrawable & | MarkerStyle (int lc) |
| operator Drawable * () const | |
| Drawable * | operator-> () |
| KVDrawable & | operator= (const KVDrawable &d) |
| KVDrawable & | operator= (KVDrawable &&d) |
Private Attributes | |
| Drawable * | fDraw = nullptr |
|
inline |
Definition at line 32 of file KVDrawable.h.
|
inline |
Definition at line 34 of file KVDrawable.h.
|
inline |
Definition at line 36 of file KVDrawable.h.
|
inline |
Definition at line 78 of file KVDrawable.h.
|
inline |
Definition at line 83 of file KVDrawable.h.
|
inline |
Definition at line 63 of file KVDrawable.h.
|
inline |
Definition at line 68 of file KVDrawable.h.
|
inline |
Definition at line 73 of file KVDrawable.h.
|
inline |
Definition at line 88 of file KVDrawable.h.
|
inline |
Definition at line 98 of file KVDrawable.h.
|
inline |
Definition at line 93 of file KVDrawable.h.
|
inline |
Definition at line 59 of file KVDrawable.h.
|
inline |
Definition at line 55 of file KVDrawable.h.
|
inline |
Definition at line 40 of file KVDrawable.h.
|
inline |
Definition at line 47 of file KVDrawable.h.
|
private |
Definition at line 30 of file KVDrawable.h.