60      Info(eh.
Data(), 
"has already been run.");
 
  114   gClient->GetMimeTypeList()->AddType(
"root/tmacro", 
"TEveMacro",
 
  115                                       "tmacro_s.xpm", 
"tmacro_t.xpm", 
"");
 
  125void ChompTailAndDir(
TString& 
s, 
char c=
'.')
 
  148   TString foo(mac); ChompTailAndDir(foo);
 
  171      gROOT->LoadMacro(mac);
 
  173   TString foo(mac); ChompTailAndDir(foo); foo += 
"()";
 
  183      gROOT->LoadMacro(mac);
 
  197      col[0] = (
UChar_t)(255*
c->GetRed());
 
  198      col[1] = (
UChar_t)(255*
c->GetGreen());
 
  199      col[2] = (
UChar_t)(255*
c->GetBlue());
 
  200      if (alpha) col[3] = 255;
 
  205      col[0] = 255; col[1] = 0; col[2] = 255;
 
  206      if (alpha) col[3] = 255;
 
  217   UChar_t alpha = (255*(100 - transparency))/100;
 
  222      col[0] = (
UChar_t)(255*
c->GetRed());
 
  223      col[1] = (
UChar_t)(255*
c->GetGreen());
 
  224      col[2] = (
UChar_t)(255*
c->GetBlue());
 
  230      col[0] = 255; col[1] = 0; col[2] = 255; col[3] = alpha;
 
  249      if (alpha) col[3] = 255;
 
  265   Int_t off = obj->IsA()->GetDataMemberOffset(varname);
 
  267      throw(eh + 
"could not find member '" + varname + 
"' in class " + obj->IsA()->
GetName() + 
".");
 
  268   return (
Color_t*) (((
char*)obj) + off);
 
  282   if (value < -2.5 || value > 2.5)
 
  284      Error(
"TEveUtil::SetColorBrightness", 
"value '%f' out of range [-0.5, 0.5].", value);
 
  294      for (
Int_t i = 0; i < n_col; ++i)
 
  303   for (
Int_t i = 0; i < n_col; ++i)
 
  311            croot = 
