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