55 for (
Int_t i = 0; i <
n; ++i, p+=3)
132 if (
Size() == 0)
return;
149 std::vector<TEveVector> vvec;
152 for (
Int_t i=bL; i<=bR; i++)
184 sign_y = vvec.front().fY;
190 sign_y = vvec.back().fY;
197 for (std::vector<TEveVector>::iterator i=vvec.begin(); i!=vvec.end(); ++i)
218 printf(
"%s LineSegments:\n",
GetName());
223 for (std::vector<Int_t>::iterator bpi =
fBreakPoints.begin();
226 Int_t size = *bpi - start;
230 printf(
"seg %d size %d start %d ::(%f, %f, %f) (%f, %f, %f)\n",
231 segment, size, start, sVec.
fX, sVec.
fY, sVec.
fZ,
232 bPnt.
fX, bPnt.
fY, bPnt.
fZ);
284 Warning(
"SetDepthLocal",
"This function only exists to fulfill an abstract interface.");
TEveTrackListProjected()
Default constructor.
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 SetDepthLocal(Float_t d)
Set depth (z-coordinate) of the projected points.
virtual void SetTrackParams(const TEveTrack &t)
Copy track parameters from t.
Bool_t GetLockPoints() const
void Set(const Float_t *v)
Specialization of TEveTrackList for holding TEveTrackProjected objects.
Int_t GetLastPMIdx() const
void ProjectPointdv(Double_t *v, Float_t d)
Project double array.
virtual void SetProjection(TEveProjectionManager *proj, TEveProjectable *model)
This is virtual method from base-class TEveProjected.
Double_t GetDelta() const
virtual void ClonePoints(const TEvePointSet &e)
Clone points and all point-related information from point-set 'e'.
TEveTrackPropagator * fPropagator
Last path-mark index tried in track-propagation.
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
Sets projection manager and reference in the projectable object.
void MultiplyIP(TVector3 &v, Double_t w=1) const
Multiply vector in-place.
virtual Bool_t AcceptSegment(TEveVector &, TEveVector &, Float_t) const
Minimal, templated three-vector.
virtual Bool_t HasSeveralSubSpaces() const
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
Int_t GetBreakPointIdx(Int_t start)
Find index of the last point that lies within the same segment of projected space.
Projected copy of a TEveTrack.
virtual void MakeTrack(Bool_t recurse=kTRUE)
Calculate track representation based on track data and current settings of the propagator.
A list of tracks supporting change of common attributes and selection based on track parameters...
virtual void UpdateProjection()
Virtual method from base-class TEveProjected.
Base-class for non-linear projections.
Manager class for steering of projections and managing projected objects.
virtual void SetDepth(Float_t d)
Set depth coordinate for the element.
Abstract base-class for non-linear projectable objects.
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...
TEveProjectable * fProjectable
TEveProjectionManager * fManager
virtual void SecSelected(TEveTrack *)
Virtual method from from base-class TEveTrack.
virtual void BisectBreakPoint(TEveVector &vL, TEveVector &vR, Float_t eps_sqr)
Find break-point on both sides of the discontinuity.
virtual void SecSelected(TEveTrack *)
Emits "SecSelected(TEveTrack*)" signal.
void ReduceSegmentLengths(Float_t max)
Make sure that no segment is longer than max.
TEveTrackPropagator * GetPropagator()
TEveTrackProjected()
Default constructor.
Visual representation of a track.
virtual void SetDepthLocal(Float_t d)
This is not needed for functionality as SetDepth(Float_t d) is overriden – but SetDepthLocal() is ab...
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
TEveProjection * GetProjection()
virtual void SetDepth(Float_t d)
Set depth of all children inheriting from TEveTrackProjected.
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
This is virtual method from base-class TEveProjected.
virtual void SetPathMarks(const TEveTrack &t)
Copy path-marks from t.
virtual const char * GetName() const
Returns name of object.
virtual void MakeTrack(Bool_t recurse=kTRUE)
Calculate the points of the track for drawing.
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.
TEveVectorT< Float_t > TEveVector
void PrintLineSegments()
Print line segments info.
void SetPropagator(TEveTrackPropagator *prop)
Set default propagator for tracks.
you should not use this method at all Int_t Int_t z
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
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
Float_t GetMaxTrackStep() const
void SetLockPoints(Bool_t l)
virtual TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
std::vector< Int_t > fBreakPoints
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
vPathMark_t::iterator vPathMark_i
virtual Int_t Size() const
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
UChar_t GetProjTrackBreaking() const