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;
45 std::vector<Box> fBoxes;
47 BoxSet(const Text_t* n="BoxSet", const Text_t* t="");
50 void ClearSet() { fBoxes.clear(); }
52 Bool_t GetTrans() const { return fTrans; }
53 void SetTrans(Bool_t t) { fTrans = t; }
55 virtual void ComputeBBox();
56 virtual void Paint(Option_t* option = "");
58 void Test(Int_t nboxes);