new TColor(*cdef);
 
  333         delete colors->RemoveAt(i);
 
  337   if (full_redraw && 
gEve != 0)
 
  349   using namespace TMath;
 
  355   else if (minQ > maxM)
 
  359   return minQ >= minM && maxQ <= maxM;
 
  370   using namespace TMath;
 
  376   else if (minQ > maxM)
 
  380   return maxQ >= minM && minQ <= maxM;
 
  388   if (minQ>=minM && maxQ<=maxM)
 
  391   else if (minQ<minM && maxQ>maxM)
 
  392      return (maxM-minM)/(maxQ-minQ);
 
  394   else if (minQ>=minM && maxQ>maxM)
 
  395      return (maxM-minQ)/(maxQ-minQ);
 
  397   else if (minQ<minM && maxQ<=maxM)
 
  398      return (maxQ-minM)/(maxQ-minQ);
 
  414{ 
return (
s == t.
Data()); }
 
  417{ 
return (
s == t.
Data()); }
 
  451   fModifyUpdateP (modify_update_p)
 
  592   static const TEveException eh(
"TEveRefBackPtr::DecRefCount ");
 
  596      if (--(i->second) <= 0)
 
  600      Warning(eh, 
"render element '%s' not found in back-refs.",
 
  613      i->first->AddStamp(stamps);
 
void Info(const char *location, const char *msgfmt,...)
 
void Error(const char *location, const char *msgfmt,...)
 
void Warning(const char *location, const char *msgfmt,...)
 
R__EXTERN TEveManager * gEve
 
bool operator==(const TString &t, const std::string &s)
 
TEveException operator+(const TEveException &s1, const std::string &s2)
 
R__EXTERN TGeoManager * gGeoManager
 
R__EXTERN TGeoIdentity * gGeoIdentity
 
The color creation and management class.
 
virtual void SetRGB(Float_t r, Float_t g, Float_t b)
Initialize this color and its associated colors.
 
virtual void GetRGB(Float_t &r, Float_t &g, Float_t &b) const
 
void Copy(TObject &color) const
Copy this color to obj.
 
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
 
static const TGPicture * fgRnrIcons[4]
 
static const TGPicture * fgListTreeIcons[9]
 
virtual TObject * GetObject(const TEveException &eh) const
Get a TObject associated with this render-element.
 
Exception class thrown by TEve classes and macros.
 
Exception safe wrapper for setting gGeoManager.
 
TEveGeoManagerHolder(const TEveGeoManagerHolder &)
 
virtual ~TEveGeoManagerHolder()
Destructor.
 
void FullRedraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Perform 3D redraw of all scenes and viewers.
 
Exception safe wrapper for setting gPad.
 
virtual ~TEvePadHolder()
Destructor.
 
TEvePadHolder(const TEvePadHolder &)
 
Base-class for reference-counted objects with reverse references to TEveElement objects.
 
virtual void StampBackPtrElements(UChar_t stamps)
Add given stamps to elements in the list of reverse references.
 
TEveRefBackPtr & operator=(const TEveRefBackPtr &)
Assignment operator.
 
RefMap_t::iterator RefMap_i
 
virtual ~TEveRefBackPtr()
Destructor. Noop, should complain if back-ref list is not empty.
 
TEveRefBackPtr()
Default constructor.
 
Base-class for reference-counted objects.
 
Standard utility functions for Eve.
 
static TObjArray * fgDefaultColors
 
static Float_t GetFraction(Float_t minM, Float_t maxM, Float_t minQ, Float_t maxQ)
Get fraction of interval [minQ, maxQ] in [minM, maxM].
 
static void SetColorBrightness(Float_t value, Bool_t full_redraw=kFALSE)
Tweak all ROOT colors to become brighter (if value > 0) or darker (value < 0).
 
static Bool_t IsU1IntervalOverlappingByMinMax(Float_t minM, Float_t maxM, Float_t minQ, Float_t maxQ)
Return true if interval Q is overlapping within interval M for U1 variables.
 
static void Macro(const char *mac)
Execute macro 'mac'. Do not reload the macro.
 
static void AssertMacro(const char *mac)
Load and execute macro 'mac' if it has not been loaded yet.
 
static void SetupGUI()
Setup icon pictures and mime-types.
 
static Color_t * FindColorVar(TObject *obj, const char *varname)
Find address of Color_t data-member with name varname in object obj.
 
static Bool_t IsU1IntervalContainedByMinMax(Float_t minM, Float_t maxM, Float_t minQ, Float_t maxQ)
Return true if interval Q is contained within interval M for U1 variables.
 
static void ColorFromIdx(Color_t ci, UChar_t col[4], Bool_t alpha=kTRUE)
Fill col with RGBA values corresponding to index ci.
 
static void SetupEnvironment()
Setup Include and Macro paths.
 
static void LoadMacro(const char *mac)
Makes sure that macro 'mac' is loaded, but do not reload it.
 
static Bool_t CheckMacro(const char *mac)
Checks if macro 'mac' is loaded.
 
An identity transformation.
 
The manager class for any TGeo geometry.
 
TObjArray * GetListOfMatrices() const
 
void SetNsegments(Int_t nseg)
Set number of segments for approximating circles in drawing.
 
Int_t GetNsegments() const
Get number of segments approximating circles.
 
Int_t GetEntriesFast() const
 
virtual void AddAt(TObject *obj, Int_t idx)
Add object at position ids.
 
TObject * At(Int_t idx) const
 
Mother of all ROOT objects.
 
virtual const char * GetName() const
Returns name of object.
 
const char * Data() const
 
TVirtualPad is an abstract base class for the Pad and Canvas classes.
 
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
 
static constexpr double s
 
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
 
Short_t Min(Short_t a, Short_t b)
 
constexpr Double_t TwoPi()