library: libGeom
#include "TGeoPhysicalNode.h"


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

class TGeoPhysicalNode: public TObject, public TAttLine

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
TGeoPhysicalNode(const char* path)
voidTObject::AbstractMethod(const char* method) const
voidAlign(TGeoMatrix* newmat = 0, TGeoShape* newshape = 0, Bool_t check = kFALSE)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidcd() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tGetLevel() const
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
TGeoHMatrix*GetMatrix(Int_t level = -1) const
TGeoNode*GetMother(Int_t levup = 1) const
virtual const char*GetName() const
TGeoNode*GetNode(Int_t level = -1) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TGeoHMatrix*GetOriginalMatrix() const
TGeoShape*GetShape(Int_t level = -1) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TGeoVolume*GetVolume(Int_t level = -1) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsAligned() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsVisible() const
Bool_tIsVisibleFull() const
Bool_tIsVolAttributes() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidPaint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
voidSetIsVolAtt(Bool_t flag = kTRUE)
virtual voidTAttLine::SetLineAttributes()
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tSetPath(const char* path)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetVisibility(Bool_t flag = kTRUE)
voidSetVisibleFull(Bool_t flag = kTRUE)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
TGeoPhysicalNode(const TGeoPhysicalNode&)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TGeoPhysicalNode&operator=(const TGeoPhysicalNode&)
voidSetAligned(Bool_t flag = kTRUE)

Data Members

enum { kGeoPNodeFull
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
Int_tfLeveldepth in the geometry tree
TObjArray*fMatricesglobal transformation matrices
TObjArray*fNodesbranch of nodes
TGeoHMatrix*fMatrixOrigoriginal local matrix of the last node in the path
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width

Class Description

 Default constructor
TGeoPhysicalNode(const char *path)
TGeoPhysicalNode(const TGeoPhysicalNode& gpn)
copy constructor
TGeoPhysicalNode& operator=(const TGeoPhysicalNode& gpn)
assignment operator
void Align(TGeoMatrix *newmat, TGeoShape *newshape, Bool_t check)
 Align a physical node with a new relative matrix/shape.
 Example: /TOP_1/A_1/B_1/C_1
    node->Align(transl_1, box) will perform:
    - change RELATIVE translation of C_1 node (with respect to its
      container volume B) to transl_1
    - change the shape of the C volume
 *NOTE* The operations will affect ONLY the LAST node in the branch. All
   volumes/nodes in the branch represented by this physical node are
   CLONED so the operation does not affect other possible replicas.
void cd()
void Draw(Option_t * /*option*/)
 Draw this node.
TGeoNode * GetMother(Int_t levup)
 Return parent at LEVUP generation
TGeoHMatrix * GetMatrix(Int_t level)
 Return global matrix for node at LEVEL.
const char * GetName()
 Retrieve the name of this physical node
 WARNING: the physical node name is stored into a local static array
 It is the user's responsability to copy the returned name in case
 the information must be kept.
TGeoNode * GetNode(Int_t level)
 Return node in branch at LEVEL. If not specified, return last leaf.
TGeoVolume * GetVolume(Int_t level)
 Return volume associated with node at LEVEL in the branch
TGeoShape * GetShape(Int_t level)
 Return shape associated with volume.
void Paint(Option_t * /*option*/)
 Paint this node and its content according to visualization settings.
void SetBranchAsState()
 Set node branch according to current state
Bool_t SetPath(const char *path)
 Specify the path for this node.
void SetAligned(Bool_t flag=kTRUE)
Int_t GetLevel()
{return fLevel;}
TGeoHMatrix * GetOriginalMatrix()
{return fMatrixOrig;}
Bool_t IsAligned()
{return TObject::TestBit(kGeoPNodeAligned);}
Bool_t IsVolAttributes()
{return TObject::TestBit(kGeoPNodeVolAtt);}
Bool_t IsVisible()
{return TObject::TestBit(kGeoPNodeVisible);}
Bool_t IsVisibleFull()
{return TObject::TestBit(kGeoPNodeFull);}
void SetIsVolAtt(Bool_t flag=kTRUE)
void SetVisibility(Bool_t flag=kTRUE)
void SetVisibleFull(Bool_t flag=kTRUE)

Author: Andrei Gheata 17/02/04
Last update: root/geom:$Name: $:$Id: TGeoPhysicalNode.cxx,v 1.22 2006/10/06 19:15:05 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.