class TEveProjectionManager: public TEveElementList, public TAttBBox, public TAtt3D

 TEveProjectionManager

 Manager class for steering of projections and managing projected
 objects.

 Recursively projects TEveElement's and draws axis in the projected
 scene.  It enables to interactivly set TEveProjection parameters
 and updates projected scene accordingly.

Function Members (Methods)

public:
TEveProjectionManager()
virtual~TEveProjectionManager()
voidTObject::AbstractMethod(const char* method) const
virtual Bool_tTEveElementList::AcceptElement(TEveElement* el)
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()
TEveElement::List_iTEveElement::BeginChildren()
TEveElement::List_iTEveElement::BeginParents()
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tTEveElementList::CanEditMainColor()
virtual Bool_tTEveElement::CanEditMainHMTrans()
virtual Bool_tTEveElement::CanEditMainTransparency()
virtual Bool_tTEveElement::CanEditRnrElement()
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 voidComputeBBox()
virtual voidTNamed::Copy(TObject& named) const
voidTEveElement::DecDenyDestroy()
virtual voidTObject::Delete(Option_t* option = "")
virtual voidTEveElement::Destroy()
virtual voidTEveElement::DestroyElements()
virtual voidTEveElement::DestroyListSubTree(TGListTree* ltree, TGListTreeItem* parent)
voidTEveElement::DisableListElements(Bool_t rnr_self = kFALSE, Bool_t rnr_children = kFALSE)
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)
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
Color_tGetAxisColor() const
Float_t*TAttBBox::GetBBox()
Bool_tTAttBBox::GetBBoxOK() const
TEveVector&GetCenter()
static const TGPicture*TEveElement::GetCheckBoxPicture(Bool_t rnrElement, Bool_t rnrDaughter)
TClass*TEveElementList::GetChildClass() const
Float_tGetCurrentDepth() const
Int_tTEveElement::GetDenyDestroy() const
Bool_tTEveElement::GetDestroyOnZeroRefCnt() const
Bool_tGetDrawCenter()
virtual Option_t*TObject::GetDrawOption() const
Bool_tGetDrawOrigin()
static Long_tTObject::GetDtorOnly()
virtual TObject*TEveElement::GetEditorObject(const TEveException& eh = "TEveElement::GetEditorObject ") const
virtual const char*TObject::GetIconName() 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
TEveProjection*GetProjection()
virtual Bool_tTEveElement::GetRnrChildren() const
virtual const Text_t*TEveElement::GetRnrElName() const
virtual const Text_t*TEveElement::GetRnrElTitle() const
virtual Bool_tTEveElement::GetRnrSelf() const
Int_tGetSplitInfoLevel() const
Int_tGetSplitInfoMode() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tHandleElementPaste(TEveElement* el)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidImportElements(TEveElement* rnr_el)
virtual voidImportElementsRecurse(TEveElement* rnr_el, TEveElement* parent)
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
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
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 voidProjectChildren()
virtual voidProjectChildrenRecurse(TEveElement* rnr_el)
virtual TEveTrans*TEveElement::PtrMainHMTrans()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
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 = "")
voidSetAxisColor(Color_t col)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCenter(Float_t x, Float_t y, Float_t z)
voidTEveElementList::SetChildClass(TClass* c)
voidSetCurrentDepth(Float_t d)
voidTEveElement::SetDestroyOnZeroRefCnt(Bool_t d)
voidSetDrawCenter(Bool_t x)
virtual voidTObject::SetDrawOption(Option_t* option = "")
voidSetDrawOrigin(Bool_t x)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTEveElement::SetMainColor(Color_t color)
voidTEveElement::SetMainColor(Pixel_t pixel)
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)
voidSetProjection(TEveProjection::EPType_e type, Float_t distort = 0)
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)
voidSetSplitInfoLevel(Int_t x)
voidSetSplitInfoMode(Int_t x)
virtual voidTNamed::SetTitle(const char* title = "")
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 voidUpdateName()
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)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
virtual voidTEveElement::RemoveElementsInternal()
private:
TEveProjectionManager(const TEveProjectionManager&)
TEveProjectionManager&operator=(const TEveProjectionManager&)
virtual Bool_tShouldImport(TEveElement* rnr_el)

Data Members

public:
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)
TClass*TEveElementList::fChildClassClass of acceptable children, others are rejected.
list<TEveElement*,allocator<TEveElement*> >TEveElement::fChildrenList of children.
Color_tTEveElementList::fColorColor of the object.
Int_tTEveElement::fDenyDestroyDeny-destroy count.
Bool_tTEveElement::fDestroyOnZeroRefCntAuto-destruct when ref-count reaches zero.
Bool_tTEveElementList::fDoColorShould serve fColor as the main color of the object.
set<TEveElement::TEveListTreeInfo,less<TEveElement::TEveListTreeInfo>,allocator<TEveElement::TEveListTreeInfo> >TEveElement::fItemsSet of list-tree-items.
Color_t*TEveElement::fMainColorPtrPointer to main-color variable.
TStringTNamed::fNameobject identifier
list<TEveElement*,allocator<TEveElement*> >TEveElement::fParentsList of parents.
Bool_tTEveElement::fRnrChildrenRender children of this element.
Bool_tTEveElement::fRnrSelfRender this element.
TStringTNamed::fTitleobject title
private:
Color_tfAxisColorcolor of axis
TEveVectorfCentercenter of distortion
Float_tfCurrentDepthz depth of object being projected
Bool_tfDrawCenterdraw center of distortion
Bool_tfDrawOrigindraw origin
TEveProjection*fProjectionprojection
Int_tfSplitInfoLeveltick-mark density
Int_tfSplitInfoModetick-mark position

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveProjectionManager(const TEveProjectionManager& )
 Constructor.
~TEveProjectionManager()
 Destructor.
void UpdateName()
 Updates name to have consitent information with prjection.
void SetProjection(TEveProjection::EPType_e type, Float_t distort = 0)
 Set projection type and distortion.
void SetCenter(Float_t x, Float_t y, Float_t z)
 Set projection center and rebuild projected scene.
Bool_t HandleElementPaste(TEveElement* el)
 React to element being pasted or dnd-ed.
 Return true if redraw is needed (virtual method).
Bool_t ShouldImport(TEveElement* rnr_el)
 Returns true if rnr_el or any of its children is NTLProjectable.
void ImportElementsRecurse(TEveElement* rnr_el, TEveElement* parent)
 If rnr_el is TEveProjectable add projected instance else add
 plain TEveElementList to parent. Call same function on rnr_el
 children.
void ImportElements(TEveElement* rnr_el)
 Recursively import elements and update projection on the projected objects.
void ProjectChildrenRecurse(TEveElement* rnr_el)
 Go recursively through rnr_el tree and call UpdateProjection() on TEveProjected.
void ProjectChildren()
 Project children recursevly, update BBox and notify ReveManger
 the scenes have chenged.
void Paint(Option_t* option = "")
 Paint this object. Only direct rendering is supported.
void ComputeBBox()
 Virtual from TAttBBox; fill bounding-box information.
TEveProjectionManager(const TEveProjectionManager& )
TEveProjectionManager& operator=(const TEveProjectionManager& )
TEveProjection* GetProjection()
{ return fProjection; }
void SetAxisColor(Color_t col)
{ fAxisColor = col; }
Color_t GetAxisColor()
{ return fAxisColor; }
void SetSplitInfoMode(Int_t x)
{ fSplitInfoMode = x; }
Int_t GetSplitInfoMode()
{ return fSplitInfoMode; }
void SetSplitInfoLevel(Int_t x)
{ fSplitInfoLevel = x; }
Int_t GetSplitInfoLevel()
{ return fSplitInfoLevel; }
void SetDrawCenter(Bool_t x)
{ fDrawCenter = x; }
Bool_t GetDrawCenter()
{ return fDrawCenter; }
void SetDrawOrigin(Bool_t x)
{ fDrawOrigin = x; }
Bool_t GetDrawOrigin()
{ return fDrawOrigin; }
TEveVector& GetCenter()
{return fCenter;}
void SetCurrentDepth(Float_t d)
{ fCurrentDepth = d; }
Float_t GetCurrentDepth()
{ return fCurrentDepth; }

Last update: root/eve:$Id: TEveProjectionManager.h 21198 2007-12-05 02:31:27Z 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.