12#ifndef ROOT7_REvePointSet
13#define ROOT7_REvePointSet
26namespace Experimental {
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t SetMarkerStyle
REvePointSet is a render-element holding a collection of 3D points with optional per-point TRef and a...
virtual void SetMainColor(Color_t color)
Set main color of the element.
Double_t fMin
Index of the last filled REvePointSet.
void CloseBins()
Call this after all the points have been filled.
void SetMarkerSize(Size_t msize=1) override
Set marker size, propagate to children.
REvePointSetArray(const REvePointSetArray &)=delete
void SetDefPointSetCapacity(Int_t c)
void SetMarkerColor(Color_t tcolor=1) override
Set marker color, propagate to children.
Int_t GetDefPointSetCapacity() const
void RemoveElementsLocal() override
Virtual from REveElement, provide bin management.
void InitBins(const std::string &quant_name, Int_t nbins, Double_t min, Double_t max)
Initialize internal point-sets with given binning parameters.
Bool_t Fill(Double_t x, Double_t y, Double_t z, Double_t quant)
Add a new point.
REvePointSet * GetBin(Int_t bin) const
virtual ~REvePointSetArray()
Destructor: deletes the fBins array.
Double_t GetCurMax() const
Int_t fDefPointSetCapacity
void SetRange(Double_t min, Double_t max)
Set active range of the separating quantity.
void RemoveElementLocal(REveElement *el) override
Virtual from REveElement, provide bin management.
Int_t Size(Bool_t under=kFALSE, Bool_t over=kFALSE) const
Get the total number of filled points.
REvePointSetArray & operator=(const REvePointSetArray &)=delete
Double_t GetCurMin() const
void PointSelected(Int_t id)
Virtual method of base class TPointSet3D.
REvePointSetProjected & operator=(const REvePointSetProjected &)=delete
void SetProjection(REveProjectionManager *proj, REveProjectable *model) override
Set projection manager and projection model.
REvePointSetProjected()
Default contructor.
REvePointSetProjected(const REvePointSetProjected &)=delete
virtual ~REvePointSetProjected()
REveElement * GetProjectedAsElement() override
Returns this projected dynamic-casted to REveElement.
void UpdateProjection() override
Re-apply the projection.
void SetDepthLocal(Float_t d) override
Set depth (z-coordinate) of the projected points.
void PointSelected(Int_t id)
Virtual method of base class TPointSet3D.
virtual void ClonePoints(const REvePointSet &e)
Clone points and all point-related information from point-set 'e'.
REvePointSet * CloneElement() const override
Clone the element via copy constructor.
void WriteVizParams(std::ostream &out, const TString &var) override
Write visualization parameters.
REveVector & RefPoint(int n)
void SetMarkerColor(Color_t col) override
Set the marker color.
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Write core json.
void ComputeBBox() override
Compute bounding box.
virtual ~REvePointSet()
Destructor.
void SetMarkerSize(Size_t msize=1) override
Set marker size, propagate to projecteds.
void CopyVizParams(const REveElement *el) override
Copy visualization parameters from element el.
const REveVector & RefPoint(int n) const
std::vector< REveVector > fPoints
int SetPoint(int n, float x, float y, float z)
int SetNextPoint(float x, float y, float z)
void Reset(Int_t n_points=0)
Drop all data and set-up the data structures to recive new data.
REvePointSet & operator=(const REvePointSet &)=delete
void BuildRenderData() override
Crates 3D point array for rendering.
TClass * ProjectedClass(const REveProjection *p) const override
Virtual from REveProjectable, returns REvePointSetProjected class.
Int_t GrowFor(Int_t n_points)
Resizes internal array to allow additional n_points to be stored.
REveProjectionManager Manager class for steering of projections and managing projected objects.
REveProjection Base for specific classes that implement non-linear projections.
Helper for management of bounding-box information.
TClass instances represent classes, structs and namespaces in the ROOT type system.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.