1 #ifndef __JROOT__JMARKERATTRIBUTES__ 
    2 #define __JROOT__JMARKERATTRIBUTES__ 
    6 #include "TAttMarker.h" 
   16 namespace JPP { 
using namespace JROOT; }
 
   41       std::vector<TAttMarker>(),
 
   44       push_back(TAttMarker(kBlack,   20, 0.85 * size));
 
   45       push_back(TAttMarker(kRed,     21, 0.70 * size));
 
   46       push_back(TAttMarker(kBlue,    23, 0.75 * size));
 
   47       push_back(TAttMarker(kGreen,   22, 0.75 * size));
 
   48       push_back(TAttMarker(kMagenta, 34, 0.75 * size));
 
   49       push_back(TAttMarker(kYellow,  29, 0.75 * size));
 
   50       push_back(TAttMarker(kCyan,    33, 0.75 * size));
 
   52       push_back(TAttMarker(kBlack,   24, 0.85 * size));
 
   53       push_back(TAttMarker(kRed,     25, 0.70 * size));
 
   54       push_back(TAttMarker(kBlue,    32, 0.75 * size));
 
   55       push_back(TAttMarker(kGreen,   26, 0.75 * size));
 
   56       push_back(TAttMarker(kMagenta, 28, 0.75 * size));
 
   57       push_back(TAttMarker(kYellow,  30, 0.75 * size));
 
   58       push_back(TAttMarker(kCyan,    27, 0.75 * size));
 
   82       for (iterator i = this->begin(); i != this->end(); ++i) {
 
   83         i->SetMarkerSize(i->GetMarkerSize() * size);
 
  104       return !this->empty();
 
  117       if (index < this->size()) {
 
  135     const TAttMarker& 
get(
unsigned int index)
 
  137       return this->at(
index%this->size());
 
virtual bool hasNext() override
Check availability of next element. 
 
Interface for object iteration with rewinding. 
 
JMarkerAttributes(const Double_t size=1.0)
Constructor. 
 
virtual void rewind() override
Rewind index. 
 
JRewindableObjectIterator< TAttMarker >::pointer_type pointer_type
 
Auxiliary class to set marker attributes. 
 
void setMarkerSize(const Double_t size)
Set marker size. 
 
virtual const pointer_type & next() override
Get next element. 
 
static JMarkerAttributes & getInstance()
Get reference to unique instance of this class object. 
 
virtual void reset() override
Reset pointer.