]>
Commit | Line | Data |
---|---|---|
d810d0de | 1 | // $Id$ |
2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
9 | ||
10 | #include "AliEveHOMERSource.h" | |
11 | ||
57ffa5fb | 12 | //______________________________________________________________________________ |
d810d0de | 13 | // AliEveHOMERSource |
14 | // | |
15 | ||
16 | ClassImp(AliEveHOMERSource) | |
17 | ||
18 | AliEveHOMERSource::AliEveHOMERSource(const Text_t* n, const Text_t* t) : | |
a15e6d7d | 19 | TEveElement (), |
20 | TNamed (n, t), | |
21 | fSrcId (0), | |
22 | fSrcState (0) | |
d810d0de | 23 | {} |
24 | ||
a15e6d7d | 25 | /******************************************************************************/ |
26 | ||
27 | //______________________________________________________________________________ | |
fbc350a3 | 28 | Bool_t AliEveHOMERSource::SetRnrState(Bool_t rnr) |
a15e6d7d | 29 | { |
30 | // Set render state of this element and of its children to the same | |
31 | // value. | |
32 | ||
33 | if (fSrcState) | |
34 | fSrcState->fState = rnr; | |
d810d0de | 35 | |
fbc350a3 | 36 | return TEveElement::SetRnrState(rnr); |
a15e6d7d | 37 | } |