42 REveLine(
const std::string &
name =
"",
const std::string &title =
"",
Int_t n_points = 0);
int Int_t
Signed integer 4 bytes (int).
short Width_t
Line width (short).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Color_t
Color number (short).
short Style_t
Style number (short).
float Float_t
Float 4 bytes (float).
virtual void SetMainColor(Color_t color)
Set main color of the element.
REveLineProjected()
Default constructor.
~REveLineProjected() override
void SetDepthLocal(Float_t d) override
Set depth (z-coordinate) of the projected points.
REveLineProjected(const REveLineProjected &)=delete
void SetProjection(REveProjectionManager *mng, REveProjectable *model) override
Set projection manager and projection model.
REveLineProjected & operator=(const REveLineProjected &)=delete
void UpdateProjection() override
Re-apply the projection.
REveElement * GetProjectedAsElement() override
Returns this projected dynamic-casted to REveElement.
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).
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.
REveLine & operator=(const REveLine &)=delete
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.
REvePointSet(const std::string &name="", const std::string &title="", Int_t n_points=0)
Constructor.
REveProjected(const REveProjected &)=delete
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.
Namespace for ROOT features in testing.
REveVectorT< Float_t > REveVector