36 fSmooth (fgDefaultSmooth)
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)
350 for (
Int_t i = 0; i <
n; ++i, p+=3)
368 for (
Int_t i = 0; i <
n; ++i, o+=3, p+=3)
static Bool_t GetDefaultSmooth()
Get default value for smooth-line drawing flag.
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
Abstract base class for classes that hold results of a non-linear projection transformation.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
static long int sum(long int i)
void Set(const Float_t *v)
void SetRnrPoints(Bool_t r)
Set rendering of points. Propagate to projected lines.
An arbitrary polyline with fixed line and marker attributes.
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
static const TGPicture * fgListTreeIcons[9]
virtual void SetDepthLocal(Float_t d)
Set depth (z-coordinate) of the projected points.
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
Sets projection manager and reference in the projectable object.
Int_t FloorNint(Double_t x)
static const char * ToString(Bool_t b)
Convert Bool_t to string - kTRUE or kFALSE.
virtual void SetLineStyle(Style_t lstyle)
Set line-style of the line.
virtual void WriteVizParams(std::ostream &out, const TString &var)
Write visualization parameters.
virtual void ElementChanged(Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
Call this after an element has been changed so that the state can be propagated around the framework...
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.
Base-class for non-linear projections.
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
Set projection manager and projection model.
Manager class for steering of projections and managing projected objects.
Projected copy of a TEveLine.
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
Abstract base-class for non-linear projectable objects.
TEveLine(const TEveLine &)
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 void SetLineWidth(Width_t lwidth)
Set line-style of the line.
TEveProjectable * fProjectable
Color_t fLineColor
Line color.
virtual const TGPicture * GetListTreeIcon(Bool_t open=kFALSE)
Returns list-tree icon for TEveLine.
TEveProjectionManager * fManager
TEvePointSet is a render-element holding a collection of 3D points with optional per-point TRef and a...
The ROOT global object gROOT contains a list of all defined classes.
void ReduceSegmentLengths(Float_t max)
Make sure that no segment is longer than max.
virtual void SetMarkerColor(Color_t col)
Set marker color. Propagate to projected lines.
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
void SetRnrLine(Bool_t r)
Set rendering of line. Propagate to projected lines.
TEveProjection * GetProjection()
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
TEveVector GetLineStart() const
Return the first point of the line.
virtual void WriteVizParams(std::ostream &out, const TString &var)
Write visualization parameters.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
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.
TEveLineProjected()
Default constructor.
Binding & operator=(OUT(*fun)(void))
static void SetDefaultSmooth(Bool_t r)
Set default value for smooth-line drawing flag (default kFALSE).
ProjList_t fProjectedList
TEveVector GetLineEnd() const
Return the last point of the line.
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEvePointSetProjected class.
void SetDepthCommon(Float_t d, TEveElement *el, Float_t *bbox)
Utility function to update the z-values of the bounding-box.
virtual Float_t * GetP() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Float_t CalculateLineLength() const
Sum-up lengths of individual segments.
virtual Color_t GetMarkerColor() const
Return the marker color.
virtual TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
Double_t Sqrt(Double_t x)
static Bool_t fgDefaultSmooth
Color_t fMarkerColor
Marker color.
VecExpr< UnaryOp< Sqr< T >, VecExpr< A, T, D >, T >, T, D > sqr(const VecExpr< A, T, D > &rhs)
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
void SetSmooth(Bool_t r)
Set smooth rendering. Propagate to projected lines.
virtual void UpdateProjection()
Re-apply the projection.
virtual Int_t Size() const