library: libGeom #include "TGeoAtt.h"

# TGeoAtt

class description - source file - inheritance tree (.pdf)

## class TGeoAtt

| Inheritance Chart:

`TGeoAtt`

<-

`TGeoNode`

<-

`TGeoNodeMatrix` |

`TGeoNodeOffset` |

`TGeoVolume`

<-

`TGeoVolumeAssembly` |

`TGeoVolumeMulti` |

`TVirtualGeoTrack`

<-

`TGeoTrack` |

        public:

                          TGeoAtt()
                          TGeoAtt(Option_t* vis_opt, Option_t* activity_opt = "", Option_t* optimization_opt = "")
                          TGeoAtt(const TGeoAtt&)
                  virtual ~TGeoAtt()
           static TClass* Class()
          virtual TClass* IsA() const
                   Bool_t IsActive() const
                   Bool_t IsActiveDaughters() const
                   Bool_t IsVisDaughters() const
                   Bool_t IsVisible() const
                   Bool_t IsVisStreamed() const
                   Bool_t IsVisTouched() const
                 TGeoAtt& operator=(const TGeoAtt&)
                     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)
                     void SetVisDaughters(Bool_t vis = kTRUE)
             virtual void SetVisibility(Bool_t vis = kTRUE)
                     void SetVisStreamed(Bool_t vis = kTRUE)
                     void SetVisTouched(Bool_t vis = kTRUE)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
                   Bool_t TestAttBit(UInt_t f) const

### Data Members

        protected:

          UInt_t fGeoAtt  option flags

        public:

                         static const enum TGeoAtt:: kBitMask
             static const TGeoAtt::EGeoVisibilityAtt kVisOverride
             static const TGeoAtt::EGeoVisibilityAtt kVisNone
             static const TGeoAtt::EGeoVisibilityAtt kVisThis
             static const TGeoAtt::EGeoVisibilityAtt kVisDaughters
             static const TGeoAtt::EGeoVisibilityAtt kVisOneLevel
             static const TGeoAtt::EGeoVisibilityAtt kVisStreamed
             static const TGeoAtt::EGeoVisibilityAtt kVisTouched
             static const TGeoAtt::EGeoVisibilityAtt kVisOnScreen
               static const TGeoAtt::EGeoActivityAtt kActOverride
               static const TGeoAtt::EGeoActivityAtt kActNone
               static const TGeoAtt::EGeoActivityAtt kActThis
               static const TGeoAtt::EGeoActivityAtt kActDaughters
           static const TGeoAtt::EGeoOptimizationAtt kUseBoundingBox
           static const TGeoAtt::EGeoOptimizationAtt kUseVoxels
           static const TGeoAtt::EGeoOptimizationAtt kUseGsord
          static const TGeoAtt::EGeoSavePrimitiveAtt kSavePrimitiveAtt
          static const TGeoAtt::EGeoSavePrimitiveAtt kSaveNodesAtt

## Class Description

TGeoAtt()

     Default constructor

TGeoAtt(Option_t * /*vis_opt*/, Option_t * /*activity_opt*/, Option_t * /*optimization_opt*/)

     constructor

~TGeoAtt()

     Destructor

void SetVisibility(Bool_t vis)

     set visibility for this object

void SetVisDaughters(Bool_t vis)

     set visibility for this object

void SetVisStreamed(Bool_t vis)

     set visibility for this object

void SetVisTouched(Bool_t vis)

     set visibility for this object

void SetOptimization(Option_t * /*option*/)

     set optimization flags

### Inline Functions

                   void SetAttBit(UInt_t f)
                   void SetAttBit(UInt_t f, Bool_t set)
                   void ResetAttBit(UInt_t f)
                 Bool_t TestAttBit(UInt_t f) const
                   void SetActivity(Bool_t flag = kTRUE)
                   void SetActiveDaughters(Bool_t flag = kTRUE)
                 Bool_t IsActive() const
                 Bool_t IsActiveDaughters() const
                 Bool_t IsVisible() const
                 Bool_t IsVisDaughters() const
                 Bool_t IsVisStreamed() const
                 Bool_t IsVisTouched() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
                TGeoAtt TGeoAtt(const TGeoAtt&)
               TGeoAtt& operator=(const TGeoAtt&)

Author: Andrei Gheata 01/11/01
Last update: root/geom:$Name: $:$Id: TGeoAtt.cxx,v 1.6 2005/02/09 13:30:27 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *