CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FWGeometryTableManagerBase::NodeInfo Struct Reference

#include <FWGeometryTableManagerBase.h>

Public Member Functions

void copyColorTransparency (const NodeInfo &x)
 
const char * name () const
 
 NodeInfo ()
 
 NodeInfo (TGeoNode *n, Int_t p, Color_t col, Char_t l, UChar_t f=kVisNodeSelf|kVisNodeChld)
 
void resetBit (UChar_t f)
 
void setBit (UChar_t f)
 
void setBitVal (UChar_t f, bool x)
 
void switchBit (UChar_t f)
 
bool testBit (UChar_t f) const
 
bool testBitAny (UChar_t f) const
 

Public Attributes

Color_t m_color
 
UChar_t m_flags
 
UChar_t m_level
 
TGeoNode * m_node
 
Int_t m_parent
 
UChar_t m_transparency
 

Detailed Description

Definition at line 54 of file FWGeometryTableManagerBase.h.

Constructor & Destructor Documentation

FWGeometryTableManagerBase::NodeInfo::NodeInfo ( )
inline
FWGeometryTableManagerBase::NodeInfo::NodeInfo ( TGeoNode *  n,
Int_t  p,
Color_t  col,
Char_t  l,
UChar_t  f = kVisNodeSelf|kVisNodeChld 
)
inline

Member Function Documentation

void FWGeometryTableManagerBase::NodeInfo::copyColorTransparency ( const NodeInfo x)
inline

Definition at line 82 of file FWGeometryTableManagerBase.h.

References m_color, m_node, and m_transparency.

Referenced by FWGeometryTableManagerBase::applyColorTranspToDaughters().

82  {
83  m_color = x.m_color; m_transparency = x.m_transparency;
84  if (m_node->GetVolume()) {
85  m_node->GetVolume()->SetLineColor(x.m_color);
86  m_node->GetVolume()->SetTransparency(x.m_transparency);
87  }
88  }
Definition: DDAxes.h:10
const char * FWGeometryTableManagerBase::NodeInfo::name ( void  ) const
void FWGeometryTableManagerBase::NodeInfo::resetBit ( UChar_t  f)
inline
void FWGeometryTableManagerBase::NodeInfo::setBit ( UChar_t  f)
inline
void FWGeometryTableManagerBase::NodeInfo::setBitVal ( UChar_t  f,
bool  x 
)
inline
void FWGeometryTableManagerBase::NodeInfo::switchBit ( UChar_t  f)
inline
bool FWGeometryTableManagerBase::NodeInfo::testBit ( UChar_t  f) const
inline
bool FWGeometryTableManagerBase::NodeInfo::testBitAny ( UChar_t  f) const
inline

Member Data Documentation

Color_t FWGeometryTableManagerBase::NodeInfo::m_color
UChar_t FWGeometryTableManagerBase::NodeInfo::m_flags

Definition at line 66 of file FWGeometryTableManagerBase.h.

Referenced by resetBit(), setBit(), testBit(), and testBitAny().

UChar_t FWGeometryTableManagerBase::NodeInfo::m_level
TGeoNode* FWGeometryTableManagerBase::NodeInfo::m_node
Int_t FWGeometryTableManagerBase::NodeInfo::m_parent
UChar_t FWGeometryTableManagerBase::NodeInfo::m_transparency