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.");
TEveVectorT< Float_t > TEveVector
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
void ReduceSegmentLengths(Float_t max)
Make sure that no segment is longer than max.
virtual void ClonePoints(const TEvePointSet &e)
Clone points and all point-related information from point-set 'e'.
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.
Abstract base-class for non-linear projectable objects.
Abstract base class for classes that hold results of a non-linear projection transformation.
virtual void SetDepth(Float_t d)
Set depth coordinate for the element.
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.
virtual void BisectBreakPoint(TEveVector &vL, TEveVector &vR, Float_t eps_sqr)
Find break-point on both sides of the discontinuity.
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
virtual Bool_t HasSeveralSubSpaces() const
void ProjectPointdv(Double_t *v, Float_t d)
Project double array.
Float_t GetMaxTrackStep() const
virtual Bool_t AcceptSegment(TEveVector &, TEveVector &, Float_t) const
Specialization of TEveTrackList for holding TEveTrackProjected objects.
virtual void SetDepthLocal(Float_t d)
This is not needed for functionality as SetDepth(Float_t d) is overriden – but SetDepthLocal() is abs...
virtual void SetDepth(Float_t d)
Set depth of all children inheriting from TEveTrackProjected.
virtual void SetProjection(TEveProjectionManager *proj, TEveProjectable *model)
This is virtual method from base-class TEveProjected.
TEveTrackListProjected()
Default constructor.
A list of tracks supporting change of common attributes and selection based on track parameters.
void SetPropagator(TEveTrackPropagator *prop)
Set default propagator for tracks.
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
TEveTrackPropagator * GetPropagator()
Projected copy of a TEveTrack.
std::vector< Int_t > fBreakPoints
TEveTrackProjected()
Default constructor.
virtual void MakeTrack(Bool_t recurse=kTRUE)
Calculate the points of the track for drawing.
virtual void SecSelected(TEveTrack *)
Virtual method from from base-class TEveTrack.
virtual void UpdateProjection()
Virtual method from base-class TEveProjected.
void PrintLineSegments()
Print line segments info.
Int_t GetBreakPointIdx(Int_t start)
Find index of the last point that lies within the same segment of projected space.
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
This is virtual method from base-class TEveProjected.
virtual void SetDepthLocal(Float_t d)
Set depth (z-coordinate) of the projected points.
Double_t GetDelta() const
UChar_t GetProjTrackBreaking() const
Visual representation of a track.
vPathMark_t::iterator vPathMark_i
virtual void SecSelected(TEveTrack *)
Emits "SecSelected(TEveTrack*)" signal.
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
Bool_t GetLockPoints() const
virtual void MakeTrack(Bool_t recurse=kTRUE)
Calculate track representation based on track data and current settings of the propagator.
TEveTrackPropagator * fPropagator
Last path-mark index tried in track-propagation.
virtual void SetPathMarks(const TEveTrack &t)
Copy path-marks from t.
Int_t GetLastPMIdx() const
virtual void SetTrackParams(const TEveTrack &t)
Copy track parameters from t.
void SetLockPoints(Bool_t l)
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
void MultiplyIP(TVector3 &v, Double_t w=1) const
Multiply vector in-place.
void Set(const Float_t *v)
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
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 const char * GetName() const
Returns name of object.
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.