12 #ifndef ROOT_TGeoPhysicalNode
13 #define ROOT_TGeoPhysicalNode
19 #ifndef ROOT_TObjArray
122 :
TNamed(pne), fNode(pne.fNode), fMatrix(
NULL), fGlobalOrig(
NULL) { }
129 TGeoPNEntry(
const char *unique_name,
const char *path);
void SetPhysicalNode(TGeoPhysicalNode *node)
Setter for the corresponding physical node.
virtual const char * GetTitle() const
Returns title of object.
virtual void Print(Option_t *option="") const
Print info about this node.
Bool_t IsVolAttributes() const
const char * GetPath() const
TGeoPNEntry(const TGeoPNEntry &pne)
void SetAligned(Bool_t flag=kTRUE)
TGeoHMatrix * GetMatrix(Int_t level=-1) const
Return global matrix for node at LEVEL.
TGeoPhysicalNode & operator=(const TGeoPhysicalNode &)
assignment operator
TGeoHMatrix * fMatrixOrig
TGeoHMatrix * fGlobalOrig
void Refresh()
Refresh this physical node.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
void SetMatrixOrig(const TGeoMatrix *local)
Allows PN entries (or users) to preset the local original matrix for the last node pointed by the pat...
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual void Paint(Option_t *option="")
Paint this node and its content according to visualization settings.
Bool_t SetPath(const char *path)
Specify the path for this node.
void SetVisibility(Bool_t flag=kTRUE)
virtual ~TGeoPNEntry()
Destructor.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
const TGeoHMatrix * GetMatrix() const
void SetMatrix(const TGeoHMatrix *matrix)
Set the additional matrix for this node entry.
virtual ~TGeoPhysicalNode()
Destructor.
TGeoPhysicalNode * GetPhysicalNode() const
TGeoVolume * GetVolume(Int_t level=-1) const
Return volume associated with node at LEVEL in the branch.
TGeoHMatrix * GetOriginalMatrix() const
Bool_t TestBit(UInt_t f) const
void Draw(Option_t *option="")
Draw this node.
TGeoNode * GetMother(Int_t levup=1) const
Return parent at LEVUP generation.
TGeoNode * GetNode(Int_t level=-1) const
Return node in branch at LEVEL. If not specified, return last leaf.
TGeoHMatrix * GetGlobalOrig() const
void SetIsVolAtt(Bool_t flag=kTRUE)
TGeoHMatrix * GetMatrixOrig() const
Bool_t Align(TGeoMatrix *newmat=0, TGeoShape *newshape=0, Bool_t check=kFALSE, Double_t ovlp=0.001)
Align a physical node with a new relative matrix/shape.
void SetVisibleFull(Bool_t flag=kTRUE)
TGeoShape * GetShape(Int_t level=-1) const
Return shape associated with volume.
void SetBranchAsState()
Set node branch according to current state.
TGeoPNEntry & operator=(const TGeoPNEntry &pne)
Bool_t IsVisibleFull() const
Bool_t IsMatchingState(TGeoNavigator *nav) const
Checks if a given navigator state matches this physical node.
const TGeoHMatrix * fMatrix