class TEvePolygonSetProjected: public TEveElementList, public TEveProjected, public TAtt3D, public TAttBBox

 TEvePolygonSetProjected

 A set of projected polygons.
 Used for storage of projected geometrical shapes.

 Internal struct Polygon_t holds only indices into the master vertex
 array in TEvePolygonSetProjected.

Function Members (Methods)

public:
TEvePolygonSetProjected(const Text_t* n = "TEvePolygonSetProjected", const Text_t* t = "")
virtual~TEvePolygonSetProjected()
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_tCanEditMainColor()
virtual Bool_tTEveElement::CanEditMainHMTrans()
virtual Bool_tCanEditMainTransparency()
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
voidDumpBuffer3D()
virtual voidDumpPolys() 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
Float_t*TAttBBox::GetBBox()
Bool_tTAttBBox::GetBBoxOK() const
static const TGPicture*TEveElement::GetCheckBoxPicture(Bool_t rnrElement, Bool_t rnrDaughter)
TClass*TEveElementList::GetChildClass() const
Int_tTEveElement::GetDenyDestroy() const
Bool_tTEveElement::GetDestroyOnZeroRefCnt() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual TObject*TEveElement::GetEditorObject(const TEveException& eh = "TEveElement::GetEditorObject ") const
virtual const char*TObject::GetIconName() const
virtual Color_tGetLineColor() const
virtual const TGPicture*TEveElement::GetListTreeIcon()
virtual Color_tTEveElement::GetMainColor() const
Color_t*TEveElement::GetMainColorPtr()
virtual UChar_tGetMainTransparency() 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
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
virtual Bool_tTEveElement::HandleElementPaste(TEveElement* el)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
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
voidProjectBuffer3D()
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 = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTEveElementList::SetChildClass(TClass* c)
virtual voidTEveProjected::SetDepth(Float_t d)
voidTEveElement::SetDestroyOnZeroRefCnt(Bool_t d)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetFillColor(Pixel_t pixel)
virtual voidSetFillColor(Color_t c)
virtual voidSetLineColor(Pixel_t pixel)
virtual voidSetLineColor(Color_t c)
virtual voidSetLineWidth(Double_t lw)
virtual voidTEveElement::SetMainColor(Color_t color)
voidTEveElement::SetMainColor(Pixel_t pixel)
voidTEveElement::SetMainColorPtr(Color_t* color)
virtual voidSetMainTransparency(UChar_t t)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetProjection(TEveProjectionManager* proj, TEveProjectable* model)
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 = "")
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 voidTEveProjected::UnRefProjectable(TEveProjectable* assumed_parent)
virtual voidTEveElement::UpdateItems()
virtual voidUpdateProjection()
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:
TEvePolygonSetProjected(const TEvePolygonSetProjected&)
voidAddPolygon(list<Int_t,std::allocator<Int_t> >& pp, list<TEvePolygonSetProjected::Polygon_t,allocator<TEvePolygonSetProjected::Polygon_t> >& p)
voidClearPolygonSet()
Bool_tIsFirstIdxHead(Int_t s0, Int_t s1)
voidMakePolygonsFromBP()
voidMakePolygonsFromBS()
TEvePolygonSetProjected&operator=(const TEvePolygonSetProjected&)
voidProjectAndReducePoints()

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.
Float_tTEveProjected::fDepthz coordinate
Bool_tTEveElement::fDestroyOnZeroRefCntAuto-destruct when ref-count reaches zero.
Bool_tTEveElementList::fDoColorShould serve fColor as the main color of the object.
Color_tfFillColorfill color of polygons
set<TEveElement::TEveListTreeInfo,less<TEveElement::TEveListTreeInfo>,allocator<TEveElement::TEveListTreeInfo> >TEveElement::fItemsSet of list-tree-items.
Color_tfLineColoroutline color of polygons
Float_tfLineWidthoutline width of polygons
Color_t*TEveElement::fMainColorPtrPointer to main-color variable.
Int_tfNPntsnumber of reduced and projected points
TStringTNamed::fNameobject identifier
list<TEveElement*,allocator<TEveElement*> >TEveElement::fParentsList of parents.
TEveVector*fPntsreduced and projected points
list<TEvePolygonSetProjected::Polygon_t,allocator<TEvePolygonSetProjected::Polygon_t> >fPolspolygons
list<TEvePolygonSetProjected::Polygon_t,allocator<TEvePolygonSetProjected::Polygon_t> >fPolsBPpolygons build from TBuffer3D polygons
list<TEvePolygonSetProjected::Polygon_t,allocator<TEvePolygonSetProjected::Polygon_t> >fPolsBSpolygons build from TBuffer3D segments
TEveProjectable*TEveProjected::fProjectablelink to original object
TEveProjectionManager*TEveProjected::fProjectormanager
Bool_tTEveElement::fRnrChildrenRender children of this element.
Bool_tTEveElement::fRnrSelfRender this element.
Float_tfSurfsum of surface of polygons
TStringTNamed::fTitleobject title
UChar_tfTransparencytransparency of polygons
private:
TBuffer3D*fBuffbuffer of projectable object
Int_t*fIdxMapmap from original to projected and reduced point needed oly for geometry

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEvePolygonSetProjected(const Text_t* n = "TEvePolygonSetProjected", const Text_t* t = "")
 Constructor.
~TEvePolygonSetProjected()
 Destructor.
void ClearPolygonSet()
 Clears list of points and polygons.
void SetProjection(TEveProjectionManager* proj, TEveProjectable* model)
 This is virtual method from base-class TEveProjected.
void UpdateProjection()
 This is virtual method from base-class TEveProjected.
Bool_t IsFirstIdxHead(Int_t s0, Int_t s1)
 Compare the two segments and check if the first index of first segment is starting.
void ProjectAndReducePoints()
 Project and reduce buffer points.
void AddPolygon(list<Int_t,std::allocator<Int_t> >& pp, list<TEvePolygonSetProjected::Polygon_t,allocator<TEvePolygonSetProjected::Polygon_t> >& p)
 Check if polygon has dimensions above TEveProjection::fgEps and add it
 to a list if it is not a duplicate.
void MakePolygonsFromBP()
 Build polygons from list of buffer polygons.
void MakePolygonsFromBS()
 Build polygons from the set of buffer segments.
 First creates a segment pool according to reduced and projected points
 and then build polygons from the pool.
void ProjectBuffer3D()
 Project current buffer.
void ComputeBBox()
 Override of virtual method from TAttBBox.
void Paint(Option_t* option = "")
 Paint this object. Only direct rendering is supported.
void DumpPolys()
 Dump information about built polygons.
void DumpBuffer3D()
 Dump information about currenty projected buffer.
TEvePolygonSetProjected(const TEvePolygonSetProjected& )
TEvePolygonSetProjected& operator=(const TEvePolygonSetProjected& )
Bool_t CanEditMainColor()
rendering
{ return kTRUE; }
Color_t GetLineColor()
{ return fLineColor; }
Bool_t CanEditMainTransparency()
{ return kTRUE; }
UChar_t GetMainTransparency()
{ return fTransparency; }
void SetMainTransparency(UChar_t t)
{ fTransparency = t; }
void SetFillColor(Pixel_t pixel)
{ fFillColor = Color_t(TColor::GetColor(pixel));}
void SetLineColor(Pixel_t pixel)
{ fLineColor = Color_t(TColor::GetColor(pixel));}
void SetFillColor(Color_t c)
{ fFillColor = c; }
void SetLineColor(Color_t c)
{ fLineColor = c; }
void SetLineWidth(Double_t lw)
{fLineWidth = lw;}

Last update: root/eve:$Id: TEvePolygonSetProjected.h 21138 2007-11-30 23:06:23Z 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.