ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | List of all members
TGeoAtt Class Reference

Definition at line 25 of file TGeoAtt.h.

Public Types

enum  { kBitMask = 0x00ffffff }
 
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)
}
 
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) }
 

Public Member Functions

 TGeoAtt ()
 
 TGeoAtt (Option_t *vis_opt, Option_t *activity_opt="", Option_t *optimization_opt="")
 Constructor. More...
 
virtual ~TGeoAtt ()
 Destructor. More...
 
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 SetVisRaytrace (Bool_t flag=kTRUE)
 
void SetVisBranch ()
 Set branch type visibility. More...
 
virtual void SetVisContainers (Bool_t flag=kTRUE)
 Set branch type visibility. 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...
 
virtual void SetVisibility (Bool_t vis=kTRUE)
 Set visibility for this object. More...
 
void SetVisDaughters (Bool_t vis=kTRUE)
 Set visibility for the daughters. More...
 
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...
 
void SetActivity (Bool_t flag=kTRUE)
 
void SetActiveDaughters (Bool_t flag=kTRUE)
 
void SetOptimization (Option_t *option)
 Set optimization flags. More...
 
Bool_t IsActive () const
 
Bool_t IsActiveDaughters () const
 
Bool_t IsVisRaytrace () const
 
Bool_t IsVisible () const
 
Bool_t IsVisDaughters () const
 
Bool_t IsVisBranch () const
 
Bool_t IsVisContainers () const
 
Bool_t IsVisLeaves () const
 
Bool_t IsVisOnly () const
 
Bool_t IsVisStreamed () const
 
Bool_t IsVisTouched () const
 

Protected Attributes

UInt_t fGeoAtt
 

#include <TGeoAtt.h>

Inheritance diagram for TGeoAtt:
[legend]

Member Enumeration Documentation

anonymous enum
Enumerator
kBitMask 

Definition at line 28 of file TGeoAtt.h.

Enumerator
kActOverride 
kActNone 
kActThis 
kActDaughters 

Definition at line 47 of file TGeoAtt.h.

Enumerator
kUseBoundingBox 
kUseVoxels 
kUseGsord 

Definition at line 54 of file TGeoAtt.h.

Enumerator
kSavePrimitiveAtt 
kSaveNodesAtt 

Definition at line 59 of file TGeoAtt.h.

Enumerator
kVisOverride 
kVisNone 
kVisThis 
kVisDaughters 
kVisOneLevel 
kVisStreamed 
kVisTouched 
kVisOnScreen 
kVisContainers 
kVisOnly 
kVisBranch 
kVisRaytrace 

Definition at line 32 of file TGeoAtt.h.

Constructor & Destructor Documentation

TGeoAtt::TGeoAtt ( )
TGeoAtt::TGeoAtt ( Option_t vis_opt,
Option_t activity_opt = "",
Option_t optimization_opt = "" 
)

Constructor.

Definition at line 42 of file TGeoAtt.cxx.

TGeoAtt::~TGeoAtt ( )
virtual

Destructor.

Definition at line 56 of file TGeoAtt.cxx.

Member Function Documentation

Bool_t TGeoAtt::IsActive ( ) const
inline

Definition at line 93 of file TGeoAtt.h.

Referenced by TGeoVolume::IsActive().

Bool_t TGeoAtt::IsActiveDaughters ( ) const
inline

Definition at line 94 of file TGeoAtt.h.

Referenced by TGeoVolume::IsActiveDaughters().

Bool_t TGeoAtt::IsVisBranch ( ) const
inline
Bool_t TGeoAtt::IsVisContainers ( ) const
inline

Definition at line 99 of file TGeoAtt.h.

Referenced by TGeoVolume::IsVisContainers().

Bool_t TGeoAtt::IsVisDaughters ( ) const
inline
Bool_t TGeoAtt::IsVisible ( ) const
inline

Definition at line 96 of file TGeoAtt.h.

Referenced by TGeoNode::IsVisible(), and TGeoVolume::IsVisible().

Bool_t TGeoAtt::IsVisLeaves ( ) const
inline

Definition at line 100 of file TGeoAtt.h.

Referenced by TGeoVolume::IsVisLeaves().

Bool_t TGeoAtt::IsVisOnly ( ) const
inline

Definition at line 101 of file TGeoAtt.h.

Referenced by TGeoVolume::IsVisOnly().

Bool_t TGeoAtt::IsVisRaytrace ( ) const
inline

Definition at line 95 of file TGeoAtt.h.

Referenced by TGeoVolume::IsRaytracing().

Bool_t TGeoAtt::IsVisStreamed ( ) const
inline

Definition at line 103 of file TGeoAtt.h.

Referenced by TGeoNode::SaveAttributes().

Bool_t TGeoAtt::IsVisTouched ( ) const
inline

Definition at line 104 of file TGeoAtt.h.

Referenced by TGeoManager::ClearAttributes(), and TGeoNode::SaveAttributes().

void TGeoAtt::ResetAttBit ( UInt_t  f)
inline
void TGeoAtt::SetActiveDaughters ( Bool_t  flag = kTRUE)
inline

Definition at line 88 of file TGeoAtt.h.

Referenced by TGeoVolume::SetActiveDaughters(), and TGeoAtt().

void TGeoAtt::SetActivity ( Bool_t  flag = kTRUE)
inline

Definition at line 87 of file TGeoAtt.h.

Referenced by TGeoVolume::SetActivity(), and TGeoAtt().

void TGeoAtt::SetAttBit ( UInt_t  f)
inline
void TGeoAtt::SetAttBit ( UInt_t  f,
Bool_t  set 
)
inline

Definition at line 74 of file TGeoAtt.h.

Referenced by SetAttBit().

void TGeoAtt::SetOptimization ( Option_t option)

Set optimization flags.

Definition at line 135 of file TGeoAtt.cxx.

void TGeoAtt::SetVisBranch ( )

Set branch type visibility.

Definition at line 63 of file TGeoAtt.cxx.

Referenced by TGeoManager::DrawPath().

void TGeoAtt::SetVisContainers ( Bool_t  flag = kTRUE)
virtual

Set branch type visibility.

Reimplemented in TGeoVolume.

Definition at line 73 of file TGeoAtt.cxx.

Referenced by TGeoVolume::SetVisContainers().

void TGeoAtt::SetVisDaughters ( Bool_t  vis = kTRUE)

Set visibility for the daughters.

Definition at line 110 of file TGeoAtt.cxx.

Referenced by TGeoAtt(), TGeoNode::VisibleDaughters(), and TGeoVolume::VisibleDaughters().

void TGeoAtt::SetVisibility ( Bool_t  vis = kTRUE)
virtual

Set visibility for this object.

Reimplemented in TGeoVolumeMulti, TGeoVolume, and TGeoNode.

Definition at line 101 of file TGeoAtt.cxx.

Referenced by TGeoVolume::SetAttVisibility(), TGeoNode::SetVisibility(), TGeoVolume::SetVisibility(), and TGeoAtt().

void TGeoAtt::SetVisLeaves ( Bool_t  flag = kTRUE)
virtual

Set branch type visibility.

Reimplemented in TGeoVolume.

Definition at line 81 of file TGeoAtt.cxx.

Referenced by SetVisContainers(), TGeoVolume::SetVisLeaves(), and TGeoAtt().

void TGeoAtt::SetVisOnly ( Bool_t  flag = kTRUE)
virtual

Set branch type visibility.

Reimplemented in TGeoVolume.

Definition at line 91 of file TGeoAtt.cxx.

Referenced by TGeoVolume::SetVisOnly().

void TGeoAtt::SetVisRaytrace ( Bool_t  flag = kTRUE)
inline
void TGeoAtt::SetVisStreamed ( Bool_t  vis = kTRUE)

Mark attributes as "streamed to file".

Definition at line 119 of file TGeoAtt.cxx.

Referenced by TGeoNode::SaveAttributes(), TGeoManager::SaveAttributes(), and TGeoAtt().

void TGeoAtt::SetVisTouched ( Bool_t  vis = kTRUE)
Bool_t TGeoAtt::TestAttBit ( UInt_t  f) const
inline

Member Data Documentation

UInt_t TGeoAtt::fGeoAtt
protected

Definition at line 65 of file TGeoAtt.h.

Referenced by ResetAttBit(), SetAttBit(), TestAttBit(), and TGeoAtt().


The documentation for this class was generated from the following files: