Visualization and tracking attributes for volumes and nodes.
The TGeoAtt class is an utility for volume/node visibility and tracking activity. By default the attributes are set to visible/active
Public Types | |
enum | { kBitMask = 0x00ffffff } |
enum | EGeoActivityAtt { kActOverride = BIT(8) , kActNone = BIT(9) , kActThis = BIT(10) , kActDaughters = BIT(11) } |
enum | EGeoOptimizationAtt { kUseBoundingBox = BIT(16) , kUseVoxels = BIT(17) , kUseGsord = BIT(18) } |
enum | EGeoSavePrimitiveAtt { kSavePrimitiveAtt = BIT(19) , kSaveNodesAtt = BIT(20) } |
enum | EGeoVisibilityAtt { kVisOverride = BIT(0) , kVisNone = BIT(1) , kVisThis = BIT(2) , kVisDaughters = BIT(3) , kVisOneLevel = BIT(4) , kVisStreamed = BIT(5) , kVisTouched = BIT(6) , kVisOnScreen = BIT(7) , kVisContainers = BIT(12) , kVisOnly = BIT(13) , kVisBranch = BIT(14) , kVisRaytrace = BIT(15) } |
Public Member Functions | |
TGeoAtt () | |
Default constructor. More... | |
TGeoAtt (Option_t *vis_opt, Option_t *activity_opt="", Option_t *optimization_opt="") | |
Constructor. More... | |
virtual | ~TGeoAtt () |
Destructor. More... | |
Bool_t | IsActive () const |
Bool_t | IsActiveDaughters () const |
Bool_t | IsVisBranch () const |
Bool_t | IsVisContainers () const |
Bool_t | IsVisDaughters () const |
Bool_t | IsVisible () const |
Bool_t | IsVisLeaves () const |
Bool_t | IsVisOnly () const |
Bool_t | IsVisRaytrace () const |
Bool_t | IsVisStreamed () const |
Bool_t | IsVisTouched () const |
void | ResetAttBit (UInt_t f) |
void | SetActiveDaughters (Bool_t flag=kTRUE) |
void | SetActivity (Bool_t flag=kTRUE) |
void | SetAttBit (UInt_t f) |
void | SetAttBit (UInt_t f, Bool_t set) |
void | SetOptimization (Option_t *option) |
Set optimization flags. More... | |
void | SetVisBranch () |
Set branch type visibility. More... | |
virtual void | SetVisContainers (Bool_t flag=kTRUE) |
Set branch type visibility. More... | |
void | SetVisDaughters (Bool_t vis=kTRUE) |
Set visibility for the daughters. More... | |
virtual void | SetVisibility (Bool_t vis=kTRUE) |
Set visibility for this object. More... | |
virtual void | SetVisLeaves (Bool_t flag=kTRUE) |
Set branch type visibility. More... | |
virtual void | SetVisOnly (Bool_t flag=kTRUE) |
Set branch type visibility. More... | |
void | SetVisRaytrace (Bool_t flag=kTRUE) |
void | SetVisStreamed (Bool_t vis=kTRUE) |
Mark attributes as "streamed to file". More... | |
void | SetVisTouched (Bool_t vis=kTRUE) |
Mark visualization attributes as "modified". More... | |
Bool_t | TestAttBit (UInt_t f) const |
Protected Attributes | |
UInt_t | fGeoAtt |
#include <TGeoAtt.h>
TGeoAtt::TGeoAtt | ( | ) |
Default constructor.
Definition at line 31 of file TGeoAtt.cxx.
TGeoAtt::TGeoAtt | ( | Option_t * | vis_opt, |
Option_t * | activity_opt = "" , |
||
Option_t * | optimization_opt = "" |
||
) |
Constructor.
Definition at line 46 of file TGeoAtt.cxx.
|
virtual |
Destructor.
Definition at line 60 of file TGeoAtt.cxx.
Set optimization flags.
Definition at line 139 of file TGeoAtt.cxx.
void TGeoAtt::SetVisBranch | ( | ) |
Set branch type visibility.
Definition at line 67 of file TGeoAtt.cxx.
Set visibility for the daughters.
Definition at line 114 of file TGeoAtt.cxx.
Set visibility for this object.
Reimplemented in TGeoNode, TGeoVolume, and TGeoVolumeMulti.
Definition at line 105 of file TGeoAtt.cxx.
Mark attributes as "streamed to file".
Definition at line 123 of file TGeoAtt.cxx.
Mark visualization attributes as "modified".
Definition at line 131 of file TGeoAtt.cxx.