ROOT » GRAF3D » EVE » TEveGridStepper

class TEveGridStepper: public TObject

 TEveGridStepper

 Provide discrete position coordinates for placement of objects on
 regular grids.

Function Members (Methods)

public:
virtual~TEveGridStepper()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
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 = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
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
Int_tGetCx() const
Int_tGetCy() const
Int_tGetCz() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Float_tGetDx() const
Float_tGetDy() const
Float_tGetDz() const
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
Int_tGetNx() const
Int_tGetNy() const
Int_tGetNz() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Float_tGetOx() const
Float_tGetOy() const
Float_tGetOz() const
voidGetPosition(Float_t* p)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() 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() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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 voidTObject::Paint(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)
voidReset()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
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 = "")MENU
voidSetDs(Float_t dx, Float_t dy, Float_t dz = 0)
static voidTObject::SetDtorOnly(void* obj)
voidSetNs(Int_t nx, Int_t ny, Int_t nz = 1)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOs(Float_t ox, Float_t oy, Float_t oz = 0)
voidSetTrans(TEveTrans* mx)
voidSetTransAdvance(TEveTrans* mx)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
Bool_tStep()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidSubtract(TEveGridStepper& s)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TEveGridStepper(Int_t sm = kSM_XYZ)
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
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TEveGridStepper::EStepMode_ekSM_XYZ
static TEveGridStepper::EStepMode_ekSM_XZY
static TEveGridStepper::EStepMode_ekSM_YXZ
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
Int_tfCxCurrent positions during filling / traversal.
Int_tfCyCurrent positions during filling / traversal.
Int_tfCzCurrent positions during filling / traversal.
Float_tfDxStep size in each direction.
Float_tfDyStep size in each direction.
Float_tfDzStep size in each direction.
TEveGridStepper::EStepMode_efModeStepping mode, order of filling.
Int_tfNxNumber of slots in each direction.
Int_tfNyNumber of slots in each direction.
Int_tfNzNumber of slots in each direction.
Float_tfOxInitial offset for each direction.
Float_tfOyInitial offset for each direction.
Float_tfOzInitial offset for each direction.
private:
Int_t*fLimitArr[3]! Internal traversal variables.
Int_t*fValueArr[3]! Internal traversal variables.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveGridStepper(Int_t sm = kSM_XYZ)
 Constructor.
void Reset()
 Reset position to origin.
void Subtract(TEveGridStepper& s)
 Subtract current position of 's' from origin of this.
Bool_t Step()
 Move to the next grid position.
void GetPosition(Float_t* p)
 Get current position.
void SetTrans(TEveTrans* mx)
 Set position into the translation part of mx.
void SetTransAdvance(TEveTrans* mx)
 Set position into the translation part of mx and advance to the
 next grid position.
TEveGridStepper(const TEveGridStepper& )
TEveGridStepper& operator=(const TEveGridStepper& )
virtual ~TEveGridStepper()
{}
void SetNs(Int_t nx, Int_t ny, Int_t nz = 1)
{ fNx = nx; fNy = ny; fNz = nz; }
void SetDs(Float_t dx, Float_t dy, Float_t dz = 0)
{ fDx = dx; fDy = dy; fDz = dz; }
void SetOs(Float_t ox, Float_t oy, Float_t oz = 0)
{ fOx = ox; fOy = oy; fOz = oz; }
Int_t GetCx() const
{ return fCx; }
Int_t GetCy() const
{ return fCy; }
Int_t GetCz() const
{ return fCz; }
Int_t GetNx() const
{ return fNx; }
Int_t GetNy() const
{ return fNy; }
Int_t GetNz() const
{ return fNz; }
Float_t GetDx() const
{ return fDx; }
Float_t GetDy() const
{ return fDy; }
Float_t GetDz() const
{ return fDz; }
Float_t GetOx() const
{ return fOx; }
Float_t GetOy() const
{ return fOy; }
Float_t GetOz() const
{ return fOz; }