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


 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 voidTEveElement::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)
voidTEveElement::AddStamp(UChar_t bits)
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_tTEveElement::CanEditElement() const
virtual Bool_tCanEditMainColor() const
virtual Bool_tTEveElement::CanEditMainTrans() const
virtual Bool_tCanEditMainTransparency() const
virtual voidTEveElement::CheckReferenceCount(const TEveException& eh = "TEveElement::CheckReferenceCount ")
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
voidTEveElement::ClearStamps()
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()
voidTEveElement::DecImpliedHighlighted()
voidTEveElement::DecImpliedSelected()
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidTEveElement::Destroy()MENU
virtual voidTEveElement::DestroyElements()MENU
virtual voidTEveElement::DestroyListSubTree(TGListTree* ltree, TGListTreeItem* parent)
virtual voidTEveElement::DestroyMainTrans()
voidTEveElement::DisableListElements(Bool_t rnr_self = kFALSE, Bool_t rnr_children = kFALSE)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
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)MENU
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)MENU
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual voidTEveElement::FillImpliedSelectedSet(TEveElement::Set_t& impSelSet)
TEveElement*TEveElement::FindChild(const TString& name, const TClass* cls = 0)
TEveElement*TEveElement::FindChild(TPRegexp& regexp, const TClass* cls = 0)
Int_tTEveElement::FindChildren(TEveElement::List_t& matches, const TString& name, const TClass* cls = 0)
Int_tTEveElement::FindChildren(TEveElement::List_t& matches, TPRegexp& regexp, const TClass* cls = 0)
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
UChar_tTEveElement::GetChangeBits() const
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 Text_t*TEveElementList::GetElementName() const
virtual const Text_t*TEveElementList::GetElementTitle() const
virtual const char*TObject::GetIconName() const
virtual Color_tGetLineColor() const
virtual const TGPicture*TEveElement::GetListTreeCheckBoxIcon()
virtual const TGPicture*TEveElement::GetListTreeIcon(Bool_t open = kFALSE)
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
TEveProjectable*TEveProjected::GetProjectable() const
virtual TObject*TEveElement::GetRenderObject(const TEveException& eh = "TEveElement::GetRenderObject ") const
virtual Bool_tTEveElement::GetRnrChildren() const
virtual Bool_tTEveElement::GetRnrSelf() const
virtual Bool_tTEveElement::GetRnrState() const
virtual UChar_tTEveElement::GetSelectedLevel() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
void*TEveElement::GetUserData() const
virtual Bool_tTEveElement::HandleElementPaste(TEveElement* el)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tTEveElement::HasChild(TEveElement* el)
virtual ULong_tTNamed::Hash() const
virtual Bool_tTEveElement::HasMainColor() const
virtual Bool_tTEveElement::HasMainTrans() const
voidTEveElement::HighlightElement(Bool_t state)
voidTEveElement::IncDenyDestroy()
voidTEveElement::IncImpliedHighlighted()
voidTEveElement::IncImpliedSelected()
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 voidTEveElement::InitMainTrans(Bool_t can_edit = kTRUE)
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
Bool_tTEveElement::IsPickable() 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::PtrMainTrans()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual TEveTrans&TEveElement::RefMainTrans()
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 = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTEveElement::SelectElement(Bool_t state)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTEveElementList::SetChildClass(TClass* c)
virtual voidSetDepth(Float_t d)
voidTEveProjected::SetDepthCommon(Float_t d, TEveElement* el, Float_t* bbox)
voidTEveElement::SetDestroyOnZeroRefCnt(Bool_t d)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTEveElementList::SetElementName(const Text_t* name)
virtual voidTEveElementList::SetElementNameTitle(const Text_t* name, const Text_t* title)
virtual voidTEveElementList::SetElementTitle(const Text_t* title)
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)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidTEveElement::SetPickable(Bool_t p)
virtual voidSetProjection(TEveProjectionManager* mng, TEveProjectable* model)
virtual voidTEveElement::SetRnrChildren(Bool_t rnr)
virtual voidTEveElement::SetRnrSelf(Bool_t rnr)
virtual voidTEveElement::SetRnrState(Bool_t rnr)
voidTEveElement::SetStamp(UChar_t bits)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTEveElement::SetTransMatrix(Double_t* carr)
virtual voidTEveElement::SetTransMatrix(const TGeoMatrix& mat)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTEveElement::SetUserData(void* ud)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Bool_tTEveElement::SingleRnrState() const
virtual Int_tTNamed::Sizeof() const
virtual voidTAtt3D::Sizeof3D() const
voidTEveElement::SpawnEditor()MENU
voidTEveElement::StampColorSelection()
voidTEveElement::StampObjProps()
voidTEveElement::StampTransBBox()
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 TEveElement::EChangeBits { kCBColorSelection
kCBTransBBox
kCBObjProps
};
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)
Bool_tTEveElement::fCanEditMainTransAllow editing of main transformation.
UChar_tTEveElement::fChangeBits
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_tTEveElement::fDestructing
Bool_tTEveElementList::fDoColorShould serve fColor as the main color of the object.
Color_tfFillColorfill color of polygons
Bool_tTEveElement::fHighlighted!
Short_tTEveElement::fImpliedHighlighted!
Short_tTEveElement::fImpliedSelected!
set<TEveElement::TEveListTreeInfo,less<TEveElement::TEveListTreeInfo>,allocator<TEveElement::TEveListTreeInfo> >TEveElement::fItems! Set of list-tree-items.
Color_tfLineColoroutline color of polygons
Float_tfLineWidthoutline width of polygons
Color_t*TEveElement::fMainColorPtrPointer to main-color variable.
TEveTrans*TEveElement::fMainTransPointer to main transformation matrix.
TEveProjectionManager*TEveProjected::fManagermanager
Int_tfNPntsnumber of reduced and projected points
TStringTNamed::fNameobject identifier
list<TEveElement*,allocator<TEveElement*> >TEveElement::fParentsList of parents.
Bool_tTEveElement::fPickable
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
Bool_tTEveElement::fRnrChildrenRender children of this element.
Bool_tTEveElement::fRnrSelfRender this element.
Bool_tTEveElement::fSelected!
Float_tfSurfsum of surface of polygons
TStringTNamed::fTitleobject title
UChar_tfTransparencytransparency of polygons
void*TEveElement::fUserData! Externally assigned and controlled user data.
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* mng, TEveProjectable* model)
 This is virtual method from base-class TEveProjected.
void SetDepth(Float_t d)
 Set depth (z-coordinate) of the projected points.
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 change: root/eve:$Id: TEvePolygonSetProjected.h 22539 2008-03-08 14:36:37Z rdm $
Last generated: 2008-05-13 17:09
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.