12 #ifndef ROOT_TEvePointSet
13 #define ROOT_TEvePointSet
Abstract base class for classes that hold results of a non-linear projection transformation.
virtual const TGPicture * GetListTreeIcon(Bool_t open=kFALSE)
Return pointset icon.
ClassDef(TEvePointSetArray, 1)
void SetRange(Double_t min, Double_t max)
Set active range of the separating quantity.
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
Int_t fDefPointSetCapacity
virtual TObject * GetObject(const TEveException &) const
Get a TObject associated with this render-element.
Double_t GetCurMin() const
Double_t GetCurMax() const
virtual TEvePointSet * CloneElement() const
Clone the element via copy constructor.
virtual void NameTitleChanged()
Virtual function called when a name or title of the element has been changed.
virtual void SetElementNameTitle(const char *n, const char *t)
Virtual function for setting of name and title of render element.
Int_t GetIntIdsPerPoint() const
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
TEvePointSetProjected()
Default contructor.
virtual void ClonePoints(const TEvePointSet &e)
Clone points and all point-related information from point-set 'e'.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set marker style, propagate to projecteds.
ClassDef(TEvePointSetProjected, 1)
virtual void UpdateProjection()
Re-apply the projection.
virtual void RemoveElementsLocal()
Virtual from TEveElement, provide bin management.
virtual void SetTitle(const char *t)
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.
Array of integers (32 bits per element).
ClassDef(TEvePointSet, 1)
virtual const char * GetName() const
Returns name of object.
TEvePointSetProjected & operator=(const TEvePointSetProjected &)
Projected copy of a TEvePointSet.
TEvePointSetArray(const TEvePointSetArray &)
The TNamed class is the base class for all named ROOT classes.
virtual ~TEvePointSet()
Destructor.
virtual void SetMarkerColor(Color_t col)
Base-class for non-linear projections.
virtual Int_t Size(Bool_t under=kFALSE, Bool_t over=kFALSE) const
Get the total number of filled points.
virtual void SetMarkerSize(Size_t msize=1)
Set marker size, propagate to projecteds.
Manager class for steering of projections and managing projected objects.
TEvePointSelectorConsumer is a virtual base for classes that can be filled from TTree data via the TE...
virtual void PointSelected(Int_t id)
Virtual method of base class TPointSet3D.
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
Abstract base-class for non-linear projectable objects.
Int_t GetDefPointSetCapacity() const
void SetOwnIds(Bool_t o)
Propagate id-object ownership to children.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
A 3-Dim function with parameters.
Bool_t Fill(Double_t x, Double_t y, Double_t z, Double_t quant)
Add a new point.
virtual void SetDepthLocal(Float_t d)
Set depth (z-coordinate) of the projected points.
TEvePointSet & operator=(const TEvePointSet &)
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.
virtual ~TEvePointSetProjected()
The ROOT global object gROOT contains a list of all defined classes.
virtual void SetElementName(const char *n)
Virtual function for setting of name of an element.
virtual void SetElementTitle(const char *t)
Virtual function for setting of title of an element.
virtual void Paint(Option_t *option="")
Paint point-set.
virtual void SetMainColor(Color_t color)
Set main color of the element.
virtual void RemoveElementLocal(TEveElement *el)
Virtual from TEveElement, provide bin management.
virtual void TakeAction(TEvePointSelector *)
Called from TEvePointSelector when internal arrays of the tree-selector are filled up and need to be ...
virtual void SetProjection(TEveProjectionManager *proj, TEveProjectable *model)
Set projection manager and projection model.
void AssertIntIdsSize()
Assert that size of IntId array is compatible with the size of the point array.
virtual const char * GetElementTitle() const
Virtual function for retrieving title of the render-element.
virtual void PointSelected(Int_t id)
Virtual method of base class TPointSet3D.
virtual const char * GetTitle() const
Returns title of object.
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEvePointSetProjected class.
virtual void InitFill(Int_t subIdNum)
Initialize point-set for new filling.
Int_t GrowFor(Int_t n_points)
Resizes internal array to allow additional n_points to be stored.
virtual TEveElement * GetProjectedAsElement()
Returns this projected dynamic-casted to TEveElement.
virtual void WriteVizParams(std::ostream &out, const TString &var)
Write visualization parameters.
TEvePointSetArray & operator=(const TEvePointSetArray &)
void SetPointIntIds(Int_t *ids)
Set integer ids for the last point that was registered (most probably via TPolyMarker3D::SetNextPoint...
virtual void SetMarkerSize(Size_t msize=1)
Set marker size, propagate to children.
virtual void TakeAction(TEvePointSelector *)
Called from TEvePointSelector when internal arrays of the tree-selector are filled up and need to be ...
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
void Reset(Int_t n_points=0, Int_t n_int_ids=0)
Drop all data and set-up the data structures to recive new data.
Mother of all ROOT objects.
TEvePointSet * GetBin(Int_t bin) const
Int_t * GetPointIntIds(Int_t p) const
Return a pointer to integer ids of point with index p.
void SetDefPointSetCapacity(Int_t c)
Exception class thrown by TEve classes and macros.
void SetPointId(TObject *id)
Set external object id of the last added point.
A TTree object has a header with a name and a title.
Int_t GetPointIntId(Int_t p, Int_t i) const
Return i-th integer id of point with index p.
TEvePointSet(Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
Constructor.
virtual ~TEvePointSetArray()
Destructor: deletes the fBins array.
TPolyMarker3D using TPointSet3DGL for direct OpenGL rendering.
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.
Editor for TEvePointSetArray class.
TEvePointSelector is a sub-class of TSelectorDraw for direct extraction of point-like data from a Tre...
virtual const char * GetElementName() const
Virtual function for retrieving name of the element.
Double_t fMin
Index of the last filled TEvePointSet.