36 fSmooth (fgDefaultSmooth)
49 fSmooth (fgDefaultSmooth)
74 l->SetMarkerColor(col);
191 std::vector<TEveVector>
q;
195 for (
Int_t i = 1; i < s; ++i)
197 a =
b;
b.Set(&
p[3*i]);
d =
b -
a;
204 for (
Int_t j = 0; j <
n; ++j)
215 for (std::vector<TEveVector>::iterator i =
q.begin(); i !=
q.end(); ++i)
228 for (
Int_t i = 1; i < s; ++i,
p += 3)
265 TAttLine::operator=(*
m);
350 for (
Int_t i = 0; i <
n; ++i,
p+=3)
368 for (
Int_t i = 0; i <
n; ++i, o+=3,
p+=3)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
Color_t fLineColor
Line color.
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
Color_t fMarkerColor
Marker color.
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 TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
static const char * ToString(Bool_t b)
Convert Bool_t to string - kTRUE or kFALSE.
static const TGPicture * fgListTreeIcons[9]
Projected copy of a TEveLine.
void UpdateProjection() override
Re-apply the projection.
TEveLineProjected()
Default constructor.
void SetDepthLocal(Float_t d) override
Set depth (z-coordinate) of the projected points.
void SetProjection(TEveProjectionManager *mng, TEveProjectable *model) override
Set projection manager and projection model.
An arbitrary polyline with fixed line and marker attributes.
Float_t CalculateLineLength() const
Sum-up lengths of individual segments.
void ReduceSegmentLengths(Float_t max)
Make sure that no segment is longer than max.
void SetLineStyle(Style_t lstyle) override
Set line-style of the line.
static void SetDefaultSmooth(Bool_t r)
Set default value for smooth-line drawing flag (default kFALSE).
static Bool_t fgDefaultSmooth
void SetLineWidth(Width_t lwidth) override
Set line-style of the line.
TEveVector GetLineStart() const
Return the first point of the line.
TClass * ProjectedClass(const TEveProjection *p) const override
Virtual from TEveProjectable, returns TEvePointSetProjected class.
void SetRnrLine(Bool_t r)
Set rendering of line. Propagate to projected lines.
TEveLine(const TEveLine &)
void WriteVizParams(std::ostream &out, const TString &var) override
Write visualization parameters.
const TGPicture * GetListTreeIcon(Bool_t open=kFALSE) override
Returns list-tree icon for TEveLine.
void CopyVizParams(const TEveElement *el) override
Copy visualization parameters from element el.
void SetMarkerColor(Color_t col) override
Set marker color. Propagate to projected lines.
void SetSmooth(Bool_t r)
Set smooth rendering. Propagate to projected lines.
void SetRnrPoints(Bool_t r)
Set rendering of points. Propagate to projected lines.
static Bool_t GetDefaultSmooth()
Get default value for smooth-line drawing flag.
TEveVector GetLineEnd() const
Return the last point of the line.
TEvePointSet is a render-element holding a collection of 3D points with optional per-point TRef and a...
void CopyVizParams(const TEveElement *el) override
Copy visualization parameters from element el.
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.
void WriteVizParams(std::ostream &out, const TString &var) override
Write visualization parameters.
Abstract base-class for non-linear projectable objects.
ProjList_t fProjectedList
Abstract base class for classes that hold results of a non-linear projection transformation.
TEveProjectable * fProjectable
TEveProjectionManager * fManager
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
Sets projection manager and reference in the projectable object.
void SetDepthCommon(Float_t d, TEveElement *el, Float_t *bbox)
Utility function to update the z-values of the bounding-box.
Manager class for steering of projections and managing projected objects.
TEveProjection * GetProjection()
Base-class for non-linear projections.
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
void Set(const Float_t *v)
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
virtual void GetPoint(Int_t n, Float_t &x, Float_t &y, Float_t &z) const
Fills the parameters x, y, z with the coordinate of the n-th point n must be between 0 and Size() - 1...
virtual Int_t Size() const
virtual Float_t * GetP() const
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
VecExpr< UnaryOp< Sqr< T >, VecExpr< A, T, D >, T >, T, D > sqr(const VecExpr< A, T, D > &rhs)
Int_t FloorNint(Double_t x)
Returns the nearest integer of TMath::Floor(x).
Double_t Sqrt(Double_t x)
Returns the square root of x.
static uint64_t sum(uint64_t i)