ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
TGeoIterator Class Reference

Definition at line 255 of file TGeoNode.h.

Public Member Functions

 TGeoIterator (TGeoVolume *top)
 
 TGeoIterator (const TGeoIterator &iter)
 Copy ctor. More...
 
virtual ~TGeoIterator ()
 Destructor. More...
 
TGeoIteratoroperator= (const TGeoIterator &iter)
 Assignment. More...
 
TGeoNodeoperator() ()
 Returns next node. More...
 
TGeoNodeNext ()
 Returns next node. More...
 
const TGeoMatrixGetCurrentMatrix () const
 Returns global matrix for current node. More...
 
Int_t GetIndex (Int_t i) const
 
Int_t GetLevel () const
 
TGeoNodeGetNode (Int_t level) const
 Returns current node at a given level. More...
 
void GetPath (TString &path) const
 Returns the path for the current node. More...
 
TGeoIteratorPluginGetUserPlugin () const
 
TGeoVolumeGetTopVolume () const
 
Int_t GetType () const
 
void Reset (TGeoVolume *top=0)
 Resets the iterator for volume TOP. More...
 
void SetUserPlugin (TGeoIteratorPlugin *plugin)
 Set a plugin. More...
 
void SetPluginAutoexec (Bool_t mode)
 
void SetType (Int_t type)
 
void SetTopName (const char *name)
 Set the top name for path. More...
 
void Skip ()
 Stop iterating the current branch. More...
 

Protected Member Functions

 TGeoIterator ()
 

Private Member Functions

void IncreaseArray ()
 Increase by 30 the size of the array. More...
 

Private Attributes

TGeoVolumefTop
 
Bool_t fMustResume
 
Bool_t fMustStop
 
Int_t fLevel
 
Int_t fType
 
Int_tfArray
 
TGeoHMatrixfMatrix
 
TString fTopName
 
TGeoIteratorPluginfPlugin
 
Bool_t fPluginAutoexec
 

#include <TGeoNode.h>

+ Collaboration diagram for TGeoIterator:

Constructor & Destructor Documentation

TGeoIterator::TGeoIterator ( )
inlineprotected

Definition at line 272 of file TGeoNode.h.

TGeoIterator::TGeoIterator ( TGeoVolume top)
TGeoIterator::TGeoIterator ( const TGeoIterator iter)

Copy ctor.

Definition at line 1013 of file TGeoNode.cxx.

TGeoIterator::~TGeoIterator ( )
virtual

Destructor.

Definition at line 1031 of file TGeoNode.cxx.

Member Function Documentation

const TGeoMatrix * TGeoIterator::GetCurrentMatrix ( ) const

Returns global matrix for current node.

Definition at line 1149 of file TGeoNode.cxx.

Referenced by TGeoChecker::CheckOverlaps(), TGeoPainter::DistanceToPrimitiveVol(), operator=(), TGeoPainter::PaintVolume(), and TGeoIterator().

Int_t TGeoIterator::GetIndex ( Int_t  i) const
inline

Definition at line 285 of file TGeoNode.h.

Referenced by operator=(), and TGeoIterator().

Int_t TGeoIterator::GetLevel ( ) const
inline
TGeoNode * TGeoIterator::GetNode ( Int_t  level) const

Returns current node at a given level.

Definition at line 1165 of file TGeoNode.cxx.

Referenced by TGeoChecker::CheckOverlaps(), Next(), and Skip().

void TGeoIterator::GetPath ( TString path) const

Returns the path for the current node.

Definition at line 1176 of file TGeoNode.cxx.

Referenced by TGeoChecker::CheckOverlaps(), TGeoNode::CheckOverlaps(), and TGeoPainter::DistanceToPrimitiveVol().

TGeoVolume* TGeoIterator::GetTopVolume ( ) const
inline

Definition at line 292 of file TGeoNode.h.

Referenced by operator=(), and TGeoIterator().

Int_t TGeoIterator::GetType ( ) const
inline

Definition at line 293 of file TGeoNode.h.

Referenced by operator=(), and TGeoIterator().

TGeoIteratorPlugin* TGeoIterator::GetUserPlugin ( ) const
inline

Definition at line 290 of file TGeoNode.h.

void TGeoIterator::IncreaseArray ( )
private

Increase by 30 the size of the array.

Definition at line 1193 of file TGeoNode.cxx.

Referenced by Next().

TGeoNode * TGeoIterator::Next ( )

Returns next node.

Definition at line 1062 of file TGeoNode.cxx.

Referenced by operator()().

TGeoNode * TGeoIterator::operator() ( )

Returns next node.

Definition at line 1141 of file TGeoNode.cxx.

TGeoIterator & TGeoIterator::operator= ( const TGeoIterator iter)

Assignment.

Definition at line 1040 of file TGeoNode.cxx.

void TGeoIterator::Reset ( TGeoVolume top = 0)

Resets the iterator for volume TOP.

Definition at line 1204 of file TGeoNode.cxx.

Referenced by TGeoChecker::CheckOverlaps(), and TGeoChecker::NChecksPerVolume().

void TGeoIterator::SetPluginAutoexec ( Bool_t  mode)
inline

Definition at line 296 of file TGeoNode.h.

void TGeoIterator::SetTopName ( const char *  name)

Set the top name for path.

Definition at line 1215 of file TGeoNode.cxx.

Referenced by TGeoChecker::CheckOverlaps(), and TGeoPainter::DistanceToPrimitiveVol().

void TGeoIterator::SetType ( Int_t  type)
inline

Definition at line 297 of file TGeoNode.h.

void TGeoIterator::SetUserPlugin ( TGeoIteratorPlugin plugin)

Set a plugin.

Definition at line 1262 of file TGeoNode.cxx.

Referenced by TGeoPainter::PaintVolume().

void TGeoIterator::Skip ( )

Stop iterating the current branch.

The iteration of the next node will behave as if the branch starting from the current node (included) is not existing.

Definition at line 1224 of file TGeoNode.cxx.

Referenced by TGeoChecker::CheckOverlaps(), TGeoPainter::CountNodes(), TGeoPainter::DistanceToPrimitiveVol(), TGeoChecker::NChecksPerVolume(), and TGeoPainter::PaintVolume().

Member Data Documentation

Int_t* TGeoIterator::fArray
private
Int_t TGeoIterator::fLevel
private
TGeoHMatrix* TGeoIterator::fMatrix
private

Definition at line 264 of file TGeoNode.h.

Referenced by GetCurrentMatrix(), operator=(), TGeoIterator(), and ~TGeoIterator().

Bool_t TGeoIterator::fMustResume
private

Definition at line 259 of file TGeoNode.h.

Referenced by Next(), operator=(), Reset(), Skip(), and TGeoIterator().

Bool_t TGeoIterator::fMustStop
private

Definition at line 260 of file TGeoNode.h.

Referenced by Next(), operator=(), Reset(), Skip(), and TGeoIterator().

TGeoIteratorPlugin* TGeoIterator::fPlugin
private

Definition at line 267 of file TGeoNode.h.

Referenced by GetUserPlugin(), Next(), operator=(), SetUserPlugin(), and TGeoIterator().

Bool_t TGeoIterator::fPluginAutoexec
private

Definition at line 268 of file TGeoNode.h.

Referenced by Next(), operator=(), and TGeoIterator().

TGeoVolume* TGeoIterator::fTop
private
TString TGeoIterator::fTopName
private

Definition at line 265 of file TGeoNode.h.

Referenced by GetPath(), operator=(), SetTopName(), and TGeoIterator().

Int_t TGeoIterator::fType
private

Definition at line 262 of file TGeoNode.h.

Referenced by GetType(), Next(), operator=(), Skip(), and TGeoIterator().


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