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& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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(const 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(const 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)
{SetAttBit(kVisRaytrace, flag);}
void SetActivity(Bool_t flag = kTRUE)
{SetAttBit(kActThis, flag);}
void SetActiveDaughters(Bool_t flag = kTRUE)
{SetAttBit(kActDaughters,flag);}
Bool_t IsActive()
{return TestAttBit(kActThis);}
Bool_t IsActiveDaughters()
{return TestAttBit(kActDaughters);}
Bool_t IsVisRaytrace()
{return TestAttBit(kVisRaytrace);}
Bool_t IsVisible()
{return TestAttBit(kVisThis);}
Bool_t IsVisDaughters()
{return TestAttBit(kVisDaughters);}
Bool_t IsVisBranch()
{return TestAttBit(kVisBranch);}
Bool_t IsVisContainers()
{return TestAttBit(kVisContainers);}
Bool_t IsVisLeaves()
{return !TestAttBit(kVisContainers | kVisOnly | kVisBranch);}
Bool_t IsVisOnly()
{return TestAttBit(kVisOnly);}
Bool_t IsVisStreamed()
{return TestAttBit(kVisStreamed);}
Bool_t IsVisTouched()
{return TestAttBit(kVisTouched);}

Author: Andrei Gheata 01/11/01
Last change: root/geom:$Id: TGeoAtt.h 21425 2007-12-17 15:59:27Z brun $
Last generated: 2008-06-25 08:44
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.