#ifndef ROOT_TVolumeViewIter
#define ROOT_TVolumeViewIter
#include "TDataSetIter.h"
#include "TVolumePosition.h"
class TObjArray;
class TVolumeView;
class TVolumeViewIter : public TDataSetIter {
private:
protected:
friend class TVolumeView;
TObjArray *fPositions;
virtual const TVolumePosition *GetPosition(Int_t level=0) const;
virtual TVolumePosition *SetPositionAt(TVolume *node,Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0);
virtual TVolumePosition *SetPositionAt(TVolumePosition &curPosition);
public:
TVolumeViewIter(TVolumeView *view, Int_t depth=1, Bool_t dir=kIterForward);
~TVolumeViewIter();
virtual Bool_t Notify();
virtual void Notify(TDataSet *set);
virtual void Reset(TDataSet *l=0,Int_t depth=0);
virtual TDataSet *operator[](const Char_t *path);
TVolumePosition *operator[](Int_t level);
TVolumePosition *UpdateTempMatrix(TVolumePosition *curPosition);
void ResetPosition(Int_t level=0, TVolumePosition *newPosition=0);
ClassDef(TVolumeViewIter,0)
};
inline Bool_t TVolumeViewIter::Notify() { return TDataSetIter::Notify();}
inline TDataSet *TVolumeViewIter::operator[](const Char_t *path)
{return TDataSetIter::operator[](path); }
#endif
Last change: Wed Jun 25 08:55:05 2008
Last generated: 2008-06-25 08:55
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.