31 for(
Int_t i = 0; i<npoints; i++)
43 parent->AddElement(ps);
62 for (
Int_t i=0; i<nps; ++i)
64 printf(
"level=%d nps=%d i=%d\n", level, nps, i);
65 ps = pointset(npoints, parent);
68 pointset_hierarchy(level, nps*fac, fac, npoints/fac, ps);
91 for (
Int_t i = 1; i <= 9; ++i)
98 for (
Int_t i = 0; i < 10000; ++i)
TEvePointSet * GetBin(Int_t bin) const
constexpr Double_t TwoPi()
static Int_t GetNumberOfColors()
Static function returning number of colors in the color palette.
static constexpr double ps
virtual void SetMarkerStyle(Style_t mstyle=1)
Set marker style, propagate to projecteds.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
static constexpr double rad
An array of point-sets with each point-set playing a role of a bin in a histogram.
virtual void SetMarkerColor(Color_t tcolor=1)
Set marker color, propagate to children.
static void SetPalette(Int_t ncolors, Int_t *colors, Float_t alpha=1.)
Static function.
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
static Int_t GetColorPalette(Int_t i)
Static function returning the color number i in current palette.
void SetPointId(TObject *id)
Set id of last point.
This is the base class for the ROOT Random number generators.
The TNamed class is the base class for all named ROOT classes.
virtual void SetMarkerColor(Color_t col)
Set the marker color.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
virtual void SetMarkerSize(Size_t msize=1)
Set marker size, propagate to projecteds.
Bool_t Fill(Double_t x, Double_t y, Double_t z, Double_t quant)
Add a new point.
R__EXTERN TEveManager * gEve
char * Form(const char *fmt,...)
TEvePointSet is a render-element holding a collection of 3D points with optional per-point TRef and a...
void CloseBins()
Call this after all the points have been filled.
R__EXTERN TRandom * gRandom
virtual void SetMainColor(Color_t color)
Set main color of the element.
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
static constexpr double s
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
virtual void SetMarkerSize(Size_t msize=1)
Set marker size, propagate to children.
you should not use this method at all Int_t Int_t z
virtual void SetMarkerStyle(Style_t mstyle=1)
Set marker style, propagate to children.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
void InitBins(const char *quant_name, Int_t nbins, Double_t min, Double_t max)
Initialize internal point-sets with given binning parameters.
void SetSourceCS(ETreeVarType_e cs)