21namespace Experimental {
42 REveLine(
const std::string &
name =
"",
const std::string &title =
"",
Int_t n_points = 0);
virtual void SetMainColor(Color_t color)
Set main color of the element.
REveLineProjected()
Default constructor.
virtual ~REveLineProjected()
REveLineProjected(const REveLineProjected &)
void SetDepthLocal(Float_t d) override
Set depth (z-coordinate) of the projected points.
void SetProjection(REveProjectionManager *mng, REveProjectable *model) override
Set projection manager and projection model.
REveLineProjected & operator=(const REveLineProjected &)
void UpdateProjection() override
Re-apply the projection.
REveElement * GetProjectedAsElement() override
Returns this projected dynamic-casted to REveElement.
REveLine An arbitrary polyline with fixed line and marker attributes.
REveVector GetLineEnd() const
Return the last point of the line.
void ReduceSegmentLengths(Float_t max)
Make sure that no segment is longer than max.
void CopyVizParams(const REveElement *el) override
Copy visualization parameters from element el.
void SetSmooth(Bool_t r)
Set smooth rendering. Propagate to projected lines.
void SetMarkerColor(Color_t col) override
Set marker color. Propagate to projected lines.
void WriteVizParams(std::ostream &out, const TString &var) override
Write visualization parameters.
REveVector GetLineStart() const
Return the first point of the line.
REveLine(const std::string &name="", const std::string &title="", Int_t n_points=0)
Constructor.
void SetLineWidth(Width_t lwidth) override
Set line-style of the line.
static Bool_t GetDefaultSmooth()
Get default value for smooth-line drawing flag.
void SetLineColor(Color_t col) override
Set the line color.
static void SetDefaultSmooth(Bool_t r)
Set default value for smooth-line drawing flag (default kFALSE).
REveLine & operator=(const REveLine &)
static Bool_t fgDefaultSmooth
Bool_t GetRnrPoints() const
Bool_t GetRnrLine() const
void SetLineStyle(Style_t lstyle) override
Set line-style of the line.
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
void SetRnrLine(Bool_t r)
Set rendering of line. Propagate to projected lines.
Float_t CalculateLineLength() const
Sum-up lengths of individual segments.
void SetRnrPoints(Bool_t r)
Set rendering of points. Propagate to projected lines.
TClass * ProjectedClass(const REveProjection *p) const override
Virtual from REveProjectable, returns REvePointSetProjected class.
void BuildRenderData() override
Virtual from REveElement. Prepares render data for binary streaming to client.
REveProjectionManager Manager class for steering of projections and managing projected objects.
REveProjection Base for specific classes that implement non-linear projections.
TClass instances represent classes, structs and namespaces in the ROOT type system.