19 using namespace ROOT::Experimental;
20 namespace REX = ROOT::Experimental;
34 REveGeoShapeExtract::REveGeoShapeExtract(
const char* n,
const char* t) :
43 memset(fTrans, 0,
sizeof(fTrans));
44 fTrans[0] = fTrans[5] = fTrans[10] = fTrans[15] = 1;
45 fRGBA [0] = fRGBA [1] = fRGBA [2] = fRGBA [3] = 1;
46 fRGBALine[0] = fRGBALine[1] = fRGBALine[2] = 0; fRGBALine[3] = 1;
52 REveGeoShapeExtract::~REveGeoShapeExtract()
61 Bool_t REveGeoShapeExtract::HasElements()
63 return fElements && (fElements->GetSize() > 0);
69 void REveGeoShapeExtract::AddElement(REveGeoShapeExtract* gse)
72 fElements =
new TList;
80 void REveGeoShapeExtract::SetTrans(
const Double_t arr[16])
82 for(Int_t i=0; i<16; ++i)
89 void REveGeoShapeExtract::SetRGBA(
const Float_t arr[4])
91 for(Int_t i=0; i<4; ++i)
98 void REveGeoShapeExtract::SetRGBALine(
const Float_t arr[4])
100 for(Int_t i=0; i<4; ++i)
101 fRGBALine[i] = arr[i];