85 for (
Int_t i=0; i<8; ++i)
174 for (
Int_t i = 0; i < 8; ++i)
181 for (
vVector2_i j = ppv.begin(); j != ppv.end(); ++j)
201 if ( ! pp[0].empty())
205 if ( ! pp[1].empty())
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
static Bool_t fgDebugCornerPoints
virtual void ComputeBBox()
Compute bounding-box, virtual from TAttBBox.
Abstract base-class for 2D/3D shapes.
void SetVertex(Int_t i, Float_t x, Float_t y, Float_t z)
Set vertex 'i'.
virtual ~TEveBoxProjected()
Destructor.
virtual Int_t SubSpaceId(const TEveVector &) const
std::vector< TEveVector2 > vVector2_t
virtual ~TEveBox()
Destructor.
3D box with arbitrary vertices (cuboid).
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
Sets projection manager and reference in the projectable object.
virtual void SetDepthLocal(Float_t d)
This is virtual method from base-class TEveProjected.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
static void CheckAndFixBoxOrientationFv(Float_t box[8][3])
Make sure box orientation is consistent with standard arrangement.
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
This is virtual method from base-class TEveProjected.
void BBoxCheckPoint(Float_t x, Float_t y, Float_t z)
Base-class for non-linear projections.
Manager class for steering of projections and managing projected objects.
Abstract base-class for non-linear projectable objects.
std::vector< TEveVector2 >::iterator vVector2_i
TEveProjectable * fProjectable
TEveProjectionManager * fManager
The ROOT global object gROOT contains a list of all defined classes.
const Float_t * GetVertex(Int_t i) const
Minimal, templated two-vector.
static Bool_t GetDebugCornerPoints()
Get state of fgDebugCornerPoints static.
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
TEveProjection * GetProjection()
void SetVertices(const Float_t *vs)
Set vertices.
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
TT SquareDistance(const TEveVector2T &v) const
void SetDepthCommon(Float_t d, TEveElement *el, Float_t *bbox)
Utility function to update the z-values of the bounding-box.
static void SetDebugCornerPoints(Bool_t d)
Set state of fgDebugCornerPoints static.
virtual void ComputeBBox()
Compute bounding-box of the data.
static Int_t FindConvexHull(const vVector2_t &pin, vVector2_t &pout, TEveElement *caller=0)
Determines the convex-hull of points in pin.
virtual TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
virtual void UpdateProjection()
Re-project the box.
void BBoxInit(Float_t infinity=1e6)
Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, return TEveBoxProjected class.
TEveBoxProjected(const TEveBoxProjected &)