class TEveDigitSet: public TEveElement, public TNamed, public TQObject, public TAtt3D, public TAttBBox

 TEveDigitSet

 Base-class for storage of digit collections; provides
 transformation matrix (TEveTrans), signal to color mapping
 (TEveRGBAPalette) and visual grouping (TEveFrameBox).

 Base-class for displaying a digit collection.
 Provdies common services for:
 - specifying signal / color per digit
 - specifying object reference per digit
 - controlling palette and thresholds (external object TEveRGBAPalette)
 - showing a frame around the digits (external object TEveFrameBox)
 - specifying transformation matrix for the whole collection
   by data-member of class TEveTrans.

 See also:
   TEveQuadSet: rectangle, hexagon or line per digit
   TEveBoxSet   a 3D box per digit

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TEveDigitSet()
voidTObject::AbstractMethod(const char* method) const
virtual Bool_tTEveElement::AcceptElement(TEveElement*)
virtual TGListTreeItem*TEveElement::AddElement(TEveElement* el)
virtual TGListTreeItem*TEveElement::AddIntoListTree(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual TGListTreeItem*TEveElement::AddIntoListTree(TGListTree* ltree, TEveElement* parent)
virtual TGListTreeItem*TEveElement::AddIntoListTrees(TEveElement* parent)
virtual voidTEveElement::AddParent(TEveElement* re)
virtual voidTObject::AppendPad(Option_t* option = "")
Float_t*TAttBBox::AssertBBox()
TEveRGBAPalette*AssertPalette()
TEveElement::List_iTEveElement::BeginChildren()
TEveElement::List_iTEveElement::BeginParents()
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tCanEditMainColor()
virtual Bool_tTEveElement::CanEditMainHMTrans()
virtual Bool_tTEveElement::CanEditMainTransparency()
virtual Bool_tTEveElement::CanEditRnrElement()
virtual voidTQObject::ChangedBy(const char* method)
virtual voidTEveElement::CheckReferenceCount(const TEveException& eh = "TEveElement::CheckReferenceCount ")
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual voidTEveElement::CollectSceneParents(TEveElement::List_t& scenes)
virtual voidTEveElement::CollectSceneParentsFromChildren(TEveElement::List_t& scenes, TEveElement* parent)
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTAttBBox::ComputeBBox()
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
virtual voidTNamed::Copy(TObject& named) const
virtual voidCtrlClicked(TEveDigitSet* qs, Int_t idx)
voidTEveElement::DecDenyDestroy()
virtual voidTObject::Delete(Option_t* option = "")
virtual voidTEveElement::Destroy()
virtual voidTQObject::Destroyed()
virtual voidTEveElement::DestroyElements()
virtual voidTEveElement::DestroyListSubTree(TGListTree* ltree, TGListTreeItem* parent)
voidDigitColor(Color_t ci)
voidDigitColor(UChar_t* rgba)
voidDigitColor(UChar_t r, UChar_t g, UChar_t b, UChar_t a = 255)
voidDigitId(TObject* id)
virtual voidDigitSelected(Int_t idx)
voidDigitValue(Int_t value)
voidTEveElement::DisableListElements(Bool_t rnr_self = kFALSE, Bool_t rnr_children = kFALSE)
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTEveElement::ElementChanged(Bool_t update_scenes = kTRUE, Bool_t redraw = kFALSE)
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
voidTEveElement::EnableListElements(Bool_t rnr_self = kTRUE, Bool_t rnr_children = kTRUE)
TEveElement::List_iTEveElement::EndChildren()
TEveElement::List_iTEveElement::EndParents()
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 voidTEveElement::ExpandIntoListTree(TGListTree* ltree, TGListTreeItem* parent)
virtual voidTEveElement::ExportToCINT(Text_t* var_name)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TEveElement::sLTI_iTEveElement::FindItem(TGListTree* ltree)
virtual TEveElement::sLTI_iTEveElement::FindItem(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual TGListTreeItem*TEveElement::FindListTreeItem(TGListTree* ltree)
virtual TGListTreeItem*TEveElement::FindListTreeItem(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Float_t*TAttBBox::GetBBox()
Bool_tTAttBBox::GetBBoxOK() const
static const TGPicture*TEveElement::GetCheckBoxPicture(Bool_t rnrElement, Bool_t rnrDaughter)
Int_tTEveElement::GetDenyDestroy() const
Bool_tTEveElement::GetDestroyOnZeroRefCnt() const
TEveDigitSet::DigitBase_t*GetDigit(Int_t n)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual TObject*TEveElement::GetEditorObject(const TEveException& eh = "TEveElement::GetEditorObject ") const
Bool_tGetEmitSignals() const
TEveFrameBox*GetFrame() const
Bool_tGetHistoButtons() const
virtual const char*TObject::GetIconName() const
TObject*GetId(Int_t n)
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGPicture*TEveElement::GetListTreeIcon()
virtual Color_tTEveElement::GetMainColor() const
Color_t*TEveElement::GetMainColorPtr()
virtual UChar_tTEveElement::GetMainTransparency() const
virtual const char*TNamed::GetName() const
Int_tTEveElement::GetNChildren() const
virtual Int_tTEveElement::GetNItems() const
Int_tTEveElement::GetNParents() const
virtual TObject*TEveElement::GetObject(const TEveException& eh = "TEveElement::GetObject ") const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Bool_tGetOwnIds() const
TEveRGBAPalette*GetPalette() const
TEveChunkManager*GetPlex()
TEveDigitSet::ERenderMode_eGetRenderMode() const
virtual Bool_tTEveElement::GetRnrChildren() const
virtual const Text_t*TEveElement::GetRnrElName() const
virtual const Text_t*TEveElement::GetRnrElTitle() const
virtual Bool_tTEveElement::GetRnrSelf() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Bool_tGetValueIsColor() const
virtual Bool_tTEveElement::HandleElementPaste(TEveElement* el)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTNamed::Hash() const
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
voidTEveElement::IncDenyDestroy()
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
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
static voidTQObject::LoadRQ_OBJECT()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
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 voidTEveElement::PadPaint(Option_t* option)
virtual voidPaint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual TEveTrans*TEveElement::PtrMainHMTrans()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
TEveTrans&RefHMTrans()
voidRefitPlex()
virtual voidTEveElement::RemoveElement(TEveElement* el)
virtual voidTEveElement::RemoveElementLocal(TEveElement* el)
virtual voidTEveElement::RemoveElements()
virtual voidTEveElement::RemoveElementsLocal()
virtual Bool_tTEveElement::RemoveFromListTree(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual Int_tTEveElement::RemoveFromListTrees(TEveElement* parent)
virtual voidTEveElement::RemoveParent(TEveElement* re)
voidTAttBBox::ResetBBox()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidScanMinMaxValues(Int_t& min, Int_t& max)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTEveElement::SetDestroyOnZeroRefCnt(Bool_t d)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
voidSetEmitSignals(Bool_t f)
voidSetFrame(TEveFrameBox* b)
voidSetHistoButtons(Bool_t f)
virtual voidSetMainColor(Color_t color)
voidTEveElement::SetMainColorPtr(Color_t* color)
virtual voidTEveElement::SetMainTransparency(UChar_t)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOwnIds(Bool_t o)
voidSetPalette(TEveRGBAPalette* p)
voidSetRenderMode(TEveDigitSet::ERenderMode_e rm)
virtual voidTEveElement::SetRnrChildren(Bool_t rnr)
virtual voidTEveElement::SetRnrElNameTitle(const Text_t* name, const Text_t* title)
virtual voidTEveElement::SetRnrSelf(Bool_t rnr)
virtual voidTEveElement::SetRnrState(Bool_t rnr)
virtual voidTNamed::SetTitle(const char* title = "")
voidSetTransMatrix(Double_t* carr)
voidSetTransMatrix(const TGeoMatrix& mat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidTAtt3D::Sizeof3D() const
voidTEveElement::SpawnEditor()
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 voidTEveElement::UpdateItems()
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:
voidTAttBBox::AssertBBoxExtents(Float_t epsilon = 0.005)
voidTAttBBox::BBoxCheckPoint(const Float_t* p)
voidTAttBBox::BBoxCheckPoint(Float_t x, Float_t y, Float_t z)
voidTAttBBox::BBoxClear()
voidTAttBBox::BBoxInit(Float_t infinity = 1e6)
voidTAttBBox::BBoxZero(Float_t epsilon = 0, Float_t x = 0, Float_t y = 0, Float_t z = 0)
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual void*TQObject::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidTObject::MakeZombie()
TEveDigitSet::DigitBase_t*NewDigit()
voidReleaseIds()
virtual voidTEveElement::RemoveElementsInternal()
private:
TEveDigitSet&operator=(const TEveDigitSet&)

Data Members

public:
enum ERenderMode_e { kRM_AsIs
kRM_TEveLine
kRM_Fill
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
static const TGPicture*TEveElement::fgListTreeIcons[8]
static const TGPicture*TEveElement::fgRnrIcons[4]
protected:
Float_t*TAttBBox::fBBox! Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
list<TEveElement*,allocator<TEveElement*> >TEveElement::fChildrenList of children.
Int_tfDefaultValueDefault signal value.
Int_tTEveElement::fDenyDestroyDeny-destroy count.
Bool_tTEveElement::fDestroyOnZeroRefCntAuto-destruct when ref-count reaches zero.
Bool_tfDisableLigtingDisable lighting for rendering.
Bool_tfEmitSignalsEmit signals on secondary-select.
TEveFrameBox*fFramePointer to frame structure.
TEveTransfHMTransOverall transformation of whole collection.
Bool_tfHistoButtonsShow histogram buttons in object editor.
set<TEveElement::TEveListTreeInfo,less<TEveElement::TEveListTreeInfo>,allocator<TEveElement::TEveListTreeInfo> >TEveElement::fItemsSet of list-tree-items.
TEveDigitSet::DigitBase_t*fLastDigit! The last digit added to collection.
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
Color_t*TEveElement::fMainColorPtrPointer to main-color variable.
TStringTNamed::fNameobject identifier
Bool_tfOwnIdsFlag specifying if id-objects are owned by the TEveDigitSet
TEveRGBAPalette*fPalettePointer to signal-color palette.
list<TEveElement*,allocator<TEveElement*> >TEveElement::fParentsList of parents.
TEveChunkManagerfPlexContainer of digit data.
TEveDigitSet::ERenderMode_efRenderModeRender mode: as-is / line / filled.
Bool_tTEveElement::fRnrChildrenRender children of this element.
Bool_tTEveElement::fRnrSelfRender this element.
TStringTNamed::fTitleobject title
Bool_tfValueIsColorInterpret signal value as RGBA color.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

~TEveDigitSet()
 Destructor.
 Unreference frame and palette. Destroy referenced objects if they
 are owned by the TEveDigitSet.
void ReleaseIds()
 Protected method. Release and delete the referenced objects, the
 ownership is *NOT* checked.
void SetMainColor(Color_t color)
 Override from TEveElement, forward to Frame.
void RefitPlex()
 Instruct underlying memory allocator to regroup itself into a
 contiguous memory chunk.
void ScanMinMaxValues(Int_t& min, Int_t& max)
 Iterate over the digits and detmine min and max signal values.
void DigitValue(Int_t value)
 Set signal value for the last digit added.
void DigitColor(Color_t ci)
 Set color for the last digit added.
void DigitColor(UChar_t r, UChar_t g, UChar_t b, UChar_t a = 255)
 Set color for the last digit added.
void DigitColor(UChar_t* rgba)
 Set color for the last digit added.
void DigitId(TObject* id)
 Set external object reference for the last digit added.
void Paint(Option_t* option = "")
 Paint this object. Only direct rendering is supported.
void DigitSelected(Int_t idx)
 Called from renderer when a digit with index idx is selected.
void CtrlClicked(TEveDigitSet* qs, Int_t idx)
 Emit a CtrlClicked signal.
void SetFrame(TEveFrameBox* b)
 Set TEveFrameBox pointer.
void SetPalette(TEveRGBAPalette* p)
 Set TEveRGBAPalette pointer.
TEveRGBAPalette* AssertPalette()
 Make sure the TEveRGBAPalette pointer is not null.
 If it is not set, a new one is instantiated and the range is set
 to current min/max signal values.
TEveDigitSet& operator=(const TEveDigitSet& )
DigitBase_t* NewDigit()
Bool_t CanEditMainColor()
{ return kTRUE; }
Bool_t GetOwnIds()
{ return fOwnIds; }
void SetOwnIds(Bool_t o)
{ fOwnIds = o; }
DigitBase_t* GetDigit(Int_t n)
{ return (DigitBase_t*) fPlex.Atom(n); }
TObject* GetId(Int_t n)
{ return GetDigit(n)->fId.GetObject(); }
TEveChunkManager* GetPlex()
{ return &fPlex; }
TEveFrameBox* GetFrame()
{ return fFrame; }
Bool_t GetValueIsColor()
{ return fValueIsColor; }
TEveRGBAPalette* GetPalette()
{ return fPalette; }
ERenderMode_e GetRenderMode()
{ return fRenderMode; }
void SetRenderMode(TEveDigitSet::ERenderMode_e rm)
{ fRenderMode = rm; }
Bool_t GetEmitSignals()
{ return fEmitSignals; }
void SetEmitSignals(Bool_t f)
{ fEmitSignals = f; }
Bool_t GetHistoButtons()
{ return fHistoButtons; }
void SetHistoButtons(Bool_t f)
{ fHistoButtons = f; }
TEveTrans& RefHMTrans()
{ return fHMTrans; }
void SetTransMatrix(Double_t* carr)
{ fHMTrans.SetFrom(carr); }
void SetTransMatrix(const TGeoMatrix& mat)
{ fHMTrans.SetFrom(mat); }

Last update: root/eve:$Id: TEveDigitSet.h 21434 2007-12-17 21:09:43Z matevz $
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

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.