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 = (1ULL << ( 8 )) , kActNone = (1ULL << ( 9 )) , kActThis = (1ULL << ( 10 )) , kActDaughters = (1ULL << ( 11 )) } |
enum | EGeoOptimizationAtt { kUseBoundingBox = (1ULL << ( 16 )) , kUseVoxels = (1ULL << ( 17 )) , kUseGsord = (1ULL << ( 18 )) } |
enum | EGeoSavePrimitiveAtt { kSavePrimitiveAtt = (1ULL << ( 19 )) , kSaveNodesAtt = (1ULL << ( 20 )) } |
enum | EGeoVisibilityAtt { kVisOverride = (1ULL << ( 0 )) , kVisNone = (1ULL << ( 1 )) , kVisThis = (1ULL << ( 2 )) , kVisDaughters = (1ULL << ( 3 )) , kVisOneLevel = (1ULL << ( 4 )) , kVisStreamed = (1ULL << ( 5 )) , kVisTouched = (1ULL << ( 6 )) , kVisOnScreen = (1ULL << ( 7 )) , kVisContainers = (1ULL << ( 12 )) , kVisOnly = (1ULL << ( 13 )) , kVisBranch = (1ULL << ( 14 )) , kVisRaytrace = (1ULL << ( 15 )) } |
Public Member Functions | |
TGeoAtt () | |
Default constructor. | |
TGeoAtt (Option_t *vis_opt, Option_t *activity_opt="", Option_t *optimization_opt="") | |
Constructor. | |
virtual | ~TGeoAtt () |
Destructor. | |
virtual TClass * | IsA () const |
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. | |
void | SetVisBranch () |
Set branch type visibility. | |
virtual void | SetVisContainers (Bool_t flag=kTRUE) |
Set branch type visibility. | |
void | SetVisDaughters (Bool_t vis=kTRUE) |
Set visibility for the daughters. | |
virtual void | SetVisibility (Bool_t vis=kTRUE) |
Set visibility for this object. | |
virtual void | SetVisLeaves (Bool_t flag=kTRUE) |
Set branch type visibility. | |
virtual void | SetVisOnly (Bool_t flag=kTRUE) |
Set branch type visibility. | |
void | SetVisRaytrace (Bool_t flag=kTRUE) |
void | SetVisStreamed (Bool_t vis=kTRUE) |
Mark attributes as "streamed to file". | |
void | SetVisTouched (Bool_t vis=kTRUE) |
Mark visualization attributes as "modified". | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Bool_t | TestAttBit (UInt_t f) const |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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 47 of file TGeoAtt.cxx.
|
virtual |
Destructor.
Definition at line 61 of file TGeoAtt.cxx.
|
static |
|
inlinestaticconstexpr |
|
inlinestatic |
|
inlinevirtual |
Reimplemented in TGeoNode, TGeoNodeMatrix, TGeoNodeOffset, TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly, and TVirtualGeoTrack.
void TGeoAtt::SetOptimization | ( | Option_t * | option | ) |
Set optimization flags.
Definition at line 148 of file TGeoAtt.cxx.
void TGeoAtt::SetVisBranch | ( | ) |
Set branch type visibility.
Definition at line 66 of file TGeoAtt.cxx.
Set visibility for the daughters.
Definition at line 116 of file TGeoAtt.cxx.
Set visibility for this object.
Reimplemented in TGeoNode, TGeoVolume, and TGeoVolumeMulti.
Definition at line 104 of file TGeoAtt.cxx.
Mark attributes as "streamed to file".
Definition at line 128 of file TGeoAtt.cxx.
Mark visualization attributes as "modified".
Definition at line 138 of file TGeoAtt.cxx.
|
virtual |
Reimplemented in TGeoNode, TGeoNodeMatrix, TGeoNodeOffset, TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly, and TVirtualGeoTrack.
|
inline |