73 l->SetMarkerColor(col);
93 pt->SetLineStyle(lstyle);
113 pt->SetLineWidth(lwidth);
190 std::vector<TEveVector>
q;
194 for (
Int_t i = 1; i < s; ++i)
196 a =
b;
b.Set(&p[3*i]);
d =
b -
a;
203 for (
Int_t j = 0; j <
n; ++j)
214 for (std::vector<TEveVector>::iterator i =
q.begin(); i !=
q.end(); ++i)
227 for (
Int_t i = 1; i < s; ++i, p += 3)
229 sum +=
TMath::Sqrt(sqr(p[3] - p[0]) + sqr(p[4] - p[1]) + sqr(p[5] - p[2]));
264 TAttLine::operator=(*
m);
348 for (
Int_t i = 0; i <
n; ++i, p+=3)
366 for (
Int_t i = 0; i <
n; ++i, o+=3, p+=3)
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).
TEveVectorT< Float_t > TEveVector
Float_t * fBBox
! Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Color_t fLineColor
Line color.
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.
virtual TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
TEveElement()
Default constructor.
static const char * ToString(Bool_t b)
Convert Bool_t to string - kTRUE or kFALSE.
static const TGPicture * fgListTreeIcons[9]
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.
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.
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.
TEvePointSet(Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
Constructor.
void WriteVizParams(std::ostream &out, const TString &var) override
Write visualization parameters.
ProjList_t fProjectedList
TEveProjectable(const TEveProjectable &)
TEveProjectable * fProjectable
TEveProjectionManager * fManager
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
Sets projection manager and reference in the projectable object.
TEveProjected(const TEveProjected &)
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.
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...
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)