10 #include <Reve/Reve.h>
23 { Reve::ColorFromIdx(col, color); }
24 Box(Color_t col, Float_t* p)
25 { Reve::ColorFromIdx(col, color); memcpy(vertices, p, 32*sizeof(Float_t)); }
27 Box(TRandom& rnd, Float_t origin, Float_t size);
34 /**************************************************************************/
36 class BoxSet: public TNamed, public TAtt3D, public TAttBBox
38 friend class BoxSetGL;
48 std::vector<Box> fBoxes;
50 BoxSet(const Text_t* n="BoxSet", const Text_t* t="") : TNamed(n, t)
54 void ClearSet() { fBoxes.clear(); }
56 Bool_t GetTrans() const { return fTrans; }
57 void SetTrans(Bool_t t) { fTrans = t; }
59 virtual void ComputeBBox();
60 virtual void Paint(Option_t* option = "");
62 void Test(Int_t nboxes);