library: libGeom
#include "TGeoAtt.h"

TGeoAtt


class description - header file - source file
viewCVS header - viewCVS source

class TGeoAtt

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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 Description

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)
 Set branch type visibility.
void SetVisLeaves(Bool_t flag)
 Set branch type visibility.
void SetVisOnly(Bool_t flag)
 Set branch type visibility.
void SetVisibility(Bool_t vis)
 Set visibility for this object
void SetVisDaughters(Bool_t vis)
 Set visibility for the daughters.
void SetVisStreamed(Bool_t vis)
 Mark attributes as "streamed to file".
void SetVisTouched(Bool_t vis)
 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)
{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 update: root/geom:$Name: $:$Id: TGeoAtt.cxx,v 1.9 2006/03/24 15:11:23 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.