ROOT logo
ROOT » GEOM » GEOM » TGeoAtt

class TGeoAtt

   TGeoAtt - visualization and tracking attributes for volumes and nodes

 The TGeoAtt class is a utility for volume/node visibility and tracking
 activity. By default the attributes are set to visible/active

Function Members (Methods)

public:
TGeoAtt()
TGeoAtt(const TGeoAtt&)
TGeoAtt(Option_t* vis_opt, Option_t* activity_opt = "", Option_t* optimization_opt = "")
virtual~TGeoAtt()
static TClass*Class()
virtual TClass*IsA() const
Bool_tIsActive() const
Bool_tIsActiveDaughters() const
Bool_tIsVisBranch() const
Bool_tIsVisContainers() const
Bool_tIsVisDaughters() const
Bool_tIsVisible() const
Bool_tIsVisLeaves() const
Bool_tIsVisOnly() const
Bool_tIsVisRaytrace() const
Bool_tIsVisStreamed() const
Bool_tIsVisTouched() const
TGeoAtt&operator=(const TGeoAtt&)
voidResetAttBit(UInt_t f)
voidSetActiveDaughters(Bool_t flag = kTRUE)
voidSetActivity(Bool_t flag = kTRUE)
voidSetAttBit(UInt_t f)
voidSetAttBit(UInt_t f, Bool_t set)
voidSetOptimization(Option_t* option)
voidSetVisBranch()
virtual voidSetVisContainers(Bool_t flag = kTRUE)
voidSetVisDaughters(Bool_t vis = kTRUE)
virtual voidSetVisibility(Bool_t vis = kTRUE)
virtual voidSetVisLeaves(Bool_t flag = kTRUE)
virtual voidSetVisOnly(Bool_t flag = kTRUE)
voidSetVisRaytrace(Bool_t flag = kTRUE)
voidSetVisStreamed(Bool_t vis = kTRUE)
voidSetVisTouched(Bool_t vis = kTRUE)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
Bool_tTestAttBit(UInt_t f) const

Data Members

public:
enum { kBitMask
};
enum EGeoVisibilityAtt { kVisOverride
kVisNone
kVisThis
kVisDaughters
kVisOneLevel
kVisStreamed
kVisTouched
kVisOnScreen
kVisContainers
kVisOnly
kVisBranch
kVisRaytrace
};
enum EGeoActivityAtt { kActOverride
kActNone
kActThis
kActDaughters
};
enum EGeoOptimizationAtt { kUseBoundingBox
kUseVoxels
kUseGsord
};
enum EGeoSavePrimitiveAtt { kSavePrimitiveAtt
kSaveNodesAtt
};
protected:
UInt_tfGeoAttoption flags

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGeoAtt()
 Default constructor
TGeoAtt(Option_t* vis_opt, Option_t* activity_opt = "", Option_t* optimization_opt = "")
 Constructor
~TGeoAtt()
 Destructor
void SetVisBranch()
 Set branch type visibility.
void SetVisContainers(Bool_t flag = kTRUE)
 Set branch type visibility.
void SetVisLeaves(Bool_t flag = kTRUE)
 Set branch type visibility.
void SetVisOnly(Bool_t flag = kTRUE)
 Set branch type visibility.
void SetVisibility(Bool_t vis = kTRUE)
 Set visibility for this object
void SetVisDaughters(Bool_t vis = kTRUE)
 Set visibility for the daughters.
void SetVisStreamed(Bool_t vis = kTRUE)
 Mark attributes as "streamed to file".
void SetVisTouched(Bool_t vis = kTRUE)
 Mark visualization attributes as "modified".
void SetOptimization(Option_t* option)
 Set optimization flags.
TGeoAtt()
 constructors
void SetAttBit(UInt_t f)
 methods
{fGeoAtt |= f & kBitMask;}
void SetAttBit(UInt_t f, Bool_t set)
{(set)?SetAttBit(f):ResetAttBit(f);}
void ResetAttBit(UInt_t f)
{fGeoAtt &= ~(f & kBitMask);}
Bool_t TestAttBit(UInt_t f) const
{return (Bool_t)((fGeoAtt & f) != 0);}
void SetVisRaytrace(Bool_t flag = kTRUE)
void SetActivity(Bool_t flag = kTRUE)
void SetActiveDaughters(Bool_t flag = kTRUE)
Bool_t IsActive() const
{return TestAttBit(kActThis);}
Bool_t IsActiveDaughters() const
Bool_t IsVisRaytrace() const
Bool_t IsVisible() const
{return TestAttBit(kVisThis);}
Bool_t IsVisDaughters() const
Bool_t IsVisBranch() const
Bool_t IsVisContainers() const
Bool_t IsVisLeaves() const
Bool_t IsVisOnly() const
{return TestAttBit(kVisOnly);}
Bool_t IsVisStreamed() const
Bool_t IsVisTouched() const