29 ClassImp(TEveGeoShapeExtract);
34 TEveGeoShapeExtract::TEveGeoShapeExtract(
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 TEveGeoShapeExtract::~TEveGeoShapeExtract()
61 Bool_t TEveGeoShapeExtract::HasElements()
63 return fElements != 0 && fElements->GetSize() > 0;
69 void TEveGeoShapeExtract::AddElement(TEveGeoShapeExtract* gse)
72 fElements =
new TList;
80 void TEveGeoShapeExtract::SetTrans(
const Double_t arr[16])
82 for(Int_t i=0; i<16; ++i)
89 void TEveGeoShapeExtract::SetRGBA(
const Float_t arr[4])
91 for(Int_t i=0; i<4; ++i)
98 void TEveGeoShapeExtract::SetRGBALine(
const Float_t arr[4])
100 for(Int_t i=0; i<4; ++i)
101 fRGBALine[i] = arr[i